/**
 * Responsive CSS for EV Bike Shop Theme
 *
 * @package EV_Bike_Shop
 */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .about-container {
        gap: 3rem;
    }
    
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features,
    .about,
    .products,
    .charging {
        padding: 4rem 0;
    }
    
    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .feature-card,
    .product-card {
        padding: 1.5rem;
    }
    
    .feature-card i {
        font-size: 2.5rem;
    }
    
    .feature-card h3,
    .product-card h3 {
        font-size: 1.3rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Very small devices (less than 375px) */
@media (max-width: 374.98px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card h3,
    .product-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p,
    .product-card p {
        font-size: 0.9rem;
    }
}

/* Orientation specific styles */
@media (max-height: 575.98px) and (orientation: landscape) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    header,
    footer,
    .cta-button {
        display: none;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}