
/* Mobile First Approach - Base styles for mobile devices */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-text {
        font-size: 2.5rem;
    }
    
    .section-title, .section-title-white {
        font-size: 1.8rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-text {
        font-size: 3rem;
    }
    
    .section-title, .section-title-white {
        font-size: 2rem;
    }
    
    .season-card {
        padding: 2rem;
    }
    
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-text {
        font-size: 3.5rem;
    }
    
    .section-title, .section-title-white {
        font-size: 2.5rem;
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-text {
        font-size: 4rem;
    }
    
    .section-title, .section-title-white {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section {
        height: 85vh;
    }
    
    .hero-slide {
        height: 85vh;
    }
    
    .hero-content {
        padding: 4rem 5rem 5rem 5rem;
    }

    .hero-text {
        font-size: 3.5rem;
    }
    
    .section-title, .section-title-white {
        font-size: 2.5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 2px;
        margin-bottom: 0.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-caption {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
        max-width: 600px;
    }
    
    .hero-btn {
        padding: 16px 36px;
        font-size: 1.2rem;
    }
    
    .slider-controls {
        bottom: 3rem;
    }
    
    .slider-indicators {
        gap: 1.5rem;
    }
    
    .slider-indicator {
        width: 16px;
        height: 16px;
    }
    
    .navbar-nav .nav-link{
        font-size: 12px;
    }

    .navbar.fixed-top .nav-link {
        padding: 0.2rem;
        font-size: 13px;
    }
    .navbar-nav .nav-link::after{
        right: -0.7rem;
    }
    .itinerary-card img{
        height: 200px;
    }

    #about{
        margin-top: -10px;
    }
}

/* Medium devices (768px to 1024px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-text {
        margin: 0 auto;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 2px;
        margin-bottom: 0.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-section {
        height: 80vh;
    }
    
    .hero-slide {
        height: 80vh;
    }
    
    .hero-content {
        padding: 3rem 4rem 4rem 4rem;
    }
    
    .hero-caption {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        max-width: 500px;
    }
    
    .hero-btn {
        padding: 14px 32px;
        font-size: 1.1rem;
    }
    
    .slider-controls {
        bottom: 2.5rem;
    }
    
    .slider-indicators {
        gap: 1.2rem;
    }
    
    .slider-indicator {
        width: 14px;
        height: 14px;
    }
    
    /* Getting Around Section - Tablet Styles */
    #getting-around .card-teal {
        min-height: auto;
        margin-bottom: 1.8rem;
        padding: 2.5rem;
    }
    
    #getting-around .card-teal h5 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    #getting-around .card-teal p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    #getting-around .card-teal-img {
        margin-bottom: 1.2rem;
        top: -25%;
    }
    
    #getting-around .card-teal-img img {
        width: 60px;

    }
    
    .navbar-nav .nav-link::after {
        content: none;
    }

    .navbar-nav {
     
        background: var(--dark-blue);
    }
}

