/* -------------------------------------------------- */
/* 1. VARIABLES & CHARTE
/* -------------------------------------------------- */
:root {
    --bg-color: #ffffff;      /* FOND BLANC */
    
    /* COULEURS */
    --text-color: #000f4b;    /* RETOUR A L'ORIGINE (Bleu Nuit) pour le texte */
    --title-color: #000c75;   /* NOUVEAU (Bleu Électrique) pour les titres */
    --accent-color: #abc7ff;  /* Bleu clair */
    
    /* TYPOGRAPHIE CHINCHILLA */
    --font-title: "chinchilla", sans-serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Reset basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: color 0.3s;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden; /* Empêche le scroll horizontal */
}

/* -------------------------------------------------- */
/* 2. TYPOGRAPHIE
/* -------------------------------------------------- */
h1, h2, h3, .projects-page-title {
    font-family: var(--font-title);
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase; /* Majuscules */
    
    /* MODIFICATION : On applique la couleur spécifique aux titres */
    color: var(--title-color) !important;
}

/* -------------------------------------------------- */
/* 3. NAVIGATION & LOGO
/* -------------------------------------------------- */
nav {
    position: fixed;
    top: 0; 
    width: 100%;
    padding: 40px 40px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo-container {
    position: relative;
    width: 150px; 
    height: 10px; 
    display: flex;
    align-items: center;
}

/* TAILLE NORMALE (ORDINATEUR) - 90px & Centré */
.image-logo {
    height: 90px;
    width: auto;
    position: absolute;
    top: -40px;
    left: -10px;   
    z-index: 1001; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container a:hover .image-logo {
    transform: scale(1.10) rotate(-3deg);
    cursor: pointer;
}

.nav-links li { display: inline-block; margin-left: 40px; }

.nav-links a,
.nav-links a:visited {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color) !important;
    opacity: 1;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--accent-color) !important;
}

/* Style du Burger (Caché sur PC) */
.burger { 
    display: none; 
    cursor: pointer; 
}
.burger .line { 
    width: 25px; 
    height: 2px; 
    background-color: var(--text-color); 
    margin: 5px; 
    transition: all 0.3s ease; /* Animation fluide */
}


/* -------------------------------------------------- */
/* 4. HERO SECTION
/* -------------------------------------------------- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    
    background-image: 
        linear-gradient(to bottom, 
            rgba(255,255,255,0.6) 0%, 
            rgba(255,255,255,0) 20%, 
            rgba(255,255,255,0) 70%, 
            rgba(255,255,255,1) 100%
        ),
        url("assets/site/snow.jpg");
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    /* Couleur gérée par la règle h1 globale */
    text-shadow: none;
}

.hero-content p {
    font-size: 1.1rem; 
    margin-bottom: 40px; 
    letter-spacing: 2px; 
    text-transform: uppercase;
    color: var(--text-color) !important;
    text-shadow: none;
    font-weight: 500;
}

.cta-btn {
    display: inline-block; 
    padding: 15px 40px;
    border: 1px solid var(--text-color);
    color: var(--text-color) !important;
    text-transform: uppercase; 
    letter-spacing: 2px; 
    transition: all 0.4s ease;
}

.cta-btn:hover {
    background-color: var(--text-color);
    color: #ffffff !important;
}


/* -------------------------------------------------- */
/* 5. GRILLES PROJETS (PAGES PRINCIPALES)
/* -------------------------------------------------- */
.gallery-section { padding: 80px 50px; }

.gallery-section h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
    /* Couleur gérée par h2 global */
}

.masonry-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    grid-auto-rows: 300px; 
    gap: 20px;
}

.grid-item { 
    position: relative; 
    overflow: hidden; 
    background-color: #f8f8f8; 
}

/* Images remplissent toujours la case */
.grid-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: opacity 0.3s ease; 
    opacity: 1; 
}

/* Surcharge pour l'uniformité */
.grid-item img.fit-image {
    object-fit: cover; 
    padding: 0;        
    background-color: transparent;
}

/* --- FIX MINIATURE LE ROUGE (Texte coupé) --- */
.grid-item img.show-all {
    object-fit: contain !important; /* Force l'image entière */
    background-color: #ffffff; /* Fond blanc pour combler */
}

/* PAS DE ZOOM AU SURVOL */
.grid-item:hover img { transform: none; }

