/* Responsive Design */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .nav-container {
        padding: 10px 15px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--light-bg);
        padding: 20px 0;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Featured Products */
    .featured-products {
        padding: 60px 20px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    /* Benefits */
    .benefits-grid {
        gap: 30px;
    }
    
    /* CTA */
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .nav-links {
        gap: 0 !important;
    }
    
    /* Hero */
    .hero {
        padding: 40px 15px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-image {
        max-height: 300px;
    }
    
    /* Products */
    .featured-products {
        padding: 40px 15px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image-wrapper {
        height: 250px;
    }
    
    /* Benefits */
    .why-handmade {
        padding: 40px 15px;
    }
    
    .benefits-grid {
        gap: 25px;
    }
    
    .benefit-icon {
        font-size: 40px;
    }
    
    .benefit-item h3 {
        font-size: 18px;
    }
    
    .benefit-item p {
        font-size: 14px;
    }
    
    /* CTA */
    .cta-section {
        padding: 40px 15px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 15px;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .form-container {
        max-width: 100% !important;
    }
    
    /* Gallery Filters */
    .gallery-filters {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-btn {
        width: 100%;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .logo h1 {
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-section {
        display: none;
    }
    
    body {
        background-color: white;
    }
    
    .hero,
    .featured-products,
    .why-handmade {
        page-break-inside: avoid;
    }
}

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