/* ========== RESPONSIVE STYLES ========== */

/* Large Desktops */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Tablets and Small Desktops */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Navigation */
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--metal-dark);
        padding: 80px 20px 40px;
        transition: right 0.4s ease;
        overflow-y: auto;
        z-index: 1001;
    }
    
    .nav-menu-wrapper.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
    }
    
    .mega-menu-parent .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mega-menu-toggle {
        background: none;
        border: none;
        color: var(--text-white);
        font-size: 16px;
        cursor: pointer;
        padding: 5px 10px;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1002;
        padding: 0;
    }
    
    .mobile-menu-toggle .bar {
        width: 100%;
        height: 3px;
        background: var(--text-white);
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
    
    /* Header Adjustments */
    .main-header {
        padding: 15px 0;
    }
    
    .nav-brand {
        flex: 1;
    }
    
    .top-bar {
        display: none;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    /* Grid Adjustments */
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dealer-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .dealer-card {
        width: 100%;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Grid Adjustments */
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    /* Sections */
    .section-padding {
        padding: 50px 0;
    }
    
    .section-padding-lg {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* Cards */
    .card {
        padding: 20px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    /* Brand Logos */
    .brand-logos {
        gap: 20px;
    }
    
    .brand-logo {
        height: 40px;
    }
    
    /* Industries Grid */
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Stats */
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        width: 100%;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .nav-menu-wrapper {
        width: 100%;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .top-bar,
    .hero-scroll-indicator,
    .cta-banner,
    .main-footer,
    .whatsapp-float,
    .back-to-top {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    .section-padding {
        padding: 20px 0;
    }
    
    .card {
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}