.hover-info {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 15, 75, 0.9);
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
    opacity: 0; 
    transition: opacity 0.3s;
}

.grid-item:hover .hover-info { opacity: 1; }
.hover-info h3 { font-size: 2rem; margin-bottom: 10px; color: #ffffff !important; } /* Titre survol en blanc */
.hover-info span { font-style: italic; color: var(--accent-color); }

/* --- PAGE PROJETS --- */
.projects-page-content {
    padding: 220px 50px 80px 50px;
    min-height: 100vh;
    background-color: var(--bg-color);
}

.projects-page-title {
    font-size: 4rem;
    text-align: center;
    /* Couleur gérée par la règle globale */
    margin-bottom: 60px;
}

.projects-page-content .masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}


/* -------------------------------------------------- */
/* 6. PAGE PROJET UNIQUE (CONTENEUR GÉNÉRAL)
/* -------------------------------------------------- */
.single-project-content {
    padding: 150px 50px 80px 50px;
    background-color: var(--bg-color);
    max-width: 1400px;
    margin: 0 auto;
}

.project-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.project-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    display: block;
    margin-bottom: 20px;
}

.project-header h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.project-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    font-style: italic;
    opacity: 0.8;
}

.project-description {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 100px;
    border-top: 1px solid rgba(0, 15, 75, 0.1);
    padding-top: 50px;
}

.project-description h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.project-description p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: justify;
}

/* BOUTON VISITER LE SITE */
.visit-site-btn {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.visit-site-btn:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.project-meta {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 15, 75, 0.1);
}

.project-meta span {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 5px;
    font-weight: bold;
}

/* -------------------------------------------------- */
/* 7. STYLE SPÉCIFIQUE : BROCHURE (Standard)
/* -------------------------------------------------- */
.project-visuals {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.visual-full img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); 
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.visual-grid img {
    width: 100%;
    height: auto;
    display: block;
}

/* -------------------------------------------------- */
/* 8. STYLE SPÉCIFIQUE : FORMAT VERTICAL (Tatoo & Shorts)
/* -------------------------------------------------- */
/* Style pour Tatoo (Cote à cote) */
.tatoo-video-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
    width: 100%;
    flex-wrap: wrap;
}

/* Style pour Trame Short (Centré tout seul) */
.trame-short-container {
    display: flex;
    flex-direction: column; /* Empile vidéo et texte */
    align-items: center;    /* Centre horizontalement */
    margin-bottom: 80px;
    width: 100%;
}

/* On applique le style aux vidéos ET aux iframes (YouTube Shorts) */
.tatoo-video-container video,
.tatoo-video-container iframe,
.trame-short-container iframe {
    max-width: 400px;      /* Largeur contenue pour format vertical */
    width: 100%;
    aspect-ratio: 9 / 16;  /* FORCE LE FORMAT VERTICAL (Reels/TikTok/Shorts) */
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 15, 75, 0.25);
    border: none;
}

.tatoo-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
    align-items: start;
    
    /* RESTRICTION LARGEUR */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tatoo-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    cursor: zoom-in; /* Curseur loupe pour la Lightbox */
}

/* Pas d'animation hover */
.tatoo-item img:hover { transform: none; }

/* Décalage graphique */
.tatoo-item.down { margin-top: 60px; }


/* -------------------------------------------------- */
/* 9. STYLE SPÉCIFIQUE : PROJETS HORIZONTAUX (Le Rouge, Trame, etc.)
/* -------------------------------------------------- */

/* --- VIDÉOS HORIZONTALES (Commun) --- */
/* On inclut "iframe" pour YouTube en format paysage */
.trame-video-container video,
.trame-video-container iframe,
.rouge-video-container video,
.rouge-video-container iframe,
.forgeron-video-container video,
.forgeron-video-container iframe,
.interview-video-container video,
.interview-video-container iframe {
    width: 100%;
    max-width: 900px; /* Largeur max pour le 16:9 */
    
    /* Pour garder le ratio 16/9 proprement */
    aspect-ratio: 16 / 9;
    height: auto;
    
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: none;
}

/* Conteneurs pour centrer */
.trame-video-container,
.rouge-video-container,
.forgeron-video-container,
.interview-video-container {
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.7;
}

