/* Responsive Styles */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hotels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

    .hero-buttons .btn {
        width: 280px;
        text-align: center;
    }

    .filter-bar {
        flex-direction: column;
        align-items: center;
    }

    .filter-select {
        width: 280px;
    }

    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hotel-card {
        min-height: 400px;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large (576px to 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        height: 80vh;
        margin-top: 70px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

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

    .hero-buttons .btn {
        width: 250px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .quick-filters {
        padding: 2rem 0;
    }

    .filter-select {
        width: 250px;
    }

    .featured-section,
    .five-star-section,
    .deals-section,
    .location-section {
        padding: 3rem 0;
    }

    .hotels-grid,
    .luxury-hotels-grid,
    .deals-grid,
    .nearby-hotels {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hotel-card img {
        height: 200px;
    }

    .hotel-card-content {
        padding: 1rem;
    }

    .amenities-filter {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .amenity-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .deal-card img {
        height: 180px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

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

    .social-links {
        justify-content: center;
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-logo span {
        font-size: 1.2rem;
    }

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

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

    .hero-buttons .btn {
        width: 200px;
        padding: 10px 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .filter-select {
        width: 200px;
        padding: 10px 12px;
    }

    .hotels-grid {
        gap: 1rem;
    }

    .hotel-card-content {
        padding: 1rem;
    }

    .hotel-card h3 {
        font-size: 1.2rem;
    }

    .amenities {
        gap: 0.3rem;
    }

    .amenity-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .price {
        font-size: 1.2rem;
    }

    .deal-content {
        padding: 1rem;
    }

    .deal-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

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

    .cookie-notice {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .cookie-notice button {
        align-self: center;
    }
}

/* Mobile Extra Small (up to 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }

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

    .hero-buttons .btn {
        width: 180px;
        font-size: 0.8rem;
    }

    .filter-select {
        width: 180px;
        font-size: 0.9rem;
    }

    .hotel-card h3 {
        font-size: 1.1rem;
    }

    .hotel-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

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

    .social-links a {
        width: 35px;
        height: 35px;
    }
}

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

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

    .hero-content p {
        margin-bottom: 1rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: auto;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-notice,
    .hero-buttons,
    .btn,
    .filter-bar,
    .amenities-filter,
    .newsletter-section {
        display: none !important;
    }

    .hero {
        margin-top: 0;
        height: auto;
        color: black;
    }

    .hero-background {
        display: none;
    }

    .hero-content {
        color: black;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3 {
        color: black;
    }

    .hotel-card,
    .deal-card {
        break-inside: avoid;
        margin-bottom: 20pt;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hotel-card img,
    .deal-card img,
    .hero-background img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --cream-white: #1a1a1a;
        --text-dark: #e0e0e0;
        --text-light: #b0b0b0;
        --border-light: #333333;
    }

    body {
        background-color: var(--cream-white);
        color: var(--text-dark);
    }

    .header {
        background: #2d2d2d;
    }

    .hotel-card,
    .deal-card {
        background: #2d2d2d;
    }

    .quick-filters {
        background: #2d2d2d;
    }

    .filter-select {
        background: #333333;
        color: white;
        border-color: #555555;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .hotel-card,
    .deal-card,
    .btn,
    .nav-link,
    .nav-menu {
        transition: none;
    }

    .loading {
        animation: none;
    }
}

/* Focus Indicators for Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .hotel-card:focus,
    .deal-card:focus,
    .btn:focus {
        outline: 3px solid var(--primary-gold);
        outline-offset: 2px;
    }

    .hotel-card:hover,
    .deal-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* Large Touch Targets for Mobile */
@media (max-width: 767px) {
    .btn,
    .nav-link,
    .filter-select,
    .amenity-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .social-links a {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Container Queries (Future Enhancement) */
@supports (container-type: inline-size) {
    .hotels-grid {
        container-type: inline-size;
    }

    @container (max-width: 600px) {
        .hotel-card {
            font-size: 0.9rem;
        }
    }
}