/* ====================================
   Responsive Design
   ==================================== */

/* Tablet Landscape (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .sidebar {
        width: 200px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

/* Tablet Portrait (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Header */
    .header {
        height: 70px;
    }
    
    .header-container {
        padding: 0 var(--spacing-md);
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-icon svg {
        width: 32px;
        height: 32px;
    }
    
    /* Hide desktop navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--brand-peach);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: var(--spacing-md);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-sm);
        text-align: center;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Show mobile category menu */
    .mobile-category-menu {
        display: block;
    }
    
    /* Hide desktop sidebar */
    .sidebar {
        display: none;
    }
    
    /* Main container */
    .main-container {
        flex-direction: column;
    }
    
    /* Hero section */
    .hero-slider {
        height: 500px;
    }
    
    .hero-main-title {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-content {
        padding: 0 6%;
    }
    
    .hero-arrow {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .hero-arrow.prev {
        left: 20px;
    }
    
    .hero-arrow.next {
        right: 20px;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .feature-item:nth-child(2n) {
        border-right: none;
    }
    
    /* Products section */
    .products-section {
        padding: var(--spacing-md);
    }
    
    .section-title {
        font-size: 24px;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

/* Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    /* Header */
    .header {
        height: 60px;
    }
    
    .header-container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo-text {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .logo-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .nav-menu {
        top: 60px;
    }
    
    /* Main container */
    .main-container {
        min-height: calc(100vh - 60px);
    }
    
    /* Hero section */
    .hero-slider {
        height: 400px;
    }
    
    .hero-content {
        padding: 0 var(--spacing-md);
        justify-content: flex-end;
        padding-bottom: 80px;
    }
    
    .hero-tag {
        font-size: 11px;
        padding: 6px 16px;
    }
    
    .hero-main-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-button {
        padding: 14px 28px;
        font-size: 13px;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .hero-arrow.prev {
        left: 12px;
    }
    
    .hero-arrow.next {
        right: 12px;
    }
    
    .hero-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 30px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: var(--spacing-md);
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .feature-item:last-child {
        border-bottom: none;
    }
    
    .feature-item i {
        font-size: 24px;
    }
    
    .feature-text h3 {
        font-size: 14px;
    }
    
    .feature-text p {
        font-size: 12px;
    }
    
    /* Products section */
    .products-section {
        padding: var(--spacing-sm);
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .products-count {
        font-size: 12px;
    }
    
    /* Products grid - single column */
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    /* Product card */
    .product-info {
        padding: var(--spacing-sm);
    }
    
    .product-name {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 18px;
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 var(--spacing-sm);
        gap: var(--spacing-md);
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section h4 {
        font-size: 14px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* Large Desktop (min-width: 1400px) */
@media screen and (min-width: 1400px) {
    .header-container,
    .main-container,
    .footer-container {
        max-width: 1600px;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-slider {
        height: 800px;
    }
    
    .hero-main-title {
        font-size: 84px;
    }
    
    .hero-description {
        font-size: 20px;
    }
    
    .hero-content {
        padding: 0 10%;
    }
}

/* Print Styles */
@media print {
    .header,
    .sidebar,
    .mobile-category-menu,
    .mobile-menu-toggle,
    .footer,
    .back-to-top,
    .whatsapp-float {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====================================
   About & Contact Responsive
   ==================================== */
@media screen and (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-media img {
        aspect-ratio: 16 / 9;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .about-section,
    .contact-section {
        padding: 60px var(--spacing-md);
    }

    .about-title {
        font-size: 30px;
    }

    .about-stats {
        gap: var(--spacing-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 20px;
        left: 20px;
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .about-badge-number {
        font-size: 30px;
    }

    .about-media-badge {
        padding: var(--spacing-sm);
        left: 14px;
        bottom: 14px;
    }

    .stat-number {
        font-size: 26px;
    }

    .contact-info,
    .contact-form {
        padding: var(--spacing-md);
    }
}
