/*
* Allya Beach Hôtel
* Responsive Stylesheet
* Author: Bolt
*/

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .intro-content {
        flex-direction: row;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .room-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .room-price {
        margin-bottom: 0;
    }
    
    .main-image {
        height: 350px;
    }
    
    .policy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hours-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .voucher-options {
        flex-direction: row;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .container {
        width: 90%;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .slogan {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .chef-container {
        flex-direction: row;
    }
    
    .room-container {
        flex-direction: row;
    }
    
    .pool-info-container {
        flex-direction: row;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hours-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .business-container {
        flex-direction: row;
    }
    
    .voucher-container {
        flex-direction: row;
    }
    
    .contact-container {
        flex-direction: row;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-nav {
        display: block;
    }
    
    .mobile-nav-toggle {
        display: none;
    }
    
    .container {
        width: 85%;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .slogan {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .policy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        width: 80%;
    }
}

/*--------------------------------------------------------------
# Mobile First Adjustments
--------------------------------------------------------------*/

/* Header and Navigation */
@media (max-width: 991px) {
    .logo-image {
        height: 40px;
    }
    
    #site-header {
        background-color: var(--white);
        box-shadow: var(--shadow-sm);
        padding: 0.75rem 0;
    }
    
    #site-header .hamburger-icon span {
        background-color: var(--neutral-dark);
    }
    
    /* Adjust the page hero margin for mobile */
    .page-hero {
        margin-top: 70px;
    }
}

/* Hero Section */
@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .slogan {
        font-size: 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: var(--spacing-xs);
    }
}

/* Gallery and Lightbox */
@media (max-width: 768px) {
    .gallery-item.large {
        grid-column: span 1;
        height: 200px;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-nav {
        padding: 0 var(--spacing-xs);
    }
}

/* Forms and Contact */
@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius-md);
        margin-bottom: var(--spacing-xs);
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius-md);
        width: 100%;
    }
}

/* Menu Tabs and Gallery Tabs */
@media (max-width: 768px) {
    .menu-tabs,
    .gallery-tabs,
    .legal-tabs {
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-md);
    }
    
    .menu-tab,
    .gallery-tab,
    .legal-tab {
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Back to Top Button */
@media (max-width: 576px) {
    #back-to-top {
        bottom: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}