
/* =================================
   1. CONFIGURATION GÉNÉRALE
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    /*font-family: Arial, sans-serif;*/
    background-color: #fafafa;
    color: #202020;
    line-height: 1.6;
}


/* =================================
   2. MENU DE NAVIGATION
================================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 8%;

    background-color: #fafafa;
    border-bottom: 1px solid #eeeeee;

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -1px;

    color: #202020;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #777777;
    font-size: 14px;

    transition: color 0.3s;
}

nav a:hover {
    color: #000000;
}


/* =================================
   3. SECTION ACCUEIL
================================= */

.hero {
    min-height: 80vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 100px 12%;
}

.subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: #999999;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(45px, 7vw, 90px);
    line-height: 1.1;
    letter-spacing: -4px;
    font-weight: 700;

    max-width: 900px;
}

.hero h1 span {
    color: #999999;
}

.description {
    color: #777777;

    max-width: 480px;
    margin: 30px 0;

    font-size: 16px;
    line-height: 1.8;
}


/* =================================
   4. BOUTONS
================================= */

.button {
    display: inline-block;

    background-color: #202020;
    color: white;

    padding: 16px 28px;

    text-decoration: none;
    font-size: 13px;

    transition: 0.3s;
}

.button:hover {
    background-color: #555555;
    transform: translateY(-4px);
}


/* =================================
   5. AUTRES SECTIONS
================================= */

section:not(.hero) {
    padding: 80px 12%;
    border-top: 1px solid #eeeeee;
}

section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

section p {
    color: #777777;
}


/* =================================
   6. CARTES DES PROJETS
================================= */

