/*
==========================================================================
Responsive Styles for Astra LED Child Theme
Description: Mobile-first responsive design
==========================================================================
*/

/* Tablet and Mobile Navigation (1024px and below) */
@media (max-width: 1024px) {
    .main-navigation {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .horizontal-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .horizontal-menu > li {
        width: 100%;
    }
    
    .horizontal-menu > li > a {
        padding: 15px 20px;
    }
}

/* Inquiry Form Responsive */
@media (max-width: 1024px) {
    .inquiry-form-grid > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .inquiry-form-grid > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Company Intro Section */
    .company-intro-section > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    /* Spacing */
    .led-section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    /* Header */
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-branding {
        text-align: center;
    }
    
    .top-bar .led-container > div {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .top-bar-left,
    .top-bar-right {
        justify-content: center;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 500px;
        padding: 40px 0;
    }
    
    .hero-section .led-container-wide > div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .hero-inquiry-form {
        order: -1;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .led-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Grids */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info,
    .led-form {
        padding: 30px;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    /* Spacing */
    .led-section {
        padding: 40px 0;
    }
    
    .led-container,
    .led-container-wide {
        padding: 0 15px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 400px;
        padding: 30px 0;
    }
    
    /* Buttons */
    .led-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Grids */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Cards */
    .product-card-content,
    .case-card-content {
        padding: 20px;
    }
    
    .product-card-title,
    .case-card-title {
        font-size: 1.125rem;
    }
    
    /* Features */
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.125rem;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    /* Solutions */
    .solution-card {
        min-height: 300px;
    }
    
    .solution-title {
        font-size: 1.25rem;
    }
    
    /* Contact */
    .contact-info,
    .led-form {
        padding: 20px;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info-icon {
        margin: 0 auto;
    }
    
    /* Forms */
    .led-form-input,
    .led-form-select,
    .led-form-textarea {
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title h2 {
        font-size: 3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .contact-section,
    .led-form {
        display: none;
    }
    
    .product-card,
    .case-card {
        break-inside: avoid;
    }
}

