/* ===== RESPONSIVE DESIGN ===== */

/* Tablets and smaller laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .why-content {
        gap: var(--spacing-md);
    }

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

    .about-images {
        flex-direction: row;
    }

    /* Navigation adjustments for tablets */
    .nav-menu {
        gap: 0.25rem;
    }

    .nav-menu a {
        padding: 0.5rem 0.875rem;
        font-size: 0.95rem;
    }

    .nav-menu a i {
        font-size: 0.95rem;
    }

    .btn-nav-booking {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }

    .logo {
        font-size: 1.125rem;
    }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    /* Add padding to body for mobile bottom bar */
    body {
        padding-bottom: 80px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgb(1 12 78);
        width: 100%;
        max-width: 100%;
        padding: var(--spacing-md);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.5rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        padding: 1rem 1.25rem;
        border-radius: 12px;
        justify-content: flex-start;
        gap: 1rem;
        border: 1px solid transparent;
    }

    .nav-menu a i {
        font-size: 1.25rem;
        width: 24px;
        text-align: center;
    }

    .nav-menu a:hover {
        border-color: var(--primary-light);
    }

    .nav-menu a::before {
        display: none;
    }

    /* Mobile Book Now Button */
    .nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 2px solid var(--light-bg);
    }

    .btn-nav-booking {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
    }

    .btn-nav-booking i {
        font-size: 1.25rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        height: 80vh;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Slider Navigation for Tablets */
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-nav {
        padding: 0 var(--spacing-sm);
    }

    .slider-dots {
        bottom: 60px;
    }

    .slider-dots .dot.active {
        width: 30px;
    }

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

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

    .why-image {
        order: -1;
    }

    /* Why Choose Us Slider for tablets */
    .why-image-slider {
        height: 400px;
    }

    .why-slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .why-prev {
        left: 15px;
    }

    .why-next {
        right: 15px;
    }

    .why-thumbnails {
        bottom: 20px;
        padding: 10px 15px;
        gap: 12px;
    }

    .why-thumb {
        width: 40px;
        height: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
        margin-bottom: var(--spacing-md);
    }

    .price-table table {
        font-size: 0.9rem;
    }

    .price-table th,
    .price-table td {
        padding: 0.75rem 0.5rem;
    }

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

    /* Show mobile bottom bar on tablets */
    .mobile-bottom-bar {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        animation: slideUp 0.5s ease-out;
    }

    /* Adjust scroll to top button position */
    .scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-images {
        flex-direction: column;
    }
}

/* Mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .logo img {
        height: 40px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Slider Navigation for Mobile */
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .slider-nav {
        padding: 0 0.5rem;
    }

    .slider-dots {
        bottom: 50px;
        gap: 8px;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }

    .slider-dots .dot.active {
        width: 25px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .feature-card {
        padding: var(--spacing-sm);
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.25rem;
    }

    .price-table {
        padding: var(--spacing-sm);
    }

    .price-table h3 {
        font-size: 1.25rem;
    }

    .price-table table {
        font-size: 0.85rem;
    }

    .price-table th,
    .price-table td {
        padding: 0.5rem 0.25rem;
    }

    .booking-form-wrapper,
    .contact-form-wrapper {
        padding: var(--spacing-sm);
    }

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

    .review-avatar {
        width: 50px;
        height: 50px;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text h4 {
        font-size: 1.25rem;
    }

    /* Why Choose Us Slider for mobile */
    .why-image-slider {
        height: 300px;
        border-radius: 15px;
    }

    .why-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .why-prev {
        left: 10px;
    }

    .why-next {
        right: 10px;
    }

    .why-thumbnails {
        bottom: 15px;
        padding: 8px 12px;
        gap: 8px;
    }

    .why-thumb {
        width: 35px;
        height: 35px;
        border-radius: 8px;
        border-width: 2px;
    }

    .contact-card {
        padding: var(--spacing-sm);
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .qr-code {
        max-width: 150px;
    }

    .footer-section h4 {
        font-size: 1.125rem;
    }

    .footer-section {
        font-size: 0.9rem;
    }
}

/* Very small devices (max-width: 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }

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

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .price-table table {
        font-size: 0.75rem;
    }

    /* Mobile bottom bar on small devices */
    .mobile-bottom-bar {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        animation: slideUp 0.5s ease-out;
    }

    .mobile-bottom-item {
        font-size: 0.7rem;
        padding: 0.4rem;
        min-width: 50px;
    }

    .mobile-bottom-item i {
        font-size: 1.4rem;
    }

    /* Adjust scroll to top button for mobile */
    .scroll-to-top {
        bottom: 85px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }

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

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

    .scroll-indicator {
        display: none;
    }
}

/* Print styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .scroll-to-top,
    .scroll-indicator {
        display: none;
    }

    .hero {
        height: auto;
        padding: var(--spacing-md) 0;
    }

    * {
        box-shadow: none !important;
    }
}

/* High resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* If you want to add dark mode support in the future */
}
