/* Responsive Styles */

/* Large Screens (1400px and above) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* Desktop and Tablet (992px to 1399px) */
@media (max-width: 1399px) {
    :root {
        /* Adjust global font sizes for tablet */
        --container-width: 100%;
        --fs-h1: 3rem;
        --fs-h2: 2.4rem;
        --fs-h3: 1.8rem;
        --fs-h4: 1.4rem;
        --fs-h5: 1.2rem;
        --fs-h6: 1.05rem;
    }
    
    .container {
        padding: 0 3rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .collection-item {
        gap: 3rem;
    }
    
    .innovation-content,
    .materials-showcase,
    .story-content,
    .contact-content {
        gap: 3rem;
    }
    
    .sustainability-pillars {
        gap: 1.5rem;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    :root {
        --fs-h1: 2.5rem;
        --fs-h2: 2rem;
        --fs-h3: 1.5rem;
        --fs-h4: 1.3rem;
        --fs-h5: 1.15rem;
        --fs-h6: 1rem;
        --fs-p: 1rem;
        --fs-a: 0.95rem;
        --fs-li: 0.95rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .burger-menu {
        display: block;
    }
    
    .hero-content, .hero-text{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-buttons{
        margin-top: 0px;
    }
    
    .hero-text,
    .hero-image {
        flex: none;
        width: 100%;
    }
    
    .collection-item,
    .collection-item.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .collection-image,
    .collection-info {
        flex: none;
        width: 100%;
    }
    
    .innovation-content {
        flex-direction: column;
    }
    
    .innovation-text,
    .innovation-visual {
        flex: none;
        width: 100%;
    }
    
    .materials-showcase {
        flex-direction: column;
    }
    
    .material-slider,
    .materials-info {
        flex: none;
        width: 100%;
    }
    
    .story-content {
        flex-direction: column;
    }
    
    .story-images,
    .story-text {
        flex: none;
        width: 100%;
    }
    
    .sustainability-pillars {
        flex-direction: column;
        gap: 2rem;
    }
    
    .pillar-item {
       padding: 15px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form-container,
    .contact-info {
        flex: none;
        width: 100%;
    }
    
    .info-card {
        margin-top: 2rem;
    }
    
    
    .footer-links {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .footer-column {
        flex-basis: calc(50% - 1rem);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-contact {
        justify-content: center;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    :root {
        --fs-h1: 2.2rem;
        --fs-h2: 1.8rem;
        --fs-h3: 1.3rem;
        --fs-h4: 1.2rem;
        --fs-h5: 1.1rem;
        --fs-h6: 1rem;
        --fs-p: 0.95rem;
        --fs-a: 0.9rem;
        --fs-li: 0.9rem;
        --fs-small: 0.8rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .collection-grid {
        gap: 4rem;
    }
    
    .innovation-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-item.large {
        grid-column: 1;
    }

    .slider-overlay, .sustainability-goals{
        padding: 15px;
    }

    .slider-image{
        height: 400px;
    }

    .info-block{
        padding: 15px;
    }

    .slider-image img{
        height: 100%;
        object-fit: cover;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-column {
        flex-basis: 100%;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content, .footer-column, .footer-column ul{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }


    /* Center align all content on mobile */
    .hero-text,
    .collection-info,
    .innovation-text,
    .materials-info,
    .story-text {
        text-align: center;
    }
    
    .feature-header {
        text-align: left;
    }
    
    .feature-content {
        text-align: left;
    }
    
    .btn-text {
        display: block;
        margin: 0 auto;
    }
    
    .btn-text::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .btn-text:hover::after {
        width: 50%;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    :root {
        --fs-h1: 2rem;
        --fs-h2: 1.6rem;
        --fs-h3: 1.2rem;
        --fs-h4: 1.1rem;
        --fs-h5: 1rem;
        --fs-h6: 0.95rem;
        --fs-p: 0.9rem;
        --fs-small: 0.85rem;
    }
    
    .header {
        padding: 0.8rem 0;
    }
    
    .slider-overlay {
        padding: 1rem;
    }

    .goal-info{
        flex-direction: column;
    }
    
    .contact-form,.info-card{
        padding: 15px;
    }

   
    .store-hours ul li{
        flex-direction: column;
    }

}
