/* Responsive Styles */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop and Laptop (992px to 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (max-width: 991px) {
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .header-contact {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .phone-numbers {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .product-categories {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Tablet Portrait (600px to 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header Mobile Styles */
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .header-contact {
        display: none;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 4rem 0 3rem;
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Features Grid Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Products Mobile */
    .product-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .brand-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    /* Contact Mobile */
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-contact p {
        justify-content: center;
        text-align: left;
    }
    
    /* WhatsApp Float Mobile */
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float-btn i {
        font-size: 1.3rem;
    }
}

/* Mobile Large (480px to 599px) */
@media (max-width: 599px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.3rem;
    }
}

/* Mobile Small (320px to 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .products, .services, .about, .contact {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .feature-card, .service-card, .contact-card {
        padding: 1.2rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-item {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float-btn i {
        font-size: 1.2rem;
    }
}

/* Ultra Mobile (below 320px) */
@media (max-width: 319px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .feature-card, .service-card, .contact-card {
        padding: 1rem;
    }
    
    .feature-icon, .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i, .service-icon i {
        font-size: 1.5rem;
    }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img, .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header, .whatsapp-float, .mobile-nav {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
    }
    
    .section-title, .hero-title {
        color: #000 !important;
    }
    
    .btn {
        border: 1px solid #000;
        color: #000 !important;
        background: transparent !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .whatsapp-float-btn {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* This can be implemented if dark mode is desired */
    /* For now, we'll keep the light theme for better brand consistency */
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .features, .products, .services, .about, .contact {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
}