/* Styles pour le responsive design - ne touche pas aux styles desktop */

/* Menu hamburger */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Styles media queries pour mobile */
@media (max-width: 768px) {
    /* Afficher le menu hamburger */
    .hamburger-menu {
        display: flex;
    }
    
    /* Réorganiser la barre de navigation */
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-brand {
        gap: 1rem;
    }
    
    .nav-brand a {
        font-size: 1.2rem;
    }
    
    .nav-logo {
        width: 50px;
        height: 50px;
    }
    
    /* Menu mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-light);
        display: flex;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.mobile-active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--color-accent);
    }
    
    /* Style pour le body quand le menu est ouvert */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hero section */
    .hero {
        height: 50vh;
        margin-top: 80px;
    }
    
    /* Style spécifique pour la hero de la page créations sur mobile */
    .hero.hero-creations {
        height: 400px !important;
        min-height: 400px !important;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    /* Page sections principales - espace supplémentaire pour éviter le chevauchement avec navbar */
    section:first-of-type:not(.hero) {
        padding-top: 100px;
    }
    
    /* Ajustement spécifique pour les pages sans hero section */
    .seasonal-header, .contact-header, .creations-header {
        margin-top: 80px;
    }
    
    /* Sections */
    section {
        padding: 2rem 5%;
    }
    
    /* Collection grid */
    .collection-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Creation grid */
    .creation-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .creation-item {
        width: 100%;
    }
    
    /* Savoir faire */
    .expertise {
        padding: 2.5rem 0 1rem;
    }
    
    .expertise h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .expertise h2::after {
        bottom: -10px;
        width: 60px;
    }
    
    .expertise-content {
        padding: 0 1rem;
    }
    
    .expertise-grid {
        gap: 1rem;
    }
    
    .expertise-item {
        padding: 1.2rem;
        display: flex;
        align-items: flex-start;
    }
    
    .expertise-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        margin-right: 1rem;
        margin-bottom: 0;
    }
    
    .expertise-icon i {
        font-size: 20px;
    }
    
    .expertise-item-content {
        text-align: left;
    }
    
    .expertise-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        text-align: left;
    }
    
    .expertise-item p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0;
    }
    
    .expertise-footer {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .expertise-footer p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .expertise-footer .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Typographie */
    h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Contact */
    .contact {
        padding: 4rem 5%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Page saison */
    .saison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .saison-image {
        height: 250px;
    }
    
    .btn-back, .btn-voir-plus {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Ajustements pour la page créations */
    .collection {
        padding: 50px 0 30px;
    }
    
    .collection-grid {
        gap: 20px;
        padding: 0 15px;
    }
    
    .collection-image {
        aspect-ratio: 3/2;  /* Ratio légèrement différent pour mobile */
    }
    
    .category-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px 0;
        margin-bottom: 20px;
    }
    
    .category-nav ul {
        width: max-content;
        padding: 0 15px;
    }
    
    .category-nav li {
        margin: 0 8px;
        white-space: nowrap;
    }
    
    .category-nav a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Amélioration des titres sur mobile */
    .section-title-decorated h2 {
        font-size: 1.8rem;
        letter-spacing: -0.3px;
    }
    
    .section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    /* Amélioration des cartes de collection */
    .collection-item {
        margin-bottom: 10px;
    }
    
    .collection-item h3 {
        font-size: 1.2rem;
        margin: 15px 15px 5px;
    }
    
    .collection-item p {
        font-size: 0.9rem;
        margin: 0 15px 15px;
        line-height: 1.5;
    }
    
    /* Améliorer l'interaction au toucher */
    .collection-item:active {
        transform: scale(0.98);
    }
}
