/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    background-color: #0f0f0f; /* Garder le fond noir sur le body */ margin: 0;
    padding: 0;
    height: 100%;
    width: 100%

}
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}



/* Global section full screen */
section {
    min-height: 50vh;
    scroll-snap-align: start;
    justify-content: flex-start; /* Changer 'center' en 'flex-start' pour que l'alignement soit contrôlé au niveau de chaque section */
    padding: 4rem 2rem;
    text-align: left; /* Remet l'alignement par défaut pour laisser chaque section définir son propre alignement */
    background-color: transparent; /* Garder le fond des sections transparent */
}


.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #333;
    background-color: rgba(15, 15, 15, 0.95); /* Garder un fond semi-transparent pour l'header */
}

.logo-placeholder span {
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    color: #ffffff; /* Couleur par défaut (blanc) */
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #ff4f4f;
}

main {
    margin-top: 80px; /* pour ne pas que le header cache le haut des sections */
}

/* Accueil */

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 6rem 6rem 4rem 6rem;
    min-height: 100vh;
    scroll-snap-align: start;
    text-align: initial;
}

.text-column {
    flex: 1;
    min-width: 320px;
    max-width: 600px;
    text-align: left !important; /* Forcer l'alignement du texte à gauche */
}

.text-column h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.text-column .highlight {
    color: #ff4f4f;
    font-weight: bold;
}

.intro-text {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.sub-text {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.social-icons img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.image-column {
    flex: 1;
    min-width: 300px;
    text-align: right

}

.profile-image {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 79, 79, 0.2);
}

/* À PROPOS - NOUVEAU STYLE (DA Services) */
/* === Police et base === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0e0e0e;
    color: #f0f0f0;
}

/* === Section === */
.apropos-section {
    padding: 4rem 2rem;
    max-width: 1300px;
    margin: auto;
}

.apropos-section h1 {
    color: #FFC107;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.apropos-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: #ccc;
}

.apropos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: start;
}

.gallery-item {
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
    max-width: 100%;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    object-fit: cover;
}

.gallery-item p {
    font-size: 1rem;
    color: #aaa;
}
/* Image zoomable au clic */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}

.zoom-overlay.active {
    visibility: visible;
    opacity: 1;
    cursor: pointer;
}

.apropos-aime {
    padding: 2rem 0;
    text-align: center;
}

.apropos-aime h2 {
    font-size: 2rem;
    color: #FFC107;
    margin-bottom: 1.5rem;
}

/* Swiper */
.swiper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    background-color: #1e1e1e;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: scale(1.03);
}

.swiper-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
}

.slide-caption {
    font-size: 1rem;
    font-weight: 600;
    color: #FFC107;
    text-align: center;
}
/* Swiper Pagination */
.swiper-pagination-bullet {
    background: #FFC107;
    opacity: 0.6;
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Swiper Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #FFC107;
    width: 40px;
    height: 40px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    transition: 0.2s;
}


/* Responsive */
@media screen and (max-width: 768px) {
    .swiper-slide img {
        height: 150px;
    }

    .slide-caption {
        font-size: 0.9rem;
    }
}

/*Service */

