/* Responsive Styles for Royal Caribbean Landing Page */

/* Mobile First Approach - Base styles for mobile devices */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Fixed Query Button */
    .fixed-query-btn {
        left: -50px;
        opacity: 0.7;
    }
    
    .btn-query {
        padding: 15px 8px;
        font-size: 12px;
    }

    /* Header */
    .logo-container .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 14px;
    }

    .crown-icon {
        font-size: 20px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        margin: 5px 0;
    }

    .navbar-collapse{
        background: white;
        padding: 10px;
    }

    /* Hero Section */
    .hero-section {
        height: unset;
        /* min-height: 269px; */
    }

    .hero-controls {
        bottom: 15px;
        right: 15px;
    }

    .hero-control-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem !important;
    }

    /* About Section */
    .about-text {
        font-size: 0.89rem;
    }

    /* Sailing Cards */
    .sailing-image {
        height: 200px;
    }

    .sailing-title {
        font-size: 1.1rem;
    }

    .sailing-card{
        min-height: 200px;
    }

    .sailing-card::after{
        height: 100%;
    }
    /* Ship Cards */
    .ship-image {
        height: 200px;
    }

    .ship-name {
        font-size: 1rem;
    }

    /* Experience Cards */
    .experience-card {
        margin-bottom: 1.5rem;
    }

    .experience-icon {
        width: 60px;
        height: 60px;
    }

    .experience-icon i {
        font-size: 24px;
    }

    .experience-title {
        font-size: 1.2rem;
    }

    /* Award Cards */
    .award-card {
        padding: 2rem;
        min-height: 200px;
        margin-bottom: 1.5rem;
    }

    .award-icon {
        font-size: 40px;
    }

    .award-title {
        font-size: 1rem;
    }

    .award-years {
        font-size: 1.2rem;
    }

    /* Gallery */
    .gallery-item {
        height: 200px;
        margin-bottom: 1rem;
    }

    /* Footer */
    .footer-logo h5 {
        font-size: 1.2rem;
    }

    .footer-logo p,
    .copyright {
        font-size: 0.9rem;
    }

    .best-time-section .section-title{
        margin: 15px 0;
        font-size: 1.2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Fixed Query Button */
    .fixed-query-btn {
        left: -40px;
    }
 /* Header */
 .logo-container .logo-img {
    height: 45px;
}

.navbar-collapse{
    background: white;
    padding: 10px;
}


    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }

    /* Sailing Cards */
    .sailing-image {
        height: 220px;
    } .sailing-card{
        min-height: 200px;
    }

    .sailing-card::after{
        height: 100%;
    }

    /* Ship Cards */
    .ship-image {
        height: 220px;
    }
    /* Award Cards */
    .award-card {
        min-height: 220px;
    }

    /* Gallery */
    .gallery-item {
        height: 250px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Fixed Query Button */
    .fixed-query-btn {
        left: 0;
    }
 /* Header */
 .logo-container .logo-img {
    height: 55px;
}
.navbar-collapse{
    background: white;
    padding: 10px;
}


    /* Section Titles */
    .section-title {
        font-size: 2.2rem;
    }

    /* Fleet Tabs */
    .fleet-tabs .nav-link {
        font-size: 14px;
        padding: 10px 15px;
    }

    /* Sailing Cards */
    .sailing-image {
        height: 240px;
    }
    .sailing-card{
        min-height: 200px;
    }

    .sailing-card::after{
        height: 100%;
    }

    /* Ship Cards */
    .ship-image {
        height: 240px;
    }


    /* Award Cards */
    .award-card {
        min-height: 240px;
    }

    /* Gallery */
    .gallery-item {
        height: 280px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    .hero-section, .video-container{
        height: auto;
    }
    .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.3rem !important;
    }
    /* Header */
    .logo-container .logo-img {
        height: 65px;
    }
    /* Section Titles */
    .section-title {
        font-size: 2.3rem;
    }

    /* Fleet Tabs */
    .fleet-tabs .nav-link {
        padding: 12px 18px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
 /* Header */
 .logo-container .logo-img {
    height: 65px;
}
    /* Section Titles */
    .section-title {
        font-size: 1.7rem;
    }

    /* Container adjustments for larger screens */
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1199.99px) {

    .video-container {
        height: 100vh;
    }

    .video-container iframe {
        height: 100%;
    }

    .video-overlay-block {
        height: 100%;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {


    .navbar {
        padding: 0.5rem 0;
    }
}

/* Print styles */
@media print {
    .fixed-query-btn,
    .hero-controls,
    .navbar-toggler,
    .know-more-btn,
    .btn-query {
        display: none !important;
    }

    .hero-section {
        height: auto;
        min-height: 300px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image,
    .sailing-image img,
    .ship-image img,
    .gallery-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility - Reduced motion */
@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;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* This can be customized if dark mode is needed */
}

