/* ==========================================================================
   BRAIDINGLAND MARYLAND - MAIN STYLESHEET
   Color Palette: Luxury Dark (#0B0B0E), Hot Pink (#FF007A / #E91E63), Emerald Green (#00E676)
   ========================================================================== */

/* --- Variables & Reset --- */
: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;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography & Headings --- */
h1, h2, h3, h4 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.highlight-pink { color: var(--pink-hot); }
.highlight-green { color: var(--green-emerald); }

/* --- SVG Utility Sizing --- */
svg {
    display: inline-block;
    vertical-align: middle;
}

.svg-icon {
    width: 18px;
    height: 18px;
}

.svg-icon-wa {
    width: 22px;
    height: 22px;
}

.service-icon-svg {
    width: 32px;
    height: 32px;
    color: var(--pink-hot);
    margin-bottom: 0.8rem;
}

/* --- Glassmorphism Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background: rgba(11, 11, 14, 0.9);
    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);
}

/* --- Alignement & Style du Logo + Texte dans le Header --- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem; /* Espace fluide entre l'image du logo et le texte */
    text-decoration: none;
}

.logo-text {
    color: var(--pink-hot); /* Rose vif (#FF007A) */
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.logo:hover .logo-text {
    text-shadow: 0 0 10px var(--pink-glow);
}

/* Adaptation pour très petits écrans mobiles */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1.1rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.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);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--pink-glow);
}

/* --- Generic Container --- */
.container {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 1.5rem;
}

/* --- 1. HOME / Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 1rem;
}

.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;
    transform: scale(1);
    transition: opacity 1.2s ease-in-out, transform 6s ease-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1.08); /* Ken Burns Effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(11,11,14,0.4) 0%, rgba(11,11,14,0.92) 80%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin-top: 3rem;
}

.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;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--green-emerald);
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.2rem;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 5px 20px var(--green-glow);
    transition: var(--transition-smooth);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--green-glow);
}

/* --- 2. ABOUT SECTION --- */
.about-section {
    padding-top: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 1rem;
    line-height: 1.8;
}

.about-image-wrap {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 360px;
    border-radius: 50%;
    border: 4px solid var(--pink-brand);
    box-shadow: 0 10px 35px var(--pink-glow);
    object-fit: cover;
}

/* ==========================================================================
   ANIMATION ZOOM / DÉZOOM LOGO DANS LE CERCLE (SECTION ABOUT)
   ========================================================================== */

.about-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Conteneur circulaire fixe avec bordure rose néon */
.about-logo-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 4px solid var(--pink-brand);
    background-color: #000000;
    overflow: hidden; /* Empêche le logo de dépasser du cercle lors du zoom */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Animation d'impulsion de la lumière néon rose autour du cercle */
    animation: circleGlow 4s ease-in-out infinite;
}

/* Image du logo animée en zoom/dézoom */
.about-img-animated {
    width: 88%;
    height: 88%;
    object-fit: contain;
    /* Animation ralentie fluide en boucle (durée : 6s) */
    animation: slowZoomLoop 6s ease-in-out infinite;
    transform-origin: center center;
}

/* Keyframes : Animation de Zoom Ralenti */
@keyframes slowZoomLoop {
    0% {
        transform: scale(1); /* Taille normale */
    }
    50% {
        transform: scale(1.18); /* Zoom de 18% au sommet de l'animation */
    }
    100% {
        transform: scale(1); /* Retour fluide à la taille initiale */
    }
}

/* Keyframes : Animation de la lueur Néon du cercle */
@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), 0 0 12px rgba(255, 0, 122, 0.6);
    }
}

/* Adaptation pour écrans mobiles */
@media (max-width: 640px) {
    .about-logo-circle {
        width: 260px;
        height: 260px;
    }
}

/* --- 3. SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    border-color: var(--pink-hot);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 122, 0.15);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-emerald);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- 4. HAIR STYLES PILLS SECTION --- */
.hairstyles-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
}

.hairstyles-pills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.style-pill {
    background: #1C1C26;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 0.8rem 1.4rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: default;
}

.style-pill:hover {
    border-color: var(--pink-hot);
    color: var(--pink-hot);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--pink-glow);
}

/* --- 5. GALLERY SECTION --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--pink-hot);
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.2rem;
}

.gallery-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.gallery-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- 6. CONTACT & BOOKING SECTION --- */
.booking-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto;
}

.booking-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, 
.form-group select {
    background: #1A1A24;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--pink-hot);
    box-shadow: 0 0 10px var(--pink-glow);
}

.btn-whatsapp {
    background: var(--green-emerald);
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 6px 20px var(--green-glow);
    transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--green-glow);
}

/* ==========================================================================
   FOOTER SECTION (MATCHING DESIGN MODEL)
   ========================================================================== */

.site-footer {
    background-color: #2D2D2D;
    color: #FFFFFF;
    font-family: var(--font-primary);
    padding-top: 4rem;
    position: relative;
    margin-top: 6rem;
}

.footer-main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 4rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 2.2fr 1.3fr;
    gap: 2.5rem;
}

/* Column 1: Brand & Official Logo */
.footer-logo-wrap {
    margin-bottom: 1.2rem;
}

.footer-logo-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--pink-brand);
    object-fit: cover;
}

.footer-bio {
    color: #DDDDDD;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    max-width: 300px;
}

.footer-social-circles {
    display: flex;
    gap: 0.8rem;
}

.social-circle-btn {
    width: 42px;
    height: 42px;
    background-color: var(--pink-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-circle-btn:hover {
    transform: translateY(-3px);
    background-color: var(--pink-hover);
}

.social-circle-btn svg {
    width: 20px;
    height: 20px;
}

/* Column Headings */
.footer-title {
    color: var(--pink-brand);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
}

/* Link Lists & Chevrons */
.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-link-list li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link-list li a:hover {
    color: var(--pink-brand);
    padding-left: 4px;
}

.chevron-svg {
    width: 14px;
    height: 14px;
    stroke: #FFFFFF;
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* Hair Style 2-Column Sub-grid */
.hairstyle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #FFFFFF;
    font-size: 0.95rem;
}

.contact-icon-svg {
    width: 18px;
    height: 18px;
    color: #FFFFFF;
    flex-shrink: 0;
}

/* Bottom Copyright Bar */
.footer-bottom-bar {
    background-color: #222222;
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-bar p {
    margin: 0;
    color: #AAAAAA;
    font-size: 0.9rem;
}

/* Back to Top Button */
.scroll-to-top-btn {
    position: absolute;
    right: 2rem;
    bottom: 1.2rem;
    width: 38px;
    height: 38px;
    background-color: var(--pink-brand);
    border: none;
    border-radius: 4px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.scroll-to-top-btn:hover {
    background-color: var(--pink-hover);
}

.scroll-to-top-btn svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-main-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text .section-title {
        text-align: center;
    }

    .booking-container {
        padding: 1.8rem;
    }
}

@media (max-width: 640px) {
    .footer-main-container {
        grid-template-columns: 1