.project {
    background-color: #f8ead0;
    padding: 40px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.project:hover {
    background-color: #f8ead0;
    border-color: #dddddd;
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.project h3 {
    margin: 20px 0 10px;
    font-size: 22px;
}


/* =================================
   7. PIED DE PAGE
================================= */

footer {
    padding: 30px;

    text-align: center;

    border-top: 1px solid #f8ead0;

    font-size: 12px;
    color: #888888;
}


/* =================================
   8. VERSION MOBILE
================================= */

@media (max-width: 700px) {

    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px 5%;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        padding: 70px 8%;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    section:not(.hero) {
        padding: 60px 8%;
    }

    .projects {
        grid-template-columns: 1fr;
    }
}

.about {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.about-image img {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.about-content h2 {
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.2;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content .button {
    margin-top: 10px;
}

/* VERSION MOBILE */

@media (max-width: 700px) {

    .about {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image img {
        max-width: 100%;
        max-height: 400px;
    }

}


/* PAGE D'ACCUEIL */

.accueil {
    min-height: 100vh;
    width: 100%;
    position: relative;

    background-image: url("images/photo 7.jpeg");
    background-size: 120% auto ;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Supprimer les marges du navigateur */
body {
    margin: 0;
    padding: 0;
}


/* NOM AU CENTRE */

.presentation {
    text-align: center;
    color: #fdf2c5;
    z-index: 1;
   
    
}

.presentation h1 {
    font-size: clamp(35px, 7vw, 75px);
    letter-spacing: 5px;
    margin-bottom: 12px;
}

.presentation p {
    font-size: 20px;
    letter-spacing: 8px;
    text-transform: lowercase;
}

/* MENU PRINCIPAL */

.menu-container {
    position: absolute;
    top: 30px;
    right: 35px;
    z-index: 100;
}

.menu-button {
    width: 45px;
    height: 45px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.menu-button span {
    width: 27px;
    height: 2px;
    background: rgb(11, 11, 11);
    transition: 0.3s ease;
}

.menu-button:hover span {
    width: 34px;
}

/* MENU DEROULANT */

.menu-panel {
    position: absolute;
    top: 60px;
    right: 0;
    min-width: 190px;
    padding: 25px;

    background: #0e0e0d;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    display: flex;
    flex-direction: column;
    gap: 22px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.menu-panel.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}



/* LIENS DU MENU */

.menu-panel a {
    display: block;
    color: rgb(255, 255, 255) !important;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    transition: 0.2s ease;
}

.menu-panel a:hover {
    opacity: 0.6;
    transform: translateX(5px);
}


/* GALERIE */

.gallery-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    background-color: #f8ead0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    border-bottom: 1px solid #eeeeee;
}

/* Liens du header */
.gallery-header a {
    text-decoration: none;
    color: #080808;
}

/* Logo SOLÈNE parfaitement centré */
.gallery-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    letter-spacing: 4px;
    text-align: center;
}

/* Éléments à gauche et à droite */
.gallery-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.gallery-right {
    display: flex;
    align-items: center;
    gap: 25px;
}
    

/*MARGE COULEUR*/
body {
    margin: 0;
    
    background-color: #f8ead0;
}
.gallery {
    max-width: 1200px;
    margin: auto;
    padding: 80px 40px;
    background-color: #f8ead0;
    min-height: 100vh;
    
}

.gallery-intro {
    margin-bottom: 50px;
}

.gallery-intro h1 {
    font-size: 50px;
    margin: 15px 0;
}

.subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    color: #888;
}

.paintings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    background-color:#f8ead0;
    min-height: 100vh;
}

.painting {
    display: block;
    text-decoration: none;
    color: #110f0f;
    
}

.painting img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.painting:hover img {
    transform: scale(1.02);
}

.painting span {
    display: block;
    margin-top: 15px;
    font-size: 14px;
}

/* PAGE INDIVIDUELLE */

.painting-detail {
    max-width: 1100px;
    margin: 70px auto;
    padding: 0 30px;
}

.painting-detail h1 {
    font-size: 45px;
    margin: 15px 0 35px;
}

.painting-detail img {
    display: block;
    width: 80%;
    max-height: 750px;
    object-fit: contain;
    background: #080808;
}

.painting-detail > p:last-child {
    margin-top: 25px;
    color: #777;
}

@media (max-width: 700px) {
    .paintings {
        grid-template-columns: 1fr;
    }

    .gallery {
        padding: 50px 20px;
    }
      .painting img {
        height: 280px;
    }
}



/*COPYRIGHT*/
.mention-verticale {
    position: fixed;
    left: 20px;
    top: 95%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;

    color: #0e0e0e;
    font-size: 7px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 100;
}

/*Section Contact*/

.contact {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 12%;
    box-sizing: border-box;

   
}

.contact-texte {
    max-width: 1000px;
}



/*Section A propros*/

.apropos {
    min-height: 100vh;
    background-color: #fdfbd4;
    padding: 100px 5%;
    box-sizing: border-box;
    text-align: center;
}

.apropos h1 {
    font-size: 45px;
    margin-bottom: 70px;
}

.apropos-contenu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    max-width: 1300px;
    margin: auto;
}

.apropos-contenu img {
    width: 27%;
    max-height: 450px;
    object-fit: cover;
}

.apropos-texte {
    max-width: 420px;
    line-height: 1.8;
    text-align: center;
    padding: 15px;
}

.apropos-texte h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.apropos-texte p {
    margin-bottom: 20px;
}

/* Adaptation aux téléphones */

@media (max-width: 800px) {
    .apropos-contenu {
        flex-direction: column;
    }

    .apropos-contenu img {
        width: 80%;
        max-height: 400px;
    }
}

/* Texte entre l'accueil et la galerie */
.introduction-galerie {
    background-color: #f8ead0;
    text-align: center;
    padding: 10px 20px;
    margin: 0;
}

.introduction-galerie p {
    font-family: "Juana", serif;
    font-size: 24px;
    color: #222222;
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Galerie d'accueil */
.galerie-accueil {
    background-color: #f8ead0;
    padding: 10px 5% 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0;
}

.galerie-accueil img {
    width: 100%;
    height: 650px;
    object-fit: contain;
    display: block;
}

@media (max-width: 700px) {
    .galerie-accueil {
        grid-template-columns: 1fr;
    }

    .galerie-accueil img {
        height: auto;
    }
}

/* Texte entre galerie 1 et galerie 2 */
.introduction-galerie2 {
    background-color: #f8ead0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 60px 10%;
}

.texte-introduction2 {
    flex: 1;
    max-width: 550px;
    text-align: center;
}

.texte-introduction2 p {
    font-family: "Juana", serif;
    font-size: 24px;
    color: hsl(130, 47%, 19%);
    line-height: 1.7;
    letter-spacing: 1px;
}

.image-introduction2 {
    flex: 1;
}

.image-introduction2 img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: flex;
}

/* Adaptation téléphone */
@media (max-width: 700px) {
    .introduction-galerie2 {
        flex-direction: column;
        gap: 30px;
        padding: 40px 8%;
    }

    .image-introduction2 img {
        max-height: 350px;
    }
}

/* police d'écriture */
/*
@font-face {
    font-family: "Ragazza";
    src: url("fonts/latinotype-ragazza-script.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}
    */

@font-face {
    font-family: "cormorant";
    src: url("./fonts/cormorant-regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}


.header-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: #f8ead0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-sizing: border-box;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.8s ease;
}

.header-2.visible {
    transform: translateY(0px);
}

.header-2-logo,
.header-2-menu a {
    font-family: "Juana", serif;
    color: #222222;
}

.header-2-menu {
    display: flex;
    gap: 30px;
}

.header-2-menu a {
    text-decoration: none;
    font-size: 18px;
}


/* Pied de page Contact */

.footer-contact {
    background-color: #f8ead0;
    color: #222222;
    padding: 65px 30px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo img {
    width: 150px;
    height: auto;
    display: block;
    margin: auto;
}

.footer-navigation,
.footer-reseaux {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

.footer-navigation a,
.footer-reseaux a {
    font-family: "Juana", serif;
    font-size: 17px;
    color: #222222;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-navigation a:hover,
.footer-reseaux a:hover {
    opacity: 0.5;
}

.footer-copyright {
    font-size: 12px;
    margin-top: 20px;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .footer-navigation,
    .footer-reseaux {
        gap: 18px;
    }

    .footer-logo a {
        font-size: 30px;
    }
}

html, body, body * {
    font-family: "Juana", serif;
}


/* { font-family: "Great Vibes", cursive; }

* { font-family: "Parisienne", cursive; }
* { font-family: "Italianno", cursive; }
* { font-family: "Tangerine", cursive; }
* { font-family: "Pinyon Script", cursive; }
* { font-family: "Petit Formal Script", cursive; }
* { font-family: "Ballet", cursive; }
* { font-family: "Euphoria Script", cursive; }
{ font-family: "Allura", cursive; }*/




/* GALERIE */
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.gallery-section {
    position: relative;
    width: 100%;
    height: 650px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.gallery-viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    height: 100%;
    width: max-content;
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.gallery-slide {
    flex: 0 0 80vw;
    width: 80vw;
    height: 100%;
    overflow: hidden;
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flèches sur les photos latérales */
.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #080808;
    font-size: 48px;
    cursor: pointer;
    width: 42px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-arrow.prev {
    left: 10px;
}

.gallery-arrow.next {
    right: 10px;
}

.gallery-arrow:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .gallery-section {
        height: 400px;
    }

    .gallery-arrow {
        font-size: 30px;
        width: 34px;
        height: 48px;
    }
}


/*Galerie 2*/
.second-gallery {
    width: 100%;
    margin: 0;
    padding: 35px 0;
    background-color: #f8ead0;
    overflow: hidden;
}

.second-gallery-container {
    position: relative;
    width: 120%;
    height: 500px;
    margin: -10%;
    overflow: hidden;
}

.second-gallery-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.second-gallery-track {
    display: flex;
    gap: 0;
    height: 100%;
    width: max-content;
    transition: transform 0.18s ease-out;
    will-change: transform;
}

.second-gallery-track img {
    flex: 0 0 30vw;
    width: 30vw;
    height: 85%;
    object-fit: cover;
    align-self: center;
    display: block;
}

.second-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: transparent;
    border: none;
    color: #333;
    font-size: 45px;
    cursor: pointer;
}

.second-arrow.prev {
    left: 2%;
}

.second-arrow.next {
    right: 2%;
}

@media (max-width: 768px) {
    .second-gallery-container {
        height: 300px;
    }
}


/*Section Contact*/

.presentation-image {
    width: 100%;
    padding: 60px 0;
    margin: 0;
}

.presentation-image-content {
    position: relative;
    width: 120%;
    height: 450px;
    margin-left: -10%;
    overflow: hidden;
}

.presentation-image-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.presentation-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    padding: 35px 40px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.65);
    text-align: center;
    color: #222;
}

@media (max-width: 768px) {
    .presentation-image-content {
        height: 400px;
    }

    .presentation-overlay {
        width: 85%;
        padding: 20px;
    }
}
/*GAELERIE MOSAÏQUE*/


/* GALERIE PROJETS */

.projects-page {
    width: 120%;
    margin-left: -10%;
    padding: 50px 4%;
}

.projects-mosaic {
    column-count: 2;
    column-gap: 25px;
    width: 120%;
    margin-left: -10%;
}

.mosaic-item {
    width: 100%;
    margin-bottom: 25px;
    break-inside: avoid;
}

.mosaic-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* MOBILE : UNE IMAGE PAR LIGNE */

@media (max-width: 600px) {
    .projects-page {
        padding: 30px 4%;
    }

    .projects-mosaic {
        column-count: 1;
        column-gap: 0;
    }

    .mosaic-item {
        margin-bottom: 18px;
    }
}