/* --- PHOTOS (Trame & Forgeron & Interview : Petites, centrées, arrondies) --- */
.trame-photos-grid,
.forgeron-photos-grid,
.interview-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 photos côte à côte */
    gap: 30px;
    max-width: 700px; /* Taille contenue */
    margin: 0 auto; /* Centré */
    align-items: center;
}

.trame-photos-grid img,
.forgeron-photos-grid img,
.interview-photos-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Bords arrondis */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.trame-photos-grid img:hover,
.forgeron-photos-grid img:hover,
.interview-photos-grid img:hover { transform: none; }


/* --- PHOTOS SPÉCIFIQUE "LE ROUGE" (Tailles spéciales, empilées) --- */
.rouge-photos-stack {
    display: flex;
    flex-direction: column; /* Empilement vertical */
    gap: 80px;             /* Grand espace entre les images */
    margin-top: 60px;
    align-items: center;   /* Centre les images */
}

.rouge-photos-stack img {
    width: 100%;           /* Prend toute la largeur dispo */
    max-width: 850px;     /* LARGEUR REDUITE PHOTO HORIZONTALE */
    height: auto;
    border-radius: 0 !important; /* BORDS CARRÉS */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
}

/* Affiche verticale limitée en largeur */
.poster-img {
    max-width: 500px !important; /* LARGEUR REDUITE AFFICHE */
}

.rouge-photos-stack img:hover { transform: none; }


/* Bouton Retour commun */
.project-navigation { margin-top: 100px; text-align: center; }
.back-link {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 15px 30px;
    transition: all 0.3s;
}
.back-link:hover {
    background-color: var(--text-color);
    color: #ffffff;
}


/* -------------------------------------------------- */
/* 10. PAGES SECONDAIRES (ABOUT & CONTACT)
/* -------------------------------------------------- */
.about-page-content {
    /* Espace en haut pour le header */
    padding: 180px 50px 50px 50px;
    min-height: 100vh;
    background-color: var(--bg-color);
}

.about-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.about-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 10px 10px 0px rgba(0, 15, 75, 0.1); 
}

.about-text h1 {
    font-size: 4rem;
    margin-bottom: 40px;
    line-height: 1;
}

.about-text p {
    font-size: 1rem;
    margin-bottom: 25px;
    text-align: justify;
}

.contact-page-content {
    /* Padding harmonisé */
    padding: 180px 50px 80px 50px;
    min-height: 100vh;
    background-color: var(--bg-color);
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.contact-text p {
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 400px;
}

.contact-details span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}

.contact-details a, 
.contact-details p {
    font-size: 1.2rem;
    font-family: var(--font-title);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 15, 75, 0.3);
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom: 1px solid var(--text-color);
}

.submit-btn {
    margin-top: 20px;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.4s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: var(--text-color);
    color: #ffffff;
}

/* -------------------------------------------------- */
/* 11. FOOTER
/* -------------------------------------------------- */
footer {
    padding: 100px 20px;
    text-align: center;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(0,0,0,0.05);
}

footer h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.email-link {
    font-size: 1.5rem;
    color: var(--text-color) !important;
    border-bottom: 1px solid transparent; 
    transition: border-color 0.3s;
}
.email-link:hover { 
    border-color: var(--accent-color); 
    color: var(--accent-color) !important; 
}

.socials { margin-top: 40px; }
.socials a {
    margin: 0 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    color: var(--text-color) !important;
}
.socials a:hover { color: var(--accent-color) !important; }

.copyright { margin-top: 80px; font-size: 0.7rem; opacity: 0.5; }


/* -------------------------------------------------- */
/* 12. RESPONSIVE (MOBILE & TABLETTE)
/* -------------------------------------------------- */