/* Styles généraux de la section services (inchangés) */
.services-section {
    padding: 6rem 2rem;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-section h1 {
    font-size: 2.8rem;
    color: #efcd2e;
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-services {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    text-align: center;
}

/* Conteneur principal de la grille des services (inchangé) */
.services-main-grid {
    display: grid;
    grid-template-areas:
        "montage-design montage-design"
        "secondary-row  secondary-row"
        "final-cta      final-cta";
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 4rem;
}

/* Styles pour tous les blocs de contenu (inchangés) */
.service-details-column > div,
.secondary-info-row > div,
.final-cta-column > div {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Assignation des zones et alignements spécifiques (inchangés) */
.service-details-column {
    grid-area: montage-design;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: #1c1c1c;
    border-radius: 8px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    filter: invert(70%) sepia(90%) saturate(1000%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.service-item h2 {
    font-size: 1.5rem;
    color: #efcd2e;
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

/* NOUVEAUX STYLES pour la ligne Studio / Atelier / Portefeuille */
.secondary-info-row {
    grid-area: secondary-row;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.studio-item,
.portfolio-block {
    flex: 1;
    min-width: 280px;
    text-align: left;
    /* Les styles de background-color, padding, border-radius, box-shadow sont déjà gérés par .secondary-info-row > div */
}

/* Styles spécifiques pour les images dans Studio et Atelier */
.studio-image {
    width: 100%; /* L'image prend toute la largeur du bloc */
    max-height: 180px; /* Hauteur maximale pour les images */
    object-fit: cover; /* Recadre l'image si nécessaire pour remplir l'espace */
    border-radius: 5px; /* Bords légèrement arrondis pour l'image */
    margin-top: 1.5rem; /* Espace au-dessus de l'image */
    filter: brightness(0.8); /* Assombrit un peu l'image pour mieux intégrer le texte */
    transition: filter 0.3s ease; /* Transition douce pour l'effet hover */
}

.studio-image:hover {
    filter: brightness(1); /* L'image redevient plus lumineuse au survol */
}

.studio-item h2,
.portfolio-block h2 {
    font-size: 1.4rem;
    color: #efcd2e;
    margin-bottom: 0.8rem;
}
.studio-item p,
.portfolio-block p {
    font-size: 1rem;
    color: #ccc;
}

/* Style pour le bouton Portfolio (réutilise les styles de cv-button) */
.portfolio-button {
    margin-top: 1.5rem; /* Espace au-dessus du bouton */
    background-color: #efcd2e;
    color: #0f0f0f;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.portfolio-button.cv-button:hover {
    background-color: #ff4f4f;
}


/* Appel à l'action final (inchangé) */
.final-cta-column {
    grid-area: final-cta;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.final-call-to-action {
    width: 100%;
}
.final-call-to-action h2 {
    font-size: 2.2rem;
    color: #fd4e4f;
    margin-bottom: 1rem;
}
.final-call-to-action p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
}
.final-call-to-action .cv-button {
    background-color: #efcd2e;
    color: #0f0f0f;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.final-call-to-action .cv-button:hover {
    background-color: #ff4f4f;
}

/* Media Queries pour la responsivité (ajustées pour les nouvelles images/bouton) */
@media (min-width: 1024px) {
    .services-main-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "montage-design montage-design"
            "secondary-row  secondary-row"
            "final-cta      final-cta";
    }
    .secondary-info-row {
        flex-wrap: nowrap;
        justify-content: space-between; /* Pour espacer uniformément les 3 blocs */
    }
    .studio-item, .portfolio-block {
        max-width: 30%; /* Limiter la largeur pour qu'ils tiennent 3 sur la ligne */
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .services-main-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "montage-design"
            "secondary-row"
            "final-cta";
    }
    .secondary-info-row {
        flex-direction: column; /* Empile Studio/Atelier/Portefeuille sur tablette */
        align-items: center;
        text-align: center;
    }
    .studio-item, .portfolio-block {
        text-align: center;
        width: 100%;
    }
    .studio-image {
        max-width: 80%; /* Ajuste la taille de l'image sur tablette */
    }
}

@media (max-width: 767px) {
    .services-main-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "montage-design"
            "secondary-row"
            "final-cta";
    }
    .services-section h1 {
        font-size: 2rem;
    }
    .intro-services {
        font-size: 1rem;
    }
    .service-details-column,
    .secondary-info-row,
    .final-cta-column {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .service-item, .studio-item, .portfolio-block {
        text-align: center;
        width: 100%;
    }
    .studio-image {
        max-width: 90%; /* Ajuste la taille de l'image sur mobile */
    }
}

/*Contact */

/* Contact Section - NOUVELLE MISE EN PAGE INSPIRÉE DE VOTRE MAQUETTE */

.contact-section {
    padding: 8rem 2rem 6rem 2rem;
    max-width: 1200px; /* Augmente la largeur maximale pour mieux agencer les deux colonnes */
    margin: auto;
    text-align: left; /* Aligne le h1 et l'intro à gauche comme sur la maquette */
}

.contact-section h1 {
    font-size: 4.5rem; /* Taille plus grande pour le titre principal */
    color: #ffcc00; /* Jaune d'accentuation */
    margin-bottom: 0.5rem;
    line-height: 1.1; /* Réduit l'espacement entre les lignes */
    /* Pas de text-transform ni letter-spacing pour correspondre à la maquette */
}

.contact-intro {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 4rem;
    /* Pas de margin-left/right auto ici car le parent n'est plus centré */
    line-height: 1.6;
}

.contact-content {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne */
    gap: 3rem; /* Espacement entre les colonnes */
    justify-content: space-between; /* Espace les colonnes pour qu'elles prennent la largeur disponible */
    align-items: flex-start; /* Aligne les éléments en haut */
    padding-top: 2rem; /* Espacement entre le titre/intro et les blocs */
}

/* Styles pour le bloc des informations de contact */
.contact-infos {
    flex: 0 0 350px; /* Largeur fixe pour le bloc d'infos comme sur la maquette */
    background: #1a1a1a; /* Fond sombre pour la carte */
    padding: 2rem; /* Padding interne */
    border-radius: 12px; /* Coins arrondis */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Ombre discrète */
    text-align: left; /* Texte aligné à gauche */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligner les éléments en haut */
}

.contact-infos h2 { /* Masque le titre "Mes Coordonnées" si vous voulez un design plus épuré comme la maquette */
    display: none;
    /* Ou si vous voulez le garder :
    color: #ff4f4f;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    */
}

.contact-infos p {
    display: flex; /* Flexbox pour icône + texte */
    align-items: center; /* Aligne verticalement l'icône et le texte */
    gap: 1rem; /* Espacement entre icône et texte */
    font-size: 1.05rem;
    color: #eee;
    margin-bottom: 1.5rem;
}

.contact-infos img {
    width: 22px; /* Taille des icônes */
    height: 22px;
    filter: brightness(0) invert(1); /* Rend les icônes blanches */
    object-fit: contain;
}

.contact-infos .contact-link {
    color: #ccc;
}

.contact-infos .contact-link:hover {
    color: #ffcc00; /* Vert plus clair au survol */
}

/* Styles pour le bouton CV dans le bloc contact-infos */
.contact-infos .cv-button {
    background-color: #ffcc00; /* Jaune */
    color: #0f0f0f;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 2rem; /* Espace après les infos */
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    align-self: center; /* Centre le bouton horizontalement dans le flex container */
    width: fit-content; /* S'adapte au contenu */
}

.contact-infos .cv-button:hover {
    background-color: #e3b800;
    transform: translateY(-2px);
}

.cv-button {
    background-color: #ffcc00; /* Jaune */
    color: #0f0f0f;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 2rem; /* Espace après les infos */
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    align-self: center; /* Centre le bouton horizontalement dans le flex container */
    width: fit-content; /* S'adapte au contenu */
}
.cv-button:hover {
    background-color: #e3b800;
    transform: translateY(-2px);
}
/* Styles pour le formulaire de contact */
.contact-form {
    flex: 1; /* Le formulaire prend l'espace restant */
    min-width: 400px; /* Largeur minimale pour le formulaire */
    background: #1a1a1a; /* Fond sombre pour la carte */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Ombre discrète */
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
}

.contact-form h2 { /* Masque le titre "Envoyez-moi un message" si vous voulez un design plus épuré comme la maquette */
    display: none;
    /* Ou si vous voulez le garder :
    color: #ff4f4f;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    */
}

.contact-form label {
    color: #aaa;
    font-size: 0.95rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 6px;
    background: #222;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffcc00; /* Bordure jaune au focus */
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px; /* Hauteur minimale pour le textarea plus grande */
}

.contact-form button {
    background: #ff4f4f; /* Bouton rouge */
    color: white;
    padding: 1rem 1.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
    align-self: flex-start; /* Aligne le bouton à gauche dans le formulaire */
    width: fit-content; /* S'adapte au contenu du bouton */
}

.contact-form button:hover {
    background-color: #e13d3d;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-content {
        flex-direction: column; /* Empile les colonnes sur les petits écrans */
        align-items: center; /* Centre les blocs */
        gap: 2rem;
    }

    .contact-infos,
    .contact-form {
        min-width: unset; /* Annule la largeur minimale */
        width: 90%; /* Prend une grande partie de la largeur */
        max-width: 500px; /* Limite la largeur sur les écrans intermédiaires */
        padding: 1.5rem;
    }

    .contact-section h1 {
        font-size: 3.5rem; /* Ajuste la taille du titre */
        text-align: center; /* Centre le titre sur mobile */
    }

    .contact-intro {
        font-size: 1.1rem;
        text-align: center; /* Centre l'intro sur mobile */
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .contact-section h1 {
        font-size: 2.5rem;
    }
    .contact-intro {
        font-size: 0.95rem;
    }
    .contact-infos,
    .contact-form {
        width: 100%; /* Pleine largeur sur très petits écrans */
    }
}


.grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

/* Footer */

.main-footer {
    text-align: center;
    padding: 2rem;
    color: #777;
    font-size: 0.9rem;
    margin-top: 4rem;
}
h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.icon-duo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.icon-mini {
    width: 32px;
    height: auto;
    filter: invert(70%) sepia(100%) saturate(600%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.icon-slash {
    color: #ffcc00;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0.2rem;
}
.titre-info {
    font-size: 1.5rem;
    color: #ffcc00;
    margin: 2rem 0 1rem;
    text-align: center;
}

.voir-plus-btn {
    background-color: #ff4f4f;
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 1rem auto;
}

.voir-plus-btn:hover {
    background-color: #e13d3d;
}

.image-container.zoomable img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.image-container.zoomable img:active {
    transform: scale(2);
    cursor: zoom-out;
    z-index: 999;
}



/* ----------------------------- */
/*        Responsive Design      */
/* ----------------------------- */
@media screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .text-column,
    .image-column {
        max-width: 100%;
        text-align: center !important;
    }

    .text-column h1 {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.85); /* Couleur de fond pour éviter la transparence */
        padding: 12px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        backdrop-filter: blur(10px); /* optionnel pour effet flouté */
    }

    .main-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    section {
        padding: 2rem 1rem;
    }

    .profile-image {
        width: 80%;
    }

    .social-icons img {
        width: 24px;
        height: 24px;
    }
}
