@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Gradients & Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
}

.hero-gradient {
    background: linear-gradient(135deg, #1a1f35 0%, #2a1a1a 100%);
}

.text-gradient {
    color: #61ce70;
}

/* Interactive Elements & Animations */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.input-field {
    transition: all 0.2s ease;
}

.input-field:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 38, 28, 0.15);
    border-color: #e8261c;
    outline: none;
}

/* Custom scrollbar for a polished look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* FAQ Accordion Transitions */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.faq-toggle:checked ~ .faq-content {
    max-height: 500px; /* arbitrary large max-height */
    opacity: 1;
    margin-top: 1rem;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-toggle:checked ~ label .faq-icon {
    transform: rotate(180deg);
}

/* Pulsing effect for CTA buttons */
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-pulse-soft {
    animation: pulse-soft 2s infinite;
}

/* Swiper Mobile Only Styles */
@media (min-width: 768px) {
    .mobile-swiper .swiper-wrapper {
        display: grid !important;
        transform: none !important;
        width: 100% !important;
    }
    .mobile-swiper .swiper-slide {
        width: auto !important;
        margin-right: 0 !important;
    }
}

/* Inner Page Banner */
.page-banner {
    background: linear-gradient(135deg, #1a1f35 0%, #2a1a1a 100%);
}

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin: 0 0.5rem;
    color: rgba(255,255,255,0.4);
}

/* Package / Blog Card */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Itinerary Accordion */
.itinerary-toggle:checked ~ .itinerary-content {
    max-height: 600px;
    opacity: 1;
}
.itinerary-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
}
.itinerary-icon {
    transition: transform 0.3s ease;
}
.itinerary-toggle:checked ~ label .itinerary-icon {
    transform: rotate(180deg);
}

/* ══════════════════════════════════════════
   Hero Banner — Desktop: full viewport height
   ══════════════════════════════════════════ */
@media (min-width: 768px) {
    .hero-section {
        display: flex;
        align-items: center;
    }
    .hero-swiper-bg {
        position: absolute !important;
        inset: 0 !important;
    }
}

/* ══════════════════════════════════════════
   Hero Banner — Mobile: full image visible,
   height driven by the image aspect ratio
   ══════════════════════════════════════════ */
@media (max-width: 767px) {
    .hero-section {
        display: flex;
        align-items: center;
    }

    /* Swiper fills the full section */
    .hero-swiper-bg {
        position: absolute !important;
        inset: 0 !important;
    }
    .hero-swiper-bg .swiper-wrapper,
    .hero-swiper-bg .swiper-slide {
        height: 100% !important;
    }
    .hero-bg-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Content pinned to bottom on mobile */
    .hero-content {
        padding-bottom: 30px;
    }
    #hero h1 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }

    /* Hide desktop side dots on mobile */
    .hero-side-dots {
        display: none !important;
    }
}

/* GSAP safety fallback — cards always visible if animation fails */
.fleet-card,
#services .swiper-slide,
#why-us ul li,
#faq .space-y-4 > div {
    will-change: transform, opacity;
}

/* Fleet Card Image Slider — arrows visible on hover */
.fleet-img-slider:hover .fleet-prev,
.fleet-img-slider:hover .fleet-next {
    opacity: 1 !important;
}

/* ── Ken Burns — Hero Slider ── */
@keyframes kenburns {
    0%   { transform: scale(1.0)  translate(0%,   0%);  }
    100% { transform: scale(1.15) translate(-2%,  -1%); }
}
@keyframes kenburns-r {
    0%   { transform: scale(1.15) translate(2%,   1%);  }
    100% { transform: scale(1.0)  translate(0%,   0%);  }
}

/* All hero images start slightly zoomed — no white-edge flash */
.hero-bg-img {
    will-change: transform;
    transform-origin: center center;
    transform: scale(1.15);
}

/* Active slide — odd: zoom in, even: zoom out */
.hero-swiper-bg .swiper-slide-active .hero-bg-img,
.hero-swiper-bg .swiper-slide-duplicate-active .hero-bg-img {
    animation: kenburns 6.5s ease-out both;
}
.hero-swiper-bg .swiper-slide:nth-child(even).swiper-slide-active .hero-bg-img,
.hero-swiper-bg .swiper-slide:nth-child(even).swiper-slide-duplicate-active .hero-bg-img {
    animation: kenburns-r 6.5s ease-out both;
}

/* Floating WhatsApp Button */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 3.5rem;
    height: 3.5rem;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}
