/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* ========== LARGE DESKTOP (1200px+) ========== */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ========== DESKTOP (992px - 1199px) ========== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 42px;
    }
    .section-title {
        font-size: 32px;
    }
}

/* ========== TABLET (768px - 991px) ========== */
@media (max-width: 991px) {
    /* Header */
    .header .navbar {
        background: var(--white);
        padding: 10px 0;
        border-radius: var(--radius-sm);
        margin-top: 10px;
        box-shadow: var(--shadow);
    }
    
    .logo-text {
        color: var(--primary) !important;
    }
    
    .navbar-nav .nav-link {
        color: var(--dark-gray) !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .header-actions {
        margin: 10px 0 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-action-btn {
        background: rgba(11, 37, 69, 0.05) !important;
        color: var(--primary) !important;
    }
    
    /* Hero */
    .hero-title {
        font-size: 34px;
    }
    .hero-description {
        font-size: 16px;
    }
    .hero-stats {
        gap: 20px;
    }
    
    /* Sections */
    .section-padding {
        padding: 60px 0;
    }
    .section-title {
        font-size: 28px;
    }
    
    /* Footer */
    .footer-widget {
        margin-bottom: 20px;
    }
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }
}

/* ========== MOBILE (576px - 767px) ========== */
@media (max-width: 767px) {
    /* Hero */
    .hero-title {
        font-size: 28px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-btn, .hero-btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero-stat {
        flex: 0 0 30%;
    }
    .hero-stat-number {
        font-size: 24px;
    }
    
    /* Company */
    .company-image-wrapper {
        margin-bottom: 30px;
    }
    .company-experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 15px;
        display: inline-block;
    }
    
    /* Emergency Banner */
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    .emergency-actions {
        width: 100%;
    }
    .emergency-btn, .emergency-btn-wa {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 0;
    }
    .footer-widget-title {
        font-size: 16px;
    }
    .footer-bottom {
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
        gap: 10px;
    }
    .footer-bottom-links li a {
        font-size: 12px;
    }
    
    /* Search Modal */
    .search-input {
        font-size: 16px;
        padding: 15px 20px;
    }
    .search-submit {
        padding: 0 20px;
    }
}

/* ========== SMALL MOBILE (below 576px) ========== */
@media (max-width: 575px) {
    /* Header */
    .logo-img {
        height: 35px;
    }
    .logo-text {
        font-size: 18px;
    }
    .header-wa, .header-quote {
        font-size: 12px;
        padding: 6px 12px;
    }
    .header-action-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 24px;
    }
    .hero-badge {
        font-size: 12px;
        padding: 5px 15px;
    }
    .hero-description {
        font-size: 14px;
    }
    
    /* Sections */
    .section-padding {
        padding: 40px 0;
    }
    .section-title {
        font-size: 24px;
    }
    .section-subtitle {
        font-size: 14px;
    }
    
    /* Cards */
    .why-card, .service-card {
        padding: 20px;
    }
    .why-icon, .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Products */
    .product-info {
        padding: 15px;
    }
    .product-name {
        font-size: 14px;
    }
    .current-price {
        font-size: 16px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    /* Footer */
    .footer-newsletter-form .input-group {
        flex-direction: column;
        border-radius: var(--radius-sm);
    }
    .footer-newsletter-form .form-control {
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    }
    .footer-newsletter-form .btn {
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        width: 100%;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .header,
    .footer,
    .floating-widgets,
    .search-modal {
        display: none !important;
    }
    body {
        padding: 20px;
    }
    .hero-section {
        min-height: auto !important;
        padding: 40px 0 !important;
    }
}