@media (max-width: 1024px) {
    /* Grille projets sur tablette : 2 colonnes */
    .projects-page-content .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .about-text h1 { font-size: 3rem; text-align: center; }
    
    /* NOUVEAU : Centrer le bouton "Me contacter" sur mobile */
    .about-text .cta-btn {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
    
    .about-page-content { padding: 140px 20px 50px 20px; } 
    
    .project-header h1 { font-size: 3rem; }
    .project-description { grid-template-columns: 1fr; gap: 40px; }
    .single-project-content { padding: 120px 20px 50px 20px; }
    
    /* Responsive des grilles spécifiques */
    .tatoo-gallery { grid-template-columns: 1fr; gap: 40px; }
    .tatoo-item.down { margin-top: 0; }
    
    .trame-photos-grid, 
    .rouge-photos-grid, 
    .forgeron-photos-grid,
    .interview-photos-grid,
    .visual-grid { 
        grid-template-columns: 1fr; 
    }
    
    .contact-wrapper { grid-template-columns: 1fr; gap: 60px; }
    .contact-text h1 { font-size: 3rem; }
    .contact-page-content { padding: 140px 20px 50px 20px; }
}

/* SMARTPHONES ET PETITES TABLETTES */
@media (max-width: 768px) {
    
    /* 1. LOGO PLUS PETIT (MOBILE) - 60px & Centré */
    .image-logo {
        height: 60px; 
        top: -25px;   
        left: -10px;
    }
    .logo-container {
        width: 100px;
    }
    
    /* 2. TEXTE HERO PLUS PETIT */
    .hero-content h1 { font-size: 3rem; }
    
    /* 3. GRILLE PROJETS SUR 1 COLONNE */
    .masonry-grid { grid-template-columns: 1fr; }
    
    /* 4. NAVIGATION MOBILE (MENU LATÉRAL) */
    nav { padding: 15px 20px; }
    
    .nav-links {
        position: fixed; /* Sort du flux normal */
        right: 0px;
        height: 100vh;   /* Prend toute la hauteur */
        top: 0;
        background-color: var(--bg-color); /* Fond blanc */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;      /* Largeur du menu tiroir */
        transform: translateX(100%); /* Caché à droite par défaut */
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 998;
    }

    .nav-links li {
        opacity: 0;
        margin: 30px 0;
    }

    /* Cette classe est ajoutée par le JS pour ouvrir le menu */
    .nav-active {
        transform: translateX(0%);
    }

    /* Le Burger devient visible et cliquable */
    .burger { 
        display: block; 
        cursor: pointer;
        z-index: 999;
    }

    /* Animation du Burger en Croix (Toggle class via JS) */
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
    
    /* Animation cascade des liens */
    @keyframes navLinkFade {
        from { opacity: 0; transform: translateX(50px); }
        to { opacity: 1; transform: translateX(0); }
    }
    
    /* Ajustement padding pages */
    .projects-page-content { padding: 160px 20px 50px 20px; }
    .projects-page-content .masonry-grid { grid-template-columns: 1fr; }
}


/* -------------------------------------------------- */
/* 13. AJUSTEMENTS SPÉCIFIQUES
/* -------------------------------------------------- */

/* Recadrage : Descendre le point focal de la tête (Projet Tatoo) */
/* On cible toute image contenant "tatoo" ou "TATOO" dans son nom */
.grid-item img[src*="tatoo"],
.grid-item img[src*="TATOO"] {
    object-position: center 30%; /* Remonté légèrement vers le centre */
}

/* Recadrage horizontal pour "Le Rouge" */
/* On cible l'image par son nom de fichier "minia.png" */
.grid-item img[src*="minia.png"] {
    /* On cale l'image à gauche pour ne jamais couper le texte */
    object-position: left center; 
}


/* -------------------------------------------------- */
/* 14. LIGHTBOX (ZOOM PHOTO TATOO)
/* -------------------------------------------------- */

/* Le fond noir derrière l'image */
.modal {
    display: none; /* Caché par défaut */
    position: fixed; 
    z-index: 2000; /* Au-dessus de tout, même du menu */
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.9); /* Noir quasi opaque */
    backdrop-filter: blur(5px);
}

/* L'image en grand */
.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation-name: zoom;
    animation-duration: 0.3s;
}

/* Animation d'ouverture */
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* Le bouton fermer (X) */
.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

/* Légende sous la photo zoomée */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-family: var(--font-body);
    font-size: 1.1rem;
}


/* -------------------------------------------------- */
/* 15. ANIMATIONS (FADE IN)
/* -------------------------------------------------- */

/* Définition de l'animation : montée + apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* Part de 30px plus bas */
    }
    to {
        opacity: 1;
        transform: translateY(0);    /* Arrive à sa place */
    }
}

/* Application de l'animation sur les conteneurs principaux */
.hero-content,
.gallery-section,
.projects-page-content,
.single-project-content,
.about-wrapper,
.contact-wrapper {
    /* Durée : 1s, Courbe : ease-out (ralenti à la fin), Mode : both (garde l'état) */
    animation: fadeInUp 1s ease-out both;
}