/* Mobile-specific styles (max-width: 767.98px) */
@media (max-width: 767.98px) {

    .navbar-nav {
        padding: 0.6rem;
        border-radius: 6px;
        background: var(--dark-blue);
    }
    .hero-text {
        text-align: left;
    }
    
    .hero-text h1 {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .section-title, .section-title-white {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section {
        height: auto;
    }
    
    .hero-slide {
        height: 70vh;
    }
    
    .hero-content {
        padding: 0 2rem 2rem 2rem;
    }
    
    .hero-caption {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 500px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .slider-controls {
        bottom: 1.5rem;
    }
    
    .slider-indicators {
        gap: 0.8rem;
    }
    
    .slider-indicator {
        width: 10px;
        height: 10px;
    }
    
    .card-teal {
        padding: 1.5rem;
    }
    
    .season-card {
        padding: 1rem;
    }
    
    .season-card img {
        height: 150px;
    }

    
    .gallery-thumb {
        height: 100px;
    }
    
    .itinerary-card img {
        height: 150px;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
    
    .navbar-nav {
        padding: 0.8rem;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.4rem 0.8rem;
        margin: 0 0.3rem;
        position: relative;
    }
    
    .navbar-nav .nav-link::after {
        content: none;
    }
    .navbar-nav .nav-link:hover {
        transform: scale(1.03) rotate(0.5deg);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    }
    
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .btn-custom:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 6px 20px rgba(0, 138, 74, 0.3);
    }
    
    .btn-custom:hover::after {
        width: 200px;
        height: 200px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-text {
        text-align: left;
        margin: 0 !important;
        padding: 0 !important;
       }

    .hero-text h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
        margin-left: 0 !important;
        margin-bottom: 40px !important;
    }
    
    .section-title, .section-title-white {
        font-size: 1.5rem;
    }
    
    #about {
        margin-top: -30px;
        padding-top: 60px;
    }
    
    .season-content {
        padding: 1.5rem;
        text-align: center;
    }
    
    .season-content h5 {
        font-size: 1.5rem;
    }
    
    .season-content p {
        font-size: 1rem;
    }
    
    .season-image img {
        height: 250px;
    }
    
    .season-card_mask {
        animation: continuousWave 2.5s ease-in-out infinite;
    }
    
    .season-card_mask::before {
        animation: shimmerSweep 3s ease-in-out infinite, waveDistortion 4s ease-in-out infinite;
    }
    
    .season-card_mask::after {
        animation: rippleEffect 2s ease-out infinite, waveFlow 3.5s ease-in-out infinite;
    }
    
    .row:nth-child(2) .season-card_mask {
        animation: continuousWave 2.5s ease-in-out infinite, summerRotation 3s ease-in-out infinite;
    }
    
    @keyframes summerRotation {
        0% {
            transform: rotate(180deg) scale(1) translateY(0px);
            filter: brightness(1) contrast(1) hue-rotate(0deg);
        }
        50% {
            transform: rotate(180deg) scale(1.01) translateY(-1px);
            filter: brightness(1.03) contrast(1.03) hue-rotate(1deg);
        }
        100% {
            transform: rotate(180deg) scale(1) translateY(0px);
            filter: brightness(1) contrast(1) hue-rotate(0deg);
        }
    }
    
    .season-card_mask:hover {
        animation-play-state: paused;
        transform: scale(1.03) rotate(0.5deg);
        filter: brightness(1.1) contrast(1.1);
    }
    
    @keyframes continuousWave {
        0% {
            transform: scale(1) rotate(0deg) translateY(0px);
            filter: brightness(1) contrast(1) hue-rotate(0deg);
        }
        50% {
            transform: scale(1.01) rotate(0.3deg) translateY(-1px);
            filter: brightness(1.03) contrast(1.03) hue-rotate(1deg);
        }
        100% {
            transform: scale(1) rotate(0deg) translateY(0px);
            filter: brightness(1) contrast(1) hue-rotate(0deg);
        }
    }
    
    @keyframes waveDistortion {
        0%, 100% {
            transform: skewX(0deg) skewY(0deg);
            filter: blur(0px);
        }
        50% {
            transform: skewX(0.5deg) skewY(0.3deg);
            filter: blur(0.3px);
        }
    }
    
    @keyframes waveFlow {
        0% {
            transform: translateX(0px) translateY(0px) rotate(0deg);
            opacity: 0.6;
        }
        50% {
            transform: translateX(1px) translateY(-0.5px) rotate(0.3deg);
            opacity: 0.4;
        }
        100% {
            transform: translateX(0px) translateY(0px) rotate(0deg);
            opacity: 0.6;
        }
    }
    
    .hero-section {
        height: auto;
    }
    
    .hero-slide {
        height: 50vh;
    }
    
    .hero-content {
        padding: 0 2rem 1rem 2rem;
    }
    
    .hero-caption {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        max-width: 400px;
    }
    
    .hero-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .slider-controls {
        bottom: 1rem;
    }
    
    .slider-indicators {
        gap: 0.6rem;
    }
    
    .slider-indicator {
        width: 8px;
        height: 8px;
    }
    
    .card-teal {
        padding: 1rem;
    }
    
    .season-card {
        padding: 0.5rem;
    }
    
    #hotels .tab-pane{
        width: 100%;
    }
    .gallery-thumb {
        height: 80px;
    }
    
    .itinerary-card img {
        height: 200px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 35px;
        max-width: 120px;
    }
    
    .navbar-nav {
        padding: 0.6rem;
        border-radius: 6px;
        background: var(--dark-blue);
    }
    
    .navbar-nav .nav-link {
        padding: 0.3rem 0.6rem;
        margin: 0 0.2rem;
        position: relative;
    }
    
    .navbar-nav .nav-link::after {
        content: none;
    }
    
    .navbar-nav .nav-link:hover {
        transform: scale(1.02) rotate(0.3deg);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    }
    
    .btn-custom {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .btn-custom:hover {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 4px 15px rgba(0, 138, 74, 0.25);
    }
    
    .btn-custom:hover::after {
        width: 150px;
        height: 150px;
    }
    
    .season-content {
        padding: 1rem;
        text-align: center;
    }
    
    .season-content h5 {
        font-size: 1.3rem;
    }
    
    .season-content p {
        font-size: 0.9rem;
    }
    
    .season-image img {
        height: 200px;
    }
    
    .season-card_mask {
        animation: continuousWave 2s ease-in-out infinite;
    }
    
    .season-card_mask::before {
        animation: shimmerSweep 2.5s ease-in-out infinite, waveDistortion 3s ease-in-out infinite;
    }
    
    .season-card_mask::after {
        animation: rippleEffect 1.5s ease-out infinite, waveFlow 2.5s ease-in-out infinite;
    }
    
    .row:nth-child(2) .season-card_mask {
        animation: continuousWave 2s ease-in-out infinite, summerRotation 2.5s ease-in-out infinite;
    }
    
    @keyframes summerRotation {
        0% {
            transform: rotate(180deg) scale(1) translateY(0px);
            filter: brightness(1) contrast(1) hue-rotate(0deg);
        }
        50% {
            transform: rotate(180deg) scale(1.005) translateY(-0.5px);
            filter: brightness(1.02) contrast(1.02) hue-rotate(0.5deg);
        }
        100% {
            transform: rotate(180deg) scale(1) translateY(0px);
            filter: brightness(1) contrast(1) hue-rotate(0deg);
        }
    }
    
    .season-card_mask:hover {
        animation-play-state: paused;
        transform: scale(1.02) rotate(0.3deg);
        filter: brightness(1.05) contrast(1.05);
    }
    
    @keyframes continuousWave {
        0% {
            transform: scale(1) rotate(0deg) translateY(0px);
            filter: brightness(1) contrast(1) hue-rotate(0deg);
        }
        50% {
            transform: scale(1.005) rotate(0.2deg) translateY(-0.5px);
            filter: brightness(1.02) contrast(1.02) hue-rotate(0.5deg);
        }
        100% {
            transform: scale(1) rotate(0deg) translateY(0px);
            filter: brightness(1) contrast(1) hue-rotate(0deg);
        }
    }
    
    @keyframes waveDistortion {
        0%, 100% {
            transform: skewX(0deg) skewY(0deg);
            filter: blur(0px);
        }
        50% {
            transform: skewX(0.3deg) skewY(0.2deg);
            filter: blur(0.2px);
        }
    }
    
    @keyframes waveFlow {
        0% {
            transform: translateX(0px) translateY(0px) rotate(0deg);
            opacity: 0.5;
        }
        50% {
            transform: translateX(0.5px) translateY(-0.3px) rotate(0.2deg);
            opacity: 0.3;
        }
        100% {
            transform: translateX(0px) translateY(0px) rotate(0deg);
            opacity: 0.5;
        }
    }
}

@media (min-width: 320px) and (max-width: 525px){
    .hero-text h2{
        margin-bottom:0px !important;
    }

}

    /* Print styles */
    @media print {
        .navbar,
        .btn,
        .gallery-thumb,
        .itinerary-overlay {
            display: none !important;
        }

        .hero-section {
            height: auto;
            background: none !important;
            color: black !important;
        }

        .card-custom {
            box-shadow: none !important;
            border: 1px solid #ddd !important;
        }
    }

    /* High contrast mode support */
    @media (prefers-contrast: high) {
        .card-custom {
            border: 2px solid var(--dark-blue);
        }

        .btn-custom {
            border: 2px solid var(--dark-blue);
        }
    }

    /* Reduced motion support */
    @media (prefers-reduced-motion: reduce) {
        .card-custom,
        .btn-custom,
        .gallery-thumb,
        .itinerary-card {
            transition: none !important;
        }

            .card-custom:hover,
            .btn-custom:hover,
            .gallery-thumb:hover {
                transform: none !important;
            }
    }

    /* Dark mode support */
    @media (prefers-color-scheme: dark) {
        :root {
            --light-teal: #1a3a3a;
            --dark-blue: #e2e8f0;
        }

        .card-teal {
            background-color: var(--light-teal);
            color: white;
        }

        .section-title {
            color: var(--dark-blue);
        }

        #getting-around {
            background-position: top;
        }

            #getting-around::before {
                background: rgba(44, 95, 95, 0.7);
            }

            #getting-around img {
                width: 70px;
                height: 70px;
                padding: 12px;
                border-width: 2px;
            }

        .season-card_mask2::before {
            display: none;
        }

        #getting-around img {
            width: 60px;
            height: 60px;
            padding: 10px;
            border-width: 2px;
        }

        .season-card_mask2::after {
            display: none;
        }

        .season-card_mask1 {
            animation: maskFloat 2.5s ease-in-out infinite, maskGlow 3s ease-in-out infinite;
        }

        .season-card_mask2 {
            animation: maskPulse 2s ease-in-out infinite, maskShimmer 2.5s ease-in-out infinite;
        }

        @keyframes maskFloat {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            }

            50% {
                transform: translateY(-6px) rotate(0.5deg);
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
            }
        }

        @keyframes maskGlow {
            0%, 100% {
                filter: brightness(1.1) contrast(1.1) saturate(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
            }

            50% {
                filter: brightness(1.2) contrast(1.15) saturate(1.1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
            }
        }

        @keyframes maskPulse {
            0%, 100% {
                transform: scale(1);
                filter: saturate(1.2) hue-rotate(5deg) brightness(1.1);
            }

            50% {
                transform: scale(1.03);
                filter: saturate(1.3) hue-rotate(8deg) brightness(1.15);
            }
        }

        @keyframes maskShimmer {
            0% {
                filter: saturate(1.2) hue-rotate(5deg) brightness(1.1) contrast(1);
            }

            50% {
                filter: saturate(1.4) hue-rotate(10deg) brightness(1.2) contrast(1.1);
            }

            100% {
                filter: saturate(1.2) hue-rotate(5deg) brightness(1.1) contrast(1);
            }
        }
    }
