/* Tablet Styles */
@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .season-window {
        width: 100%;
        max-width: 350px;
        margin: 1rem;
    }

    .window-frame {
        height: 400px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1200px) {
    .image-row {
        flex-wrap: wrap;
    }
    
    .image-card {
        width: calc(50% - 1rem);
    }

    .navbar {
        width: 95%;
        margin: 0.75rem 2.5%;
    }
}

@media screen and (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .image-card {
        width: 100%;
        max-width: 400px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }

    .navbar {
        width: 96%;
        margin: 0.5rem 2%;
        border-radius: 25px;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 640px) {
    .navbar {
        width: 98%;
        margin: 0.25rem 1%;
        border-radius: 20px;
    }

    .logo {
        height: 35px;
    }

    .nav-links {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .seasons-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .season-window {
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .window-frame {
        height: 350px;
    }

    .season-content h3 {
        font-size: 1.5rem;
    }

    .price-tag {
        font-size: 0.8rem;
        padding: 8px;
    }
}

/* Mobile and Tablet Responsive Styles */
@media screen and (max-width: 768px) {
    .hero-content {
        padding-top: 80px;
    }

    .hero-text {
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.2rem;
    }

    .hero-bg-video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* Smaller Mobile Devices */
@media screen and (max-width: 480px) {
    .hero-content {
        padding-top: 60px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text h2 {
        font-size: 1rem;
    }

    .image-card {
        width: 160px;
        height: 100px;
    }

    .image-row {
        gap: 0.8rem;
    }
}

/* Landscape Mode */
@media screen and (max-height: 480px) and (orientation: landscape) {
    .hero-content {
        padding-top: 70px;
    }

    .hero-text {
        margin-bottom: 1rem;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text h2 {
        font-size: 1rem;
    }

    .image-card {
        width: 180px;
        height: 100px;
    }

    .hero-images {
        margin: 1rem 0;
    }
}

/* Highlights Section Styles */
.highlights {
    padding: 4rem 0;
    background: #f8f9fa;
    overflow: hidden;
}

.highlights .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
}

.reels-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reels-scroll {
    display: flex;
    gap: 20px;
    padding: 20px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.reel-card {
    flex: 0 0 auto;
    width: 300px;
    height: 530px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.reel-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Update the scroll animation for infinite loop */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly one set of reels */
        transform: translateX(calc(-300px * 5 - 100px));
    }
}

/* Update mobile animation */
@media (max-width: 768px) {
    .reel-card {
        width: 250px;
        height: 440px;
    }
    
    .highlights .section-title {
        font-size: 2rem;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 5 - 100px));
        }
    }
}

/* Add smooth scrolling effect */
.reels-scroll {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Add gradient fade effect on sides */
.reels-container::before,
.reels-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.reels-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.reels-container::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

/* Add hover effect to pause animation */
.reel-card:hover ~ .reel-card {
    animation-play-state: paused;
}

.reel-card:hover {
    animation-play-state: paused;
    transform: scale(1.05);
    transition: transform 0.3s ease;
    z-index: 10;
}

.reels-scroll:hover {
    animation-play-state: paused;
}

/* Multilingual Text Animation */
.multilingual-text {
    height: 1.5em;
    overflow: hidden;
    position: relative;
}

.text-rotate {
    display: block;
    animation: rotate-text 12s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.text {
    display: block;
    height: 1.5em;
    font-family: 'Poppins', sans-serif;
}

.text.hindi {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.text.gujarati {
    font-family: 'Noto Sans Gujarati', sans-serif;
}

@keyframes rotate-text {
    0%, 25% {
        transform: translateY(0);
    }
    33%, 58% {
        transform: translateY(-1.5em);
    }
    66%, 91% {
        transform: translateY(-3em);
    }
    100% {
        transform: translateY(0);
    }
}

/* Add these font imports to your head section */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Gujarati:wght@400;500&display=swap');

/* Responsive adjustments for the animated text */
@media (max-width: 768px) {
    .multilingual-text {
        height: 2.5em;
        line-height: 1.3;
    }
    
    .text {
        height: 2.5em;
    }
    
    @keyframes rotate-text {
        0%, 25% {
            transform: translateY(0);
        }
        33%, 58% {
            transform: translateY(-2.5em);
        }
        66%, 91% {
            transform: translateY(-5em);
        }
        100% {
            transform: translateY(0);
        }
    }
}

/* Packages Section Animation */
.packages {
    overflow-x: hidden; /* Prevent horizontal scrollbar during animation */
}

.season-window {
    opacity: 0; /* Start invisible */
}

/* Initialize AOS */
<script>
    document.addEventListener('DOMContentLoaded', function() {
        AOS.init({
            once: true, // Whether animation should happen only once
            mirror: false, // No animation while scrolling up
            duration: 1000
        });
    });
</script>

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Runway styles - horizontal stripes */
.runway {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: linear-gradient(0deg, #2C2C2C 0%, #404040 100%);
}

.runway::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        to right,
        #fff 0px,
        #fff 30px,
        transparent 30px,
        transparent 60px
    );
    animation: runwayMove 1s linear infinite;
}

/* Updated plane animation with runway movement */
.loading-icon {
    width: 400px;
    height: auto;
    position: absolute;
    right: -400px;
    bottom: 20vh;
    transform-origin: center;
    z-index: 2;
    animation: takeoff 5s cubic-bezier(0.4, 0, 0.2, 1) forwards; /* Increased duration */
}

/* Cloud elements with varied sizes and speeds */
.cloud {
    position: absolute;
    background: white;
    border-radius: 20px;
    opacity: 0;
    animation: floatCloud 4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cloud:nth-child(1) { width: 80px; height: 25px; right: 20%; top: 30%; animation-delay: 1s; }
.cloud:nth-child(2) { width: 60px; height: 20px; right: 40%; top: 40%; animation-delay: 1.5s; }
.cloud:nth-child(3) { width: 70px; height: 22px; right: 60%; top: 25%; animation-delay: 2s; }

@keyframes takeoff {
    0% {
        transform: translateX(0) rotate(0deg) scale(1);
        bottom: 20vh;
    }
    /* Initial runway movement */
    15% {
        transform: translateX(-15vw) rotate(0deg) scale(1);
        bottom: 20vh;
    }
    25% {
        transform: translateX(-25vw) rotate(0deg) scale(1);
        bottom: 20vh;
    }
    /* Begin takeoff */
    35% {
        transform: translateX(-35vw) rotate(5deg) scale(0.95);
        bottom: 25vh;
    }
    45% {
        transform: translateX(-45vw) rotate(10deg) scale(0.85);
        bottom: 30vh;
    }
    55% {
        transform: translateX(-55vw) rotate(15deg) scale(0.75);
        bottom: 35vh;
    }
    65% {
        transform: translateX(-65vw) rotate(20deg) scale(0.65);
        bottom: 42vh;
    }
    75% {
        transform: translateX(-75vw) rotate(25deg) scale(0.55);
        bottom: 50vh;
    }
    85% {
        transform: translateX(-85vw) rotate(20deg) scale(0.45);
        bottom: 65vh;
    }
    92% {
        transform: translateX(-100vw) rotate(15deg) scale(0.4);
        bottom: 70vh;
    }
    96% {
        transform: translateX(-110vw) rotate(5deg) scale(0.35);
        bottom: 75vh;
    }
    100% {
        transform: translateX(-120vw) rotate(0deg) scale(0.3);
        bottom: 80vh;
    }
}

@keyframes floatCloud {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    15% {
        opacity: 0.4;
    }
    30% {
        opacity: 0.8;
    }
    70% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateX(-100vw);
    }
}

@keyframes runwayMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-60px);
    }
}

.loading-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #333;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    z-index: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .loading-icon {
        width: 300px;
        right: -300px;
    }
    
    .loading-text {
        font-size: 1.2rem;
        margin-top: 150px;
    }
} 