/*
Theme Name: Quincy Valley Shuttle & Tours
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: WordPress theme generated from the Lovable frontend for Quincy Valley Shuttle & Tours.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: quincy-valley-shuttle-tours
*/

:root {
  --radius: 0.5rem;
}

html {
  scroll-behavior: smooth;
}

body.customize-partial-edit-shortcuts-shown .qvst-site {
  overflow-x: hidden;
}

.qvst-site {
  min-height: 100vh;
}

.qvst-hidden-item,
[hidden].qvst-hidden-item {
  display: none !important;
}

.qvst-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.qvst-mobile-nav[hidden],
.qvst-lightbox[hidden],
.qvst-booking-modal[hidden],
.qvst-toast[hidden] {
  display: none !important;
}

/* Tablet: más margen lateral en header (hamburguesa menos pegado al borde) */
@media (min-width: 768px) and (max-width: 1023px) {
  [data-qvst-header] > div {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  [data-qvst-header] .qvst-mobile-nav > div {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Desktop: menú horizontal visible, hamburguesa oculto */
@media (min-width: 1024px) {
  [data-qvst-header] > div > nav:first-of-type {
    display: flex !important;
  }
  [data-qvst-header] button[data-mobile-toggle] {
    display: none !important;
  }
  [data-qvst-header] .qvst-mobile-nav {
    display: none !important;
  }
}

.qvst-mobile-nav.is-open,
.qvst-lightbox.is-open,
.qvst-booking-modal.is-open {
  display: block;
}

.qvst-marquee-track {
  animation: qvst-marquee-scroll 20s linear infinite;
}

@keyframes qvst-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.qvst-reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.qvst-reveal.qvst-from-up {
  transform: translate3d(0, 40px, 0);
}

.qvst-reveal.qvst-from-left {
  transform: translate3d(-40px, 0, 0);
}

.qvst-reveal.qvst-from-right {
  transform: translate3d(40px, 0, 0);
}

.qvst-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.qvst-hero-pop {
  opacity: 0;
  transform: scale(0.5);
  animation: qvst-hero-pop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.qvst-hero-up-1,
.qvst-hero-up-2,
.qvst-hero-up-3,
.qvst-hero-fade {
  opacity: 0;
}

.qvst-hero-up-1 {
  animation: qvst-hero-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.qvst-hero-up-2 {
  animation: qvst-hero-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.qvst-hero-up-3 {
  animation: qvst-hero-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.qvst-hero-fade {
  animation: qvst-hero-fade 1s ease 0.9s forwards;
}

@keyframes qvst-hero-pop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes qvst-hero-up {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes qvst-hero-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.qvst-booking-modal,
.qvst-lightbox {
  z-index: 9999;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1rem 2rem;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}

.qvst-modal-backdrop,
.qvst-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.qvst-modal-panel {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  max-height: calc(100vh - 5rem);
  margin: 0 auto;
}

.qvst-lightbox-image {
  display: block;
  margin: auto;
}

.qvst-lightbox-image {
  display: block;
}

.qvst-carousel {
  position: relative;
}

.qvst-carousel-viewport {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.qvst-carousel[data-carousel-no-drag] .qvst-carousel-viewport {
  cursor: default;
}
.qvst-carousel-viewport:active {
  cursor: grabbing;
}

.qvst-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.qvst-carousel.is-ready .qvst-carousel-track {
  transform: translate3d(var(--qvst-carousel-offset, 0%), 0, 0);
}

.qvst-carousel .carousel-item-hidden {
  display: none !important;
}

.qvst-accordion-content[hidden] {
  display: none;
}

.qvst-accordion-trigger svg,
.qvst-lightbox-prev svg,
.qvst-lightbox-next svg,
.qvst-lightbox-close svg,
.qvst-menu-toggle svg {
  pointer-events: none;
}

.qvst-accordion-item[data-open="true"] .qvst-accordion-trigger svg {
  transform: rotate(180deg);
}

.qvst-toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 99999;
  max-width: 24rem;
}

.qvst-toast-card {
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.12);
}

.qvst-media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qvst-no-scroll {
  overflow: hidden;
}

/* Service cards: ensure hover-lift works (override qvst-reveal transform) */
#services .hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
#services .hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px hsl(var(--foreground) / 0.08);
}

/* Service card icon: scale up on card hover */
#services .hover-lift [data-icon-setting] {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#services .hover-lift:hover [data-icon-setting] {
  transform: scale(1.1);
}

/* Pricing cards: hover animation like services */
#pricing .hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
#pricing .hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px hsl(var(--foreground) / 0.08);
}
#pricing .hover-lift.scale-\[1\.02\]:hover {
  transform: translateY(-6px) scale(1.02);
}
#pricing .pricing-card-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#pricing .hover-lift:hover .pricing-card-icon {
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .qvst-reveal,
  .qvst-hero-pop,
  .qvst-hero-up-1,
  .qvst-hero-up-2,
  .qvst-hero-up-3,
  .qvst-hero-fade {
    opacity: 1 !important;
    transform: none !important;
  }
}
