/* ==================================================
   RESET & BASE
================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #171717;
    background: #F8F6F2;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================================================
   HEADER & NAVIGATION
================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 35px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: white;
    mix-blend-mode: difference;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    letter-spacing: 3px;
}

.navigation {
    display: flex;
    gap: 40px;
}

.navigation a {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: opacity .3s ease;
}

.navigation a:hover {
    opacity: .5;
}

/* ==================================================
   HERO
================================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), url("../images/hero-v2d.png");
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    color: white;
    text-align: center;
    animation: fadeUp 1.5s ease forwards;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(55px, 8vw, 110px);
    font-weight: 300;
    letter-spacing: 8px;
}

.hero-content p {
    margin-top: 20px;
    font-size: 18px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.button {
    display: inline-block;
    margin-top: 50px;
    padding: 15px 35px;
    border: 1px solid white;
    color: white;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all .4s ease;
}

.button:hover {
    background: white;
    color: black;
}

/* ==================================================
   SECTIONS
================================================== */
.section {
    padding: 40px 8%;
}

.section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
}

/* ==================================================
   GALLERY HOME (CORRECTIF HOMOGÈNE DES CARTES)
================================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform .6s ease;
}

.card:hover img {
    transform: scale(1.03);
}

.card h3, 
.card h4 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    text-align: left !important;
    color: #171717 !important;
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.0 !important;
}

.card h3 {
    margin-top: 15px !important;
    font-style: normal !important;
}

.card h4 {
    font-style: italic !important;
    margin-top: 2px !important;
}

/* ==================================================
   ABOUT
================================================== */
.about-full {
    padding-top: 20px !important;
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

.about-full h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    font-weight: 300;
    margin-bottom: 40px;
}

.about-full p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 950px;
    margin: 0 auto 25px;
    text-align: justify;
}

/* ==================================================
   CONTACT
================================================== */
.contact {
    text-align: center;
}

.contact p {
    margin: 8px;
    font-size: 18px;
}

.contact .button {
    border-color: black;
    color: black;
}

.contact .button:hover {
    background: black;
    color: white;
}

/* ==================================================
   SOCIAL LINKS
================================================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
}

.social-links a:nth-child(1) img {
    width: 28px;
}

.social-links a:nth-child(2) img {
    width: 25px;
}

.social-links img {
    height: 28px;
    transition: opacity .3s ease, transform .3s ease;
}

.social-links a:hover img {
    opacity: .5;
    transform: translateY(-3px);
}

/* ==================================================
   FOOTER
================================================== */
footer {
    padding: 20px 20px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 2px;
}

/* ==================================================
   ANIMATION
================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================
   GRADUATION COLLECTION PAGE
================================================== */




/* Règle commune aux images de couverture */
.collection-cover img,
.graduation-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
}

/* Hauteur fixe de la bannière 1 */
.collection-cover {
    width: 100% !important;
    height: 350px !important;
    max-height: 350px !important;
    overflow: hidden !important;
}

/* Hauteur fixe de la bannière Graduation (modifiable selon votre besoin) */
.graduation-cover {
    width: 100% !important;
    height: 350px !important;
    max-height: 350px !important;
    overflow: hidden !important;
}




.collection-intro {
    max-width: 1200px;
    margin: 15px auto 20px;
    padding: 10px 8%;
}

.collection-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 25px;
}

.collection-intro p {
    font-size: 18px;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 18px;
}

.collection-looks {
    padding: 10px 8% 40px;
}

.fashion-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.fashion-gallery img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}


/* ==================================================
   RESPONSIVE MOBILE & MENU HAMBURGER
================================================== */
@media (max-width: 768px) {
    .header {
        padding: 25px;
        mix-blend-mode: normal !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .logo {
        font-size: 22px;
    }



    .burger-menu {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 30px !important;
        height: 18px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        z-index: 1001 !important;
    }

    .burger-menu span {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        border-radius: 1px;
        transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    }

    .header-dark .burger-menu span {
        background-color: #ffffff !important;
    }

    .header-light .burger-menu span {
        background-color: #000000 !important;
    }

    .burger-menu.active span {
        background-color: #ffffff !important;
    }

    .burger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0 !important;
    }
    .burger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }

    .navigation {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        gap: 35px;
        z-index: 1000;
        background: rgba(10, 10, 10, 0.90);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .navigation.active {
        opacity: 1;
        visibility: visible;
    }

    .navigation a {
        font-family: 'Inter', sans-serif;
        font-size: 18px;
        letter-spacing: 5px;
        text-transform: uppercase;
        color: #ffffff !important;
    }

    .hero-content h1 {
        letter-spacing: 4px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .section {
        padding: 60px 25px;
    }

    .section h2 {
        font-size: 45px;
        margin-bottom: 50px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 50px;
    }


    
    @media (max-width: 768px) {
    .collection-cover {
        height: 200px !important;
        max-height: 200px !important;
    }

    .graduation-cover {
        height: 150px !important;
        max-height: 150px !important;
    }
}
    

    .collection-intro {
        padding: 10px 25px 20px;
        margin-bottom: 0;
    }

    .collection-looks {
        padding-top: 0 !important;
    }

    /* Interligne serré + espace sous le titre sur mobile */
    .collection-intro h1 {
        font-size: 45px;
        line-height: 1.0 !important;
        margin-bottom: 40px !important;
    }

    .fashion-gallery {
        grid-template-columns: 1fr;
    }

    .sketch-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
    .burger-menu {
        display: none !important;
    }
}


/* ==================================================
   STRUCTURE GLOBALE & ESPACEMENTS FINAUX
================================================== */
body:not(.page-index) main, 
body:not(.page-index) .header {
    max-width: 1300px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: 0 !important;
    right: 0 !important;
}


.page-index .header {
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    left: 0 !important;
    right: 0 !important;
    padding: 35px 60px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

@media (max-width: 768px) {
    .page-index .header {
        padding: 25px !important;
    }
}





@media screen and (max-width: 768px) {
    #collections {
        padding-top: 10px !important;
    }

    #collections h2 {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }
}







@media (min-width: 769px) {
    .gallery {
        max-width: 1000px; /* Ajustez cette valeur selon vos préférences (ex: 800px, 900px, 1000px) */
        margin: 0 auto;   /* Centre la galerie sur la page */
    }
}


@media (max-width: 768px) {
    /* Masquer le logo partout sur mobile (qu'il soit vide ou non) */
    .header .logo,
    .page-index .header .logo {
        display: none !important;
    }

    /* Pousser le burger à droite sur tout le site, y compris l'index */
    .header,
    .page-index .header {
        justify-content: flex-end !important;
    }
}

/* Change la couleur des barres du burger quand on est sur fond clair */
.header-light .burger-menu span {
    background-color: #1a1a1a !important;
}

/* 1. Par défaut (en haut de la page, sur fond sombre) : barres blanches */
.burger-menu span {
    background-color: #ffffff !important;
}

/* 2. Quand on descend sur la page (fond clair) ET que le menu est FERMÉ : barres sombres */
.burger-menu.scrolled span {
    background-color: #1a1a1a !important;
}

/* 3. Dès que le menu est OUVERT (qu'on ait scrollé ou non) : la croix redevient blanche */
.burger-menu.active span {
    background-color: #ffffff !important;
}








/* Bannière en pleine largeur d'écran (supprime les bandes latérales) */
.collection-cover,
.graduation-cover {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}








/* email */

.email-text-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    transition: opacity .3s ease, transform .3s ease;
}

.email-text-link:hover {
    opacity: .5;
    transform: translateY(-3px);
}