/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #111111;
    --bg-light: #F9F9F9;
    --text-main: #ffffff;
    --text-dark: #111111;
    --text-grey: #888888;
    --accent: #d4af37; /* Optionnel pour des touches dorées si besoin */
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- CLOSE BUTTON --- */
.close-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.close-btn svg {
    color: white;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; }
p { line-height: 1.6; font-size: 0.95rem; color: #ccc; }

/* --- LOADER --- */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s ease-in-out;
}
.loader-text { font-family: var(--font-heading); font-size: 2rem; letter-spacing: 5px; animation: pulse 1.5s infinite; }
.loader.hidden { transform: translateY(-100%); }

@keyframes pulse { 0% {opacity: 0.5;} 50% {opacity: 1;} 100% {opacity: 0.5;} }

/* --- COMPONENTS --- */
.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid white;
    margin-top: 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.btn-outline:hover { background: white; color: black; }

.btn-small {
    padding: 8px 20px;
    background: black;
    color: white;
    font-size: 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
}
.btn-small:hover { transform: scale(1.05); }

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: absolute;
    width: 100%;
    z-index: 10;
}
.logo { font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 2px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* Hamburger Mobile */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    transition: all 0.3s ease;
}
.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animation hamburger -> X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}
.hamburger.active span:nth-child(2) {
    transform: rotate(-45deg) translateY(-7px);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    background: linear-gradient(to right, #111 40%, transparent 40%);
}
.hero-content { width: 40%; padding-right: 50px; z-index: 2; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.hero-image {
    position: absolute;
    top: 0; right: 0;
    width: 60%; height: 100%;
    z-index: 1;
}
.img-placeholder { width: 100%; height: 100%; background-size: cover; background-position: center; filter: grayscale(100%); transition: 1s; }
.hero-image:hover .img-placeholder { filter: grayscale(0%); }

.hero-infos {
    margin-top: 80px;
    display: flex;
    gap: 40px;
    font-size: 0.75rem;
}
.hero-infos span { display: block; margin-bottom: 5px; font-weight: 600; color: white; text-transform: uppercase; }
.hero-infos p { color: #888; }

/* --- SECTIONS COMMON --- */
section { padding: 100px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-white { background: var(--bg-light); color: var(--text-dark); }
.section-white p { color: #555; }
.section-dark { background: var(--bg-dark); color: white; }
.section-light { background: #EAEAEA; color: var(--text-dark); }

/* --- SERVICES --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 3rem; margin-bottom: 10px; }
.services-list { max-width: 800px; margin: 0 auto; }
.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
}
.service-info h3 { font-size: 1.2rem; font-family: var(--font-body); }
.service-info span { font-size: 0.8rem; color: #888; text-transform: uppercase; }
.service-meta { display: flex; align-items: center; gap: 20px; }
.price { font-weight: 600; }

/* --- SALON (About) --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.image-wrapper { height: 500px; overflow: hidden; }
.text-wrapper h2 { font-size: 3rem; margin-bottom: 20px; }
.text-wrapper p { margin-bottom: 20px; }
.socials a { margin-right: 20px; font-size: 0.8rem; border-bottom: 1px solid transparent; }
.socials a:hover { border-bottom: 1px solid white; }

/* --- STYLISTS --- */
.stylist-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stylist-info { width: 45%; }
.stylist-info h2 { font-size: 2.5rem; }
.stylist-info .role { display: block; margin-bottom: 20px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }
.stylist-info p { color: #333; margin-bottom: 30px; font-style: italic; }
.stylist-img { width: 400px; height: 400px; border-radius: 50%; overflow: hidden; }
.img-circle { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s; }
.stylist-card:hover .img-circle { transform: scale(1.1); }

/* --- TESTIMONIALS --- */
.testimonials {
    background: url('https://images.unsplash.com/photo-1634449571010-02389ed0f9b0?q=80&w=2070&auto=format&fit=crop') center/cover fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}
.testimonials .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
}
.testimonials .content { position: relative; z-index: 2; max-width: 600px; }
.testimonials h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 30px; }
.testimonials .quote { font-family: var(--font-heading); font-size: 2rem; color: white; margin-bottom: 20px; }

/* --- FOOTER --- */
footer { text-align: center; padding: 30px; font-size: 0.8rem; color: #555; background: #050505; }

/* --- ANIMATIONS (Reveal Class) --- */
.reveal { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* Menu mobile fullscreen */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-links.open a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.open a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.open a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.open a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.open a:nth-child(4) { transition-delay: 0.4s; }

    .hamburger { display: flex; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
    
    .hero { flex-direction: column; padding-top: 100px; background: #111; }
    .hero-content { width: 100%; padding: 0; text-align: center; margin-bottom: 40px; }
    .hero-image { position: relative; width: 100%; height: 400px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-infos { flex-direction: column; gap: 20px; margin-top: 40px; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .stylist-card { flex-direction: column-reverse; text-align: center; }
    .stylist-info { width: 100%; margin-top: 30px; }
    .stylist-img { width: 250px; height: 250px; margin: 0 auto; }
    
    .service-row { flex-direction: column; text-align: center; gap: 15px; }
    .service-meta { width: 100%; justify-content: center; }
}