/* GLOBAL RESET & VARIABLES */
:root {
    --bg-color: #0a0a0a; /* Noir profond selon guidelines */
    --text-color: #e5e5e5; /* Gris clair */
    --text-muted: #777777;
    --font-heading: 'My Soul', cursive; /* Titres en font logo */
    --font-body: 'Manrope', sans-serif; /* Corps de texte propre */
    --font-logo: 'My Soul', cursive;
    --accent-color: #6b0303; /* Rouge sang pour séparateurs */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 15px; /* Minimalist body size 14px-16px */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.logo-font {
    font-family: var(--font-logo) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2vh 4vw;
    display: flex;
    justify-content: center; /* Centering as requested */
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-links {
    display: flex;
    gap: 4vw;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 300;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
}

.lang-switch button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    transition: color 0.3s;
}

.lang-switch button.active {
    color: #fff;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.9); /* Éclairci par rapport à l'ancien 0.7 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.8) 100%); /* Overlay légèrement allégé */
    z-index: -1;
    pointer-events: none;
}

.mobile-video { display: none; }
.desktop-video { display: block; }

@media (max-width: 768px) {
    .mobile-video { display: block; }
    .desktop-video { display: none; }
}

.hero-content {
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-content h1 {
    font-size: clamp(5rem, 12vw, 9rem);
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 15px rgba(107, 3, 3, 0.6), 0 0 30px rgba(107, 3, 3, 0.3); /* Léger effet néon rouge sang */
}

.hero-content p {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 300;
    max-width: 80%;
}

.scroll-down {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    animation: bounce 2.5s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* --- COMMON SECTION TITLES --- */
.section-title {
    font-family: var(--font-heading);
    font-size: 4rem; 
    margin-bottom: 8vh;
    text-align: center;
    color: #fff;
    text-transform: none; 
    letter-spacing: 0;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 15vh 4vw;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns desktop */
    gap: 2px;
    background-color: var(--accent-color); /* Red blood borders */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.gallery-item:hover img {
    filter: brightness(1);
    transform: scale(1.02); /* Very soft zoom as requested */
}

.empty-slot {
    background-color: #000 !important; /* Forces black background on empty cell instead of generic gallery red */
}

.gallery-actions {
    text-align: center;
    margin-top: 6vh;
}

.minimal-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #555;
    padding: 12px 30px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.minimal-btn:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .gallery-section { padding: 10vh 0; }
    .gallery-grid { grid-template-columns: 1fr; gap: 0; background-color: transparent; }
    .gallery-item { aspect-ratio: 4/5; border-bottom: 5px solid var(--accent-color); } /* Epaissir ligne en mobile mode */
    .gallery-item:last-child { border-bottom: none; }
    .empty-slot { display: none !important; } /* On retire l'empty slot en format vertical pour éviter un noir trou */
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 15vh 4vw;
    background-color: var(--bg-color);
}

.about-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 6vw;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-text {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.8;
}

.quote-container {
    margin-top: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--accent-color); /* Blood red separator */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-container blockquote {
    font-size: 1rem;
    font-style: italic;
    color: #fff;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
    .about-text {
        order: 2; /* Text below image on mobile */
    }
    .about-image {
        order: 1;
        width: 100%;
    }
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 15vh 4vw;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 6vw;
    align-items: center;
}

.contact-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.contact-form-container {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-image {
        order: 2; /* Image on bottom on mobile */
        width: 100%;
        margin-top: 30px;
    }
    .contact-form-container {
        order: 1; /* Form on top on mobile */
    }
}

.contact-intro {
    text-align: left;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.dark-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.form-group {
    position: relative;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333; /* Removed blood red border - Back to minimal grey */
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-bottom: 1px solid #fff;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 10px;
    color: #666;
    font-size: 0.9rem;
    transition: 0.3s ease all;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Floating label effect */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.75rem;
    color: #fff;
}

.submit-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #555; /* Removed red */
    padding: 15px 30px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
}

.submit-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.form-feedback {
    margin-top: 10px;
    font-size: 0.85rem;
    min-height: 20px;
}
.form-feedback.error {
    color: #ff5555;
}
.form-feedback.success {
    color: #55ff55;
}

/* --- FOOTER --- */
footer {
    padding: 6vh 4vw;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-links a:hover {
    color: #fff;
}
