/* 
 * Responsive Styles for Mohave County Website
 * This file contains media queries and responsive adjustments
 * Author: Mohave County Web Team
 * Last Updated: April 2025
 */

/* ===== MOBILE FIRST APPROACH ===== */
/* Base styles are in styles.css and are mobile-first */

/* ===== SMALL DEVICES (576px and up) ===== */
@media (min-width: 576px) {
    /* Hero Content */
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    /* Newsletter Form */
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-form input {
        margin-bottom: 0;
        margin-right: var(--spacing-sm);
    }
    
    .newsletter-form button {
        width: auto;
    }
    
    /* Explore Grid */
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== MEDIUM DEVICES (768px and up) ===== */
@media (min-width: 768px) {
    /* Header */
    .desktop-nav {
        display: block;
    }
    
    .mobile-menu-button {
        display: none;
    }
    
    /* Ad Content */
    .ad-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .ad-text p {
        margin-bottom: 0;
    }
    
    /* Newsletter Content */
    .newsletter-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .newsletter-text {
        margin-bottom: 0;
        margin-right: var(--spacing-lg);
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-bottom p {
        margin-bottom: 0;
    }
    
    /* Grids */
    .destinations-grid,
    .business-grid,
    .events-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-nav-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== LARGE DEVICES (992px and up) ===== */
@media (min-width: 992px) {
    /* Grids */
    .destinations-grid,
    .business-grid,
    .events-grid,
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .explore-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 2fr 1fr;
    }
    
    /* Hero Content */
    .hero-content h1 {
        font-size: 4rem;
    }
}

/* ===== EXTRA LARGE DEVICES (1200px and up) ===== */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    /* Hero Banner */
    .hero-banner {
        height: 700px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .site-footer,
    .newsletter-signup,
    .ad-banner,
    .hero-buttons,
    .section-footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    .hero-banner {
        height: auto;
        padding: 2cm 0;
    }
    
    .hero-overlay {
        background: none;
    }
    
    .hero-content {
        color: #000;
        max-width: none;
    }
    
    .hero-content h1 {
        color: #000;
    }
    
    img {
        max-width: 100% !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    
    .section-padding {
        padding: 1cm 0;
    }
}
