/* ==========================================================================
   BRAIDINGLAND MARYLAND - FEUILLE DE STYLE 100% RESPONSIVE
   ========================================================================== */

:root {
    --bg-dark: #0B0B0E;
    --bg-card: #141419;
    --bg-card-hover: #1C1C26;
    --border-color: #22222E;
    --pink-hot: #FF007A;
    --pink-brand: #E91E63;
    --pink-hover: #D81B60;
    --pink-glow: rgba(255, 0, 122, 0.35);
    --green-emerald: #00E676;
    --green-glow: rgba(0, 230, 118, 0.35);
    --text-white: #FFFFFF;
    --text-muted: #9E9EA8;
    --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* --- Typographie & Titres --- */
h1, h2, h3, h4 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* --- Navigation Header --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background: rgba(11, 11, 14, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--pink-hot);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--pink-hot);
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink-hot), #D00062);
    color: var(--text-white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px var(--pink-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Bouton Hamburger (caché sur PC) */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0.4rem;
}

/* --- Container Général --- */
.container {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1.5rem;
}

/* --- 1. HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 6rem 1.5rem 3rem 1.5rem;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(11,11,14,0.5) 0%, rgba(11,11,14,0.95) 85%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(255, 0, 122, 0.15);
    border: 1px solid var(--pink-hot);
    color: var(--pink-hot);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--green-emerald);
    color: #000;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.9rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 5px 20px var(--green-glow);
}

/* --- 2. ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 1rem;
}

.about-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-circle {
    width: 300px;
    height: 300px;
    max-width: 100%;
    border-radius: 50%;
    border: 4px solid var(--pink-brand);
    background-color: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: circleGlow 4s ease-in-out infinite;
}

.about-img-animated {
    width: 88%;
    height: 88%;
    object-fit: contain;
    animation: slowZoomLoop 6s ease-in-out infinite;
}

@keyframes slowZoomLoop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

@keyframes circleGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(233, 30, 99, 0.4); }
    50% { box-shadow: 0 0 35px rgba(233, 30, 99, 0.85); }
}

/* --- 3. SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.8rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-emerald);
    margin-top: 1rem;
}

/* --- 4. HAIR STYLES PILLS --- */
.hairstyles-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 1.5rem;
    text-align: center;
}

.hairstyles-pills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.style-pill {
    background: #1C1C26;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- 5. GALLERY SECTION --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.gallery-info { padding: 1rem; }

/* --- 6. BOOKING FORM --- */
.booking-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 1.8rem;
    max-width: 650px;
    margin: 0 auto;
}

.booking-form {
    display: grid;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group input, .form-group select {
    width: 100%;
    background: #1A1A24;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.btn-whatsapp {
    background: var(--green-emerald);
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #2D2D2D;
    padding-top: 3.5rem;
    margin-top: 5rem;
}

.footer-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 1.2fr;
    gap: 2rem;
}

.footer-logo-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 2px solid var(--pink-brand);
    object-fit: contain;
}

.footer-title {
    color: var(--pink-brand);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-link-list a {
    color: #FFF;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hairstyle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-bottom-bar {
    background-color: #222222;
    padding: 1.2rem 1.5rem;
    text-align: center;
    position: relative;
    font-size: 0.85rem;
    color: #AAA;
}

.scroll-to-top-btn {
    position: absolute;
    right: 1.5rem;
    bottom: 0.8rem;
    width: 36px;
    height: 36px;
    background-color: var(--pink-brand);
    border: none;
    border-radius: 4px;
    color: #FFF;
    cursor: pointer;
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */

/* --- Tablette (max 992px) --- */
@media (max-width: 992px) {
    .footer-main-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* --- Smartphone & Petit écran (max 768px) --- */
@media (max-width: 768px) {
    /* Activer Menu Mobile */
    .menu-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(11, 11, 14, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.2rem;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }

    /* Hero Responsive */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-logo-circle {
        width: 250px;
        height: 250px;
    }

    /* Footer Single Column */
    .footer-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hairstyle-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Très Petit Mobile (max 480px) --- */
@media (max-width: 480px) {
    .logo-text { font-size: 1.1rem; }
    
    .hero-content h1 { font-size: 1.8rem; }

    .section-title { font-size: 1.7rem; }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    .about-logo-circle {
        width: 210px;
        height: 210px;
    }

    .scroll-to-top-btn {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 1rem auto 0 auto;
        display: block;
    }
}