/* Mobile Responsive Styles for SaveOnWater.com */

/* FOOTER STYLES - applies to all pages */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #60a5fa;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

@media (max-width: 768px) {
    /* Header and Navigation */
    .header-container {
        position: relative;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav.active ul {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e40af;
        padding: 1rem;
        gap: 0.5rem;
        z-index: 1000;
    }
    
    nav.active ul li {
        width: 100%;
    }
    
    nav.active ul li a {
        display: block;
        padding: 0.75rem 1rem;
        background: rgba(255,255,255,0.1);
        border-radius: 5px;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    /* Grid layouts */
    .solution-grid,
    .product-grid,
    .resource-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stats */
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Footer mobile */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
