
:root{
    --bg-base:#050506;
    --text-main:#f7f7f8;
    --text-muted:#c5c5c7;
    --accent:#ffffff;
    --accent-soft:#e1e1e4;
    --panel:#151518;
    --border:#424246;
}

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

body{
    margin:0;
    background:var(--bg-base);
    color:var(--text-main);
    font-family:-apple-system,BlinkMacSystemFont,'Poppins',sans-serif;
    scroll-behavior:smooth;
}

/* NAVIGATION */
.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 26px;
    background:rgba(5,5,6,0.96);
    border-bottom:1px solid var(--border);
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter:blur(10px);
}
.logo-area{
    display:flex;
    align-items:center;
    gap:10px;
}
.logo{
    height:38px;
    width:38px;
    border-radius:50%;
    background:radial-gradient(circle,#f5f5f7,#7b7f86);
    border:2px solid #e0e0e3;
}
.name{
    font-weight:700;
    color:var(--accent);
    letter-spacing:0.1em;
    font-size:0.9rem;
    text-transform:uppercase;
}
.nav-links{
    display:flex;
    gap:18px;
    align-items:center;
}
.nav-link{
    color:var(--text-muted);
    text-decoration:none;
    font-size:0.95rem;
    padding-bottom:4px;
    position:relative;
}
.nav-link.active{
    color:var(--accent);
    font-weight:600;
}
.nav-link.active::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-3px;
    width:100%;
    height:2px;
    background:var(--accent);
}
.book-btn{
    background:var(--accent);
    color:#111;
    padding:8px 18px;
    border-radius:999px;
    font-weight:600;
    text-decoration:none;
    font-size:0.9rem;
}

/* MOBILE */
.hamburger{
    display:none;
    font-size:1.6rem;
    cursor:pointer;
    color:var(--accent);
}
.mobile-menu{
    display:none;
    flex-direction:column;
    background:#111114;
    position:fixed;
    top:60px;
    right:0;
    width:210px;
    padding:12px 16px;
    z-index:80;
    box-shadow:-2px 4px 12px rgba(0,0,0,0.7);
}
.mobile-menu a{
    color:var(--text-main);
    text-decoration:none;
    padding:8px 0;
}

/* SECTION BASE WITH BLACK MARBLE BACKGROUND */
.section{
    padding:80px 24px;
    background:url('barber-bg.png') top center/cover no-repeat;
    background-color:#050506;
    border-bottom:1px solid #151518;
}
.content{
    max-width:960px;
    margin:0 auto;
}

/* To keep text readable above busy background */
.section .content,
.hero-inner{
    background:linear-gradient(135deg,rgba(0,0,0,0.78),rgba(0,0,0,0.9));
    border-radius:14px;
    padding:28px 22px;
    box-shadow:0 10px 30px rgba(0,0,0,0.7);
}

/* HERO */
.hero{
    min-height:70vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}
.hero-inner{
    max-width:640px;
}
.hero h1{
    font-size:2.8rem;
    margin-bottom:12px;
}
.hero p{
    font-size:1.1rem;
    margin-bottom:22px;
    color:var(--text-muted);
}
.cta{
    display:inline-block;
    background:var(--accent);
    color:#111;
    padding:12px 24px;
    border-radius:999px;
    text-decoration:none;
    font-weight:600;
    box-shadow:0 6px 14px rgba(0,0,0,0.7);
}
.cta:hover{
    box-shadow:0 8px 18px rgba(0,0,0,0.85);
}

/* SECTION HEADINGS */
.section h2{
    font-size:2.1rem;
    margin-bottom:12px;
    text-align:center;
}
.section-sub{
    text-align:center;
    margin-bottom:24px;
    color:var(--text-muted);
    font-size:0.98rem;
}

/* SERVICES */
.pricing{
    list-style:none;
    max-width:520px;
    margin:0 auto;
    background:rgba(10,10,12,0.9);
    border-radius:10px;
    border:1px solid var(--border);
    overflow:hidden;
}
.pricing li{
    display:flex;
    justify-content:space-between;
    padding:10px 14px;
    border-bottom:1px solid #343438;
    font-size:0.97rem;
}
.pricing li:last-child{
    border-bottom:none;
}
.service-name{
    color:var(--accent-soft);
}
.price{
    font-weight:600;
}

/* GALLERY */
.gallery{
    display:flex;
    flex-direction:column;
    gap:18px;
    align-items:center;
}
.pair{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
}
.gallery-card{
    background:rgba(10,10,12,0.9);
    border-radius:10px;
    padding:10px;
    border:1px solid var(--border);
}
.gallery img{
    width:220px;
    max-width:100%;
    border-radius:8px;
    display:block;
}
.gallery p{
    margin-top:6px;
    font-size:0.9rem;
    text-align:center;
    color:var(--text-muted);
}

/* BARBERS */
.barbers{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:center;
}
.barber-card{
    width:250px;
    background:rgba(10,10,12,0.9);
    border-radius:10px;
    padding:16px;
    border:1px solid var(--border);
}
.barber-card img{
    width:100%;
    height:auto;
    display:block;
    border-radius:8px;
    box-shadow:0 6px 18px rgba(0,0,0,0.6);;
    border-radius:8px;
    margin-bottom:10px;
}
.barber-card h3{
    margin-bottom:6px;
}
.barber-card p{
    font-size:0.92rem;
    color:var(--text-muted);
}

