/* Ajouts pour le design responsive */
/* Header responsive */
header {
    transition: transform 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Animations pour les éléments */
.feature, .step, .location, .testimonial, .stat {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature.animate, .step.animate, .location.animate, .testimonial.animate, .stat.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Délai d'animation pour créer un effet en cascade */
.feature:nth-child(1), .step:nth-child(1), .location:nth-child(1), .stat:nth-child(1) {
    transition-delay: 0.1s;
}
.feature:nth-child(2), .step:nth-child(2), .location:nth-child(2), .stat:nth-child(2) {
    transition-delay: 0.2s;
}
.feature:nth-child(3), .step:nth-child(3), .location:nth-child(3), .stat:nth-child(3) {
    transition-delay: 0.3s;
}
.feature:nth-child(4), .step:nth-child(4), .location:nth-child(4), .stat:nth-child(4) {
    transition-delay: 0.4s;
}

/* Améliorations responsive */
@media (max-width: 992px) {
    .mobile-menu-button {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 0.8rem 0;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .mission-content {
        gap: 2rem;
    }
    
    .mission-image {
        order: -1;
    }
    
    .store-features, 
    .categories-grid {
        gap: 1.5rem;
    }
    
    .donation-steps {
        gap: 1.5rem;
    }
    
    .impact-stats {
        justify-content: center;
    }
    
    .stat {
        flex-basis: 45%;
        margin-bottom: 2rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo, 
    .footer-links, 
    .footer-newsletter {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .store-announcement {
        padding: 1.5rem;
    }
    
    .feature, 
    .category {
        padding: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .stat {
        flex-basis: 100%;
    }
    
    .footer-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .opening-soon {
        padding: 0.8rem;
    }
    
    .highlight {
        font-size: 1rem;
    }
    
    .mission-content,
    .store-features,
    .categories-grid,
    .donation-steps,
    .locations-grid,
    .impact-stats,
    .contact-content,
    .footer-content {
        gap: 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 0.5rem;
    }
}
