/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-gold: #c5a059;
    --surface-dark: #111;
    --border-color: #333;
    --whatsapp-green: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }

/* --- 2. NAVIGATION (Glassmorphism) --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%;
    
    /* GLASS EFFECT */
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo { font-size: 1.8rem; font-weight: 700; color: #fff; display: inline-block; }
.logo span { color: var(--accent-gold); }
.logo:hover { opacity: 0.8; }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover { color: var(--accent-gold); }

.btn-nav {
    border: 1px solid var(--accent-gold); padding: 8px 20px;
    border-radius: 50px; color: var(--accent-gold) !important;
}
.btn-nav:hover { background: var(--accent-gold); color: #000 !important; }

/* Mobile Menu */
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: #fff; }

.mobile-menu-overlay {
    display: none; position: fixed; top: 70px; left: 0; width: 100%; height: 100vh;
    background: var(--bg-color); flex-direction: column; align-items: center;
    padding-top: 50px; gap: 30px; z-index: 999;
}
.mobile-menu-overlay.active { display: flex; }
.mobile-menu-overlay a { font-size: 1.2rem; }
.nav-phone-display { display: inline-block; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-phone-display { display: none; }
}

/* --- 3. HERO CAROUSEL SECTION --- */
.hero {
    height: 80vh;
    position: relative; /* Essential for layering */
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px;
    overflow: hidden;
}

/* Content sits on top of slides */
.hero-content {
    position: relative; z-index: 2;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; color: #ccc; max-width: 600px; margin-left: auto; margin-right: auto; }

/* The slides sit behind content */
.hero-carousel {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out;
}
/* Dark overlay on slides to make text readable */
.hero-slide::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); /* 60% Dark Overlay */
}
.hero-slide.active { opacity: 1; }

.location-tag { color: var(--accent-gold); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.btn-hero {
    background: var(--accent-gold); color: #000; padding: 15px 40px;
    font-weight: 700; border-radius: 50px; display: inline-block;
}

/* --- 4. SERVICES GRID --- */
.services { padding: 80px 5%; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header span { display: block; font-size: 0.8rem; margin-bottom: 10px; letter-spacing: 2px; }
.section-header h2 { font-size: 2.5rem; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card {
    background: var(--surface-dark); padding: 30px;
    border: 1px solid var(--border-color); border-radius: 8px;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--accent-gold); }
.top-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 15px; }
.top-row h3 { font-size: 1.2rem; color: #fff; }
.price { color: var(--accent-gold); font-family: 'Lato', sans-serif; font-weight: 700; }
.tag {
    font-size: 0.7rem; text-transform: uppercase; border: 1px solid #444;
    padding: 4px 10px; border-radius: 20px; margin-top: 15px; display: inline-block;
}
.featured { border-color: var(--accent-gold); background: #0f0f0f; }
.promo-badge {
    position: absolute; top: 0; right: 0; background: #c5a059; color: #000;
    font-size: 0.6rem; font-weight: bold; padding: 5px 10px;
    border-bottom-left-radius: 8px;
}

/* --- 5. FOOTER --- */
footer {
    background: var(--surface-dark); padding: 50px 5%; text-align: center;
    border-top: 1px solid var(--border-color);
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 20px; display: inline-block; color: #fff; }
.footer-logo:hover { color: var(--accent-gold); }

.footer-links a { margin: 0 15px; color: #888; display: inline-block; margin-bottom: 10px; }
.footer-links i { color: var(--accent-gold); margin-right: 5px; }
.copyright { margin-top: 30px; color: #555; font-size: 0.8rem; }

/* --- 6. WIZARD / ORDER PAGE STYLES --- */
.wizard-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #050505; }
.wizard-container {
    width: 100%; max-width: 500px; background: #0a0a0a;
    padding: 30px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center; position: relative;
    padding-top: 20px;
}
.wizard-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #fff; position: absolute; top: 20px; left: 30px; }
.reset-btn { position: absolute; top: 25px; right: 30px; color: #444; cursor: pointer; }

.step { display: none; animation: fadeIn 0.5s; margin-top: 40px; }
.step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.step h1 { font-size: 1.8rem; margin-bottom: 10px; }
.dynamic-msg { color: var(--accent-gold); font-size: 0.9rem; margin-bottom: 30px; }
.payment-warning { text-align:center; font-size:0.8rem; color:#e74c3c; margin-bottom:15px; }

.btn {
    background: var(--accent-gold); color: #000; border: none; padding: 15px 30px;
    width: 100%; font-weight: 700; border-radius: 8px; cursor: pointer; font-size: 1rem; margin-top: 10px;
}
.btn-outline { background: transparent; border: 1px solid #333; color: #fff; margin-bottom: 10px; }
.btn-outline:hover { border-color: var(--accent-gold); }

.pagination-btn {
    background: transparent; border: 1px solid #333; color: #888;
    width: 100%; padding: 10px; margin-top: 10px; border-radius: 8px;
    font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease;
}
.pagination-btn:hover { border-color: #c5a059; color: #c5a059; }

.select-grid { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.select-option {
    padding: 15px; border: 1px solid #222; border-radius: 8px;
    cursor: pointer; transition: 0.2s;
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.select-option span { text-align: left; flex: 1; }
.select-option small { white-space: nowrap; flex-shrink: 0; color: #666; }
.select-option:hover, .select-option.selected { border-color: var(--accent-gold); background: #111; }
.select-option.selected small { color: var(--accent-gold); }

.gatekeeper-box {
    background: #111; padding: 15px; border-radius: 8px;
    border: 1px solid #333; margin-bottom: 20px; text-align: left;
}
.gatekeeper-inner { display: flex; gap: 10px; align-items: flex-start; }
.gatekeeper-inner input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-gold); padding:0; }
.gatekeeper-inner label { font-size: 0.85rem; line-height: 1.4; color: #ccc; }

input {
    width: 100%; background: #000; border: 1px solid #333; color: #fff;
    padding: 15px; border-radius: 8px; margin-bottom: 15px; font-size: 1rem;
}
input:focus { border-color: var(--accent-gold); outline: none; }

.progress-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.dot { width: 8px; height: 8px; background: #222; border-radius: 50%; }
.dot.active { background: var(--accent-gold); }
.back-link { margin-top: 20px; font-size: 0.8rem; color: #666; cursor: pointer; text-decoration: underline; }

/* --- 7. ABOUT PAGE STYLES --- */
.about-section { max-width: 800px; margin: 40px auto; padding: 20px; color: #ccc; }
.about-section h1 { color: var(--accent-gold); font-size: 2.5rem; margin-bottom: 20px; }
.about-section h2 { color: #fff; font-size: 1.8rem; margin-top: 40px; margin-bottom: 20px; text-align: center; }
.about-section h3 { color: #fff; margin-top: 10px; margin-bottom: 5px; font-size: 1.1rem; }
.about-intro { font-size: 1.1rem; margin-bottom: 20px; }
.about-highlight { margin-top: 20px; font-style: italic; border-left: 3px solid #c5a059; padding-left: 15px; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
@media(min-width: 600px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: #111; padding: 20px; border-radius: 8px; border: 1px solid #333; }
.map-container { margin-top: 40px; border: 1px solid var(--accent-gold); border-radius: 8px; overflow: hidden; height: 350px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.team-card { background: #111; border: 1px solid #333; border-radius: 8px; padding: 20px; text-align: center; transition: transform 0.3s; }
.team-card:hover { transform: translateY(-5px); border-color: var(--accent-gold); }
.team-photo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-gold); margin-bottom: 15px; background-color: #222; }
.team-role { color: #888; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- 8. INTAKE FORM STYLES --- */
.intake-container { max-width: 600px; margin: 40px auto; background: #111; padding: 30px; border-radius: 12px; border: 1px solid #333; }
.intake-section { margin-bottom: 30px; border-bottom: 1px solid #222; padding-bottom: 20px; }
.intake-section h2 { color: var(--accent-gold); font-size: 1.2rem; margin-bottom: 15px; }
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #ccc; }
.checkbox-item input { width: 18px; height: 18px; accent-color: var(--accent-gold); margin-bottom: 0; padding:0; }
textarea { width: 100%; background: #000; border: 1px solid #333; color: #fff; padding: 10px; border-radius: 5px; font-family: inherit; margin-top: 5px; }
.signature-line { margin-top: 20px; }
.btn-submit { width: 100%; background: var(--accent-gold); color: #000; padding: 15px; font-weight: bold; border: none; border-radius: 5px; cursor: pointer; font-size: 1rem; margin-top: 10px; }

/* --- 9. LEGAL PAGE --- */
.legal-page { padding: 20px; max-width: 800px; margin: 0 auto; color: #ccc; }
.legal-page h1, .legal-page h2 { color: var(--accent-gold); margin-top: 40px; }
.legal-page h1 { border-bottom: 1px solid #333; padding-bottom: 10px; }
.legal-page ul { padding-left: 20px; margin-bottom: 15px; }
.back-btn { display: inline-block; margin-bottom: 20px; color: #fff; text-decoration: none; border: 1px solid #333; padding: 10px 20px; border-radius: 5px; transition: all 0.3s ease; }
.back-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* --- 10. COOKIE BANNER --- */
#cookieBanner { position: fixed; bottom: -150px; left: 0; width: 100%; background: #111; border-top: 1px solid var(--accent-gold); padding: 20px; text-align: center; transition: bottom 0.5s ease-in-out; z-index: 9999; box-shadow: 0 -5px 20px rgba(0,0,0,0.5); }
#cookieBanner p { color: #fff; font-size: 0.9rem; margin-bottom: 15px; display: inline-block; margin-right: 15px; }
#cookieBanner a { color: var(--accent-gold); text-decoration: underline; }
#cookieBanner button { background: var(--accent-gold); color: #000; border: none; padding: 10px 25px; font-weight: bold; border-radius: 4px; cursor: pointer; }

/* --- 11. SCROLL REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 12. AFRICAN THEME TEXTURES & MUSIC */

/* Subtle Mud Cloth / Kente Texture Overlay */
.afro-texture {
    position: relative;
}
.afro-texture::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Creates a subtle geometric weave pattern */
    background-image: 
        linear-gradient(45deg, #1a1a1a 25%, transparent 25%, transparent 75%, #1a1a1a 75%, #1a1a1a),
        linear-gradient(45deg, #1a1a1a 25%, transparent 25%, transparent 75%, #1a1a1a 75%, #1a1a1a);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
    opacity: 0.05; /* Very faint texture */
    z-index: 0;
    pointer-events: none;
}

/* Adinkra-Style Section Divider */
.afro-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    opacity: 0.6;
}
.afro-divider::before, .afro-divider::after {
    content: "";
    height: 1px;
    width: 100px;
    background: var(--accent-gold);
}
.afro-divider span {
    margin: 0 15px;
    color: var(--accent-gold);
    font-size: 1.2rem;
    /* Uses a geometric shape to mimic Adinkra */
    transform: rotate(45deg);
    display: inline-block;
    border: 2px solid var(--accent-gold);
    width: 12px; height: 12px;
}

/* Music Floating Button */
.music-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001; /* Above everything */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.music-fab:hover {
    transform: scale(1.1);
    background: var(--accent-gold);
    color: #000;
}
.music-fab.playing {
    animation: pulse-gold 2s infinite;
    background: var(--accent-gold);
    color: #000;
}
.music-fab i { font-size: 1.2rem; }

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* Adjust Service Card for Texture */
.service-card { z-index: 1; }