/* ==========================================================================
   Mise en page générale & Variables
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   En-tête (Header & Navigation) - Fond noir corrigé
   ========================================================================== */
.site-header {
    background-color: #000000; /* Force le noir pur identique à l'arrière-plan du logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222; /* Ligne de démarcation discrète */
}

.logo {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.7;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Transitions et Overlay
   ========================================================================== */
#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.page.active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   Page d'accueil (Home / Hero)
   ========================================================================== */
.hero-container {
    position: relative;
    width: 100vw;
    height: calc(100vh - 85px); /* Hauteur moins l'en-tête */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slogan {
    position: absolute;
    bottom: 10%;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero-slogan h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
}

/* ==========================================================================
   Pages intérieures (Contenu général)
   ========================================================================== */
.page-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 50px;
    min-height: calc(100vh - 85px);
}

.page-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-subtitle {
    color: #888888;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Galerie (Portfolio)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
    border-radius: 4px;
    background-color: #111111;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   Biographie (L'Œil)
   ========================================================================== */
.bio-content {
    max-width: 1000px;
}

.bio-text {
    font-size: 1.1rem;
    color: #dddddd;
}

.bio-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-style: italic;
    font-weight: 400;
}

.bio-text p {
    margin-bottom: 20px;
}

.bio-profile-img {
    border: 1px solid #333333;
}

/* ==========================================================================
   Contact & Collaborations
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #444;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s, border-color 0.3s;
}

.social-icons a:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #111111;
    border: 1px solid #333333;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #666666;
}

.submit-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 18px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.85;
}

/* ==========================================================================
   Visionneuse d'images (Lightbox) Style
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================================================
   Responsive Design (Écrans mobiles et tablettes)
   ========================================================================== */
@media (max-width: 900px) {
    .site-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu ul {
        gap: 20px;
        justify-content: center;
    }

    .page-content {
        padding: 40px 20px;
    }

    .bio-content > div {
        flex-direction: column-reverse !important;
        gap: 30px !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}