/* CONTACT FORM */
.contact-form{
    max-width:520px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:14px;
}
.contact-form label{
    display:flex;
    flex-direction:column;
    gap:4px;
    font-size:0.95rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select{
    padding:9px 11px;
    border-radius:6px;
    border:1px solid var(--border);
    background:#18181b;
    color:var(--text-main);
    font-size:0.95rem;
}
.contact-form textarea{
    resize:vertical;
}

/* FOOTER */
footer{
    text-align:center;
    padding:18px;
    background:#050506;
    color:#9c9ca0;
    font-size:0.85rem;
}

/* ANIMATIONS */
.fade-section{
    opacity:0;
    transform:translateY(26px);
    transition:opacity 0.7s ease, transform 0.7s ease;
}
.fade-section.visible{
    opacity:1;
    transform:translateY(0);
}

/* RESPONSIVE */
@media(max-width:768px){
    .nav-links{display:none;}
    .hamburger{display:block;}
    .section{padding:70px 16px;}
    .hero h1{font-size:2.2rem;}
    .section .content,
    .hero-inner{
        padding:22px 18px;
    }
}


/* === Hero alignment tweak === */
.hero{
    align-items:flex-start;
}
.hero-inner{
    max-width:640px;
    margin-top:12vh;
    text-align:left;
}

/* === Fade-to-black at bottom of viewport === */
body{
    position:relative;
}
body::after{
    content:"";
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    height:180px;
    pointer-events:none;
    background:linear-gradient(to bottom, transparent, #000000);
    z-index:0;
}
.nav, main, footer{
    position:relative;
    z-index:1;
}

/* === Team cards & Booksy links === */
.barbers{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:center;
}
.barber-card{
    width:240px;
    background:rgba(10,10,12,0.9);
    border-radius:10px;
    padding:16px;
    border:1px solid var(--border);
    text-align:left;
}
.barber-card img{
    width:100%;
    height:auto;
    display:block;
    border-radius:8px;
    box-shadow:0 6px 18px rgba(0,0,0,0.6);;
    border-radius:8px;
    margin-bottom:10px;
}
.barber-card h3{
    margin-bottom:4px;
}
.barber-card p{
    font-size:0.9rem;
    color:var(--text-muted);
    margin-bottom:8px;
}
.book-link{
    display:inline-block;
    margin-top:2px;
    font-size:0.85rem;
    color:var(--accent);
    text-decoration:none;
    padding:6px 10px;
    border-radius:999px;
    border:1px solid var(--accent);
}

/* === Reviews section === */
.reviews{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    justify-content:center;
}
.review-card{
    max-width:280px;
    background:rgba(10,10,12,0.9);
    border-radius:10px;
    padding:16px;
    border:1px solid var(--border);
}
.review-card .quote{
    font-size:0.95rem;
    margin-bottom:8px;
}
.review-card .name{
    font-size:0.85rem;
    color:var(--text-muted);
}

/* Responsive tweak for hero text */
@media(max-width:768px){
    .hero{
        align-items:center;
    }
    .hero-inner{
        margin-top:6vh;
        text-align:center;
    }
}

/* === Top-Tier Hair Studio: Global shop background (cover full site) === */
body{
    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url('shop-bg.jpg') center center / cover fixed no-repeat;
    background-color:#050505;
    color:#f7f7f8;
}

/* Sections transparent so the global background shows through */
.section{
    background: transparent;
}


/* Owner highlight card */
.owner-card{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:18px;
    margin-bottom:26px;
    background:rgba(10,10,12,0.95);
    border-radius:12px;
    border:1px solid var(--border);
    padding:16px 18px;
}
.owner-card img{
    width:160px;
    max-width:40%;
    border-radius:10px;
    box-shadow:0 8px 22px rgba(0,0,0,0.7);
}
.owner-text h3{
    margin-bottom:6px;
}
.owner-text p{
    font-size:0.95rem;
    color:var(--text-muted);
    margin-bottom:10px;
}

/* Instagram strip under reviews */
.social-strip{
    padding:18px 24px;
    text-align:center;
    background:rgba(5,5,6,0.95);
    border-top:1px solid #222;
    border-bottom:1px solid #222;
}
.social-strip-inner{
    max-width:960px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}
.social-strip .ig-icon{
    width:30px;
    height:30px;
    border-radius:8px;
    border:1px solid var(--accent-soft);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.1rem;
}
.social-strip a{
    color:var(--accent);
    text-decoration:none;
    font-weight:600;
}
.social-strip span{
    color:var(--text-muted);
    font-size:0.95rem;
}

/* Responsive owner card */
@media(max-width:768px){
    .owner-card{
        flex-direction:column;
        align-items:flex-start;
    }
    .owner-card img{
        max-width:100%;
    }
}


/* Ensure team section is always visible even if animations fail */
#barbers{
    background:linear-gradient(135deg, rgba(0,0,0,0.92), rgba(0,0,0,0.88));
    opacity:1 !important;
    transform:none !important;
}

/* Refine card layout for image + intro + Booksy button */
.barber-card{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}
.barber-card h3{
    margin:10px 0 4px;
}
.barber-card p{
    margin-bottom:6px;
}


.form-success{
    margin-top:12px;
    padding:10px 12px;
    border-radius:6px;
    background:#1e7f3b;
    color:#f7f7f7;
    font-size:0.95rem;
}
.form-error{
    margin-top:12px;
    padding:10px 12px;
    border-radius:6px;
    background:#a12626;
    color:#f7f7f7;
    font-size:0.95rem;
}

/* Mobile: show full shop background image (no cropping) */
@media (max-width: 768px){
    body{
        background:
            linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
            url('shop-bg.jpg') center top / contain no-repeat;
        background-color:#050505;
        background-attachment:scroll; /* avoids weird fixed bugs on mobile */
    }
}

