/* ========================================================
   Bozanna Salon & Academy — Main Stylesheet
   ======================================================== */

/* ---- Google Fonts imported in HTML ---- */
/* Cormorant Garamond (headings) | Jost (body) */

:root {
    --c-black:      #1a1a1a;
    --c-dark:       #2a2a2a;
    --c-white:      #ffffff;
    --c-sand:       #f8f4ef;
    --c-rose:       #c9847a;
    --c-rose-dark:  #a8655b;
    --c-rose-light: #f2e2df;
    --c-gold:       #c9a96e;
    --c-gold-light: #e8d5b0;
    --c-text:       #4a4a4a;
    --c-muted:      #888888;
    --c-border:     #e0d8d0;
    --font-head:    'Cormorant Garamond', serif;
    --font-body:    'Jost', sans-serif;
    --radius-sm:    4px;
    --radius-md:    8px;
    --shadow-sm:    0 2px 12px rgba(0,0,0,0.08);
    --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
    --trans:        0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--c-text); background: var(--c-white); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-black); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--trans); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* ---- Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.bg-sand { background: var(--c-sand); }
.bg-dark-rose { background: #2d1c1a; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-rose);
    margin-bottom: 0.75rem;
}
.eyebrow-light { color: var(--c-gold-light); }
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--c-rose); }
.title-line { width: 50px; height: 2px; background: var(--c-rose); margin: 0 auto 1.25rem; }
.section-desc { color: var(--c-muted); max-width: 600px; margin: 0 auto; font-size: 1rem; }
.section-cta { text-align: center; margin-top: 3rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    transition: var(--trans);
    text-align: center;
    cursor: pointer;
}
.btn-primary { background: var(--c-rose); color: var(--c-white); }
.btn-primary:hover { background: var(--c-rose-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.7); color: var(--c-white); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-outline-dark { background: transparent; border: 1px solid var(--c-black); color: var(--c-black); }
.btn-outline-dark:hover { background: var(--c-black); color: var(--c-white); }
.btn-light { background: var(--c-white); color: var(--c-rose-dark); }
.btn-light:hover { background: var(--c-sand); transform: translateY(-2px); }

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--c-black);
    padding: 0.5rem 0;
    font-size: 0.8rem;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1.5rem; color: #ccc; flex-wrap: wrap; }
.top-bar-left i, .top-bar-right i { color: var(--c-gold); margin-right: 0.35rem; }
.top-social { display: flex; gap: 0.75rem; }
.top-social a { color: #aaa; font-size: 0.85rem; }
.top-social a:hover { color: var(--c-rose); }

/* ---- HEADER ---- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    transition: var(--trans);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.5rem; max-width: 1200px; margin: 0 auto; }

/* Logo */
.logo { display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; max-width: 180px; object-fit: contain; }
.logo-light { filter: brightness(0) invert(1); } /* Invert for dark footer if needed, or rely on original logo */

/* Nav Links */
.nav-menu { display: none; }
.nav-list { display: flex; gap: 2rem; }
.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-dark);
    position: relative;
    padding-bottom: 4px;
}
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px; background: var(--c-rose); transition: var(--trans); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--c-rose); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-book-btn { display: none; padding: 0.65rem 1.5rem; font-size: 0.8rem; }

/* Hamburger */
.mobile-toggle { background: none; border: none; display: flex; flex-direction: column; gap: 5px; padding: 4px; }
.mobile-toggle span { width: 26px; height: 2px; background: var(--c-dark); display: block; transition: var(--trans); }

/* Mobile Menu */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; }
.mobile-overlay.active { display: block; }
.mobile-menu {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--c-white);
    z-index: 200;
    padding: 5rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; font-size: 1.5rem; color: var(--c-dark); }
.mobile-nav-list { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-nav-link { font-size: 1.05rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; color: var(--c-dark); }
.mobile-nav-link:hover { color: var(--c-rose); }
.mobile-book-btn { width: 100%; text-align: center; }

/* ---- HERO SLIDER ---- */
.hero-slider { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.1) 100%); }
.hero-slide-content { position: relative; z-index: 1; max-width: 680px; }
.hero-tagline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--c-gold-light);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
}
.hero-slide.active .hero-tagline { animation: slideUp 0.8s 0.2s forwards; }
.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    color: var(--c-white);
    line-height: 1;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
}
.hero-title em { font-style: italic; color: var(--c-gold-light); }
.hero-slide.active .hero-title { animation: slideUp 0.8s 0.4s forwards; }
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
}
.hero-slide.active .hero-subtitle { animation: slideUp 0.8s 0.6s forwards; }
.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}
.hero-slide.active .hero-btns { animation: slideUp 0.8s 0.8s forwards; }

@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* Slider Controls */
.slider-controls { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1.5rem; z-index: 5; }
.slider-btn { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); color: white; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: var(--trans); }
.slider-btn:hover { background: var(--c-rose); border-color: var(--c-rose); }
.slider-dots { display: flex; gap: 0.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--trans); }
.dot.active { background: var(--c-rose); transform: scale(1.3); }

/* ---- OFFERS STRIP ---- */
.offers-strip { background: var(--c-rose); padding: 0.75rem 0; overflow: hidden; }
.offers-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}
.offers-track span { font-size: 0.83rem; font-weight: 500; letter-spacing: 0.5px; color: white; flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- SERVICES OVERVIEW ---- */
.services-tabs { }
.tab-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 3rem; border-bottom: 1px solid var(--c-border); padding-bottom: 1px; }
.tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-muted);
    transition: var(--trans);
    margin-bottom: -1px;
}
.tab-btn:hover { color: var(--c-rose); }
.tab-btn.active { color: var(--c-rose); border-bottom-color: var(--c-rose); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.services-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.service-card { background: var(--c-white); border: 1px solid var(--c-border); overflow: hidden; transition: var(--trans); border-radius: var(--radius-sm); }
.service-card:hover { border-color: var(--c-rose); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc-img { overflow: hidden; height: 220px; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .svc-img img { transform: scale(1.06); }
.svc-body { padding: 1.5rem; }
.svc-body h3 { font-size: 1.4rem; margin-bottom: 0.5rem; font-weight: 600; }
.svc-body p { font-size: 0.9rem; color: var(--c-muted); margin-bottom: 1rem; }
.svc-link { font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--c-rose); display: flex; align-items: center; gap: 0.4rem; }
.svc-link:hover { gap: 0.7rem; }

/* ---- WHY US ---- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.why-card { background: var(--c-white); padding: 2.5rem 2rem; border: 1px solid var(--c-border); transition: var(--trans); text-align: center; }
.why-card:hover { border-color: var(--c-rose); box-shadow: var(--shadow-sm); }
.why-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--c-rose-light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--c-rose); margin: 0 auto 1.25rem; transition: var(--trans); }
.why-card:hover .why-icon { background: var(--c-rose); color: white; }
.why-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.why-card p { font-size: 0.9rem; color: var(--c-muted); }

/* ---- STATS STRIP ---- */
.stats-strip { background: var(--c-black); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.stat-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.stat-num { font-family: var(--font-head); font-size: 3.5rem; font-weight: 700; color: var(--c-gold); line-height: 1; }
.stat-plus { font-size: 2rem; color: var(--c-gold); font-family: var(--font-head); line-height: 1; }
.stat-item { position: relative; }
.stat-item .stat-num, .stat-item .stat-plus { display: inline; }
.stat-item-wrap { display: flex; align-items: flex-start; }
.stat-label { font-size: 0.85rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: #888; margin-top: 0.25rem; }

/* ---- GALLERY ---- */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; min-height: 250px; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-cap { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); padding: 1rem 0.75rem 0.75rem; color: white; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px; opacity: 0; transform: translateY(10px); transition: var(--trans); }
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }

/* ---- TESTIMONIALS ---- */
.testimonials-slider { overflow: hidden; }
.testi-track { display: flex; gap: 1.5rem; transition: transform 0.5s ease; }
.testi-card {
    min-width: 300px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    color: var(--c-white);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: var(--trans);
}
.testi-card:hover { border-color: var(--c-rose); }
.testi-stars { color: var(--c-gold); margin-bottom: 1rem; font-size: 0.9rem; }
.testi-text { font-style: italic; font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; line-height: 1.7; }
.testi-client { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; border: 2px solid var(--c-rose); flex-shrink: 0; }
.testi-client strong { display: block; font-size: 0.95rem; color: white; }
.testi-client span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.testi-nav { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }
.testi-nav button { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--trans); }
.testi-nav button:hover { background: var(--c-rose); border-color: var(--c-rose); }

/* ---- MEMBERSHIP BANNER ---- */
.membership-banner {
    background: linear-gradient(135deg, var(--c-rose-dark), #7a3028);
    padding: 4rem 0;
}
.membership-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.membership-text h2 { font-size: 2.2rem; color: var(--c-white); margin-bottom: 0.75rem; }
.membership-text p { color: rgba(255,255,255,0.8); max-width: 500px; font-size: 0.95rem; }

/* ---- BRANCHES ---- */
.cities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.city-card { background: var(--c-white); border: 1px solid var(--c-border); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; font-weight: 600; font-size: 1rem; transition: var(--trans); border-radius: var(--radius-sm); }
.city-card i { color: var(--c-rose); font-size: 1.25rem; }
.city-card:hover { border-color: var(--c-rose); background: var(--c-rose-light); }

/* ---- FOOTER ---- */
.footer { background: var(--c-black); padding-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 4rem; }
.footer-brand { }
.footer-brand p { color: #888; font-size: 0.9rem; margin: 1.25rem 0 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: #2a2a2a; display: flex; align-items: center; justify-content: center; color: #888; font-size: 0.9rem; transition: var(--trans); }
.footer-social a:hover { background: var(--c-rose); color: white; }
.footer-col h4 { font-size: 1rem; color: var(--c-white); margin-bottom: 1.25rem; letter-spacing: 1px; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.875rem; color: #888; }
.footer-col a:hover { color: var(--c-rose); padding-left: 4px; }
.footer-contact li { display: flex; gap: 0.75rem; font-size: 0.875rem; color: #888; align-items: flex-start; margin-bottom: 0.65rem; }
.footer-contact i { color: var(--c-rose); flex-shrink: 0; margin-top: 0.2rem; }
.newsletter p { color: #888; font-size: 0.85rem; margin-bottom: 0.75rem; }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; background: #2a2a2a; border: 1px solid #333; color: white; padding: 0.7rem 1rem; font-family: var(--font-body); font-size: 0.85rem; }
.newsletter-form input::placeholder { color: #666; }
.newsletter-form button { background: var(--c-rose); border: none; color: white; padding: 0.7rem 1rem; transition: var(--trans); }
.newsletter-form button:hover { background: var(--c-rose-dark); }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 1.5rem 0; }
.footer-bottom p { text-align: center; font-size: 0.8rem; color: #555; }

/* ---- WHATSAPP FLOAT ---- */
.wa-float { position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; z-index: 90; box-shadow: 0 4px 15px rgba(37,211,102,0.4); transition: var(--trans); }
.wa-float:hover { transform: scale(1.1); }

/* ---- SCROLL ANIMATION ---- */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
    background: linear-gradient(135deg, var(--c-black) 0%, #3d1c18 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1920&q=40') center/cover; opacity: 0.12; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--c-white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.page-hero .breadcrumb { display: flex; justify-content: center; gap: 0.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--c-gold-light); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- RESPONSIVE ---- */
@media (min-width: 640px) {
    .services-cards { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .cities-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
    .services-cards { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .testi-card { min-width: 380px; }
}

@media (min-width: 992px) {
    .nav-menu { display: block; }
    .nav-book-btn { display: inline-block; }
    .mobile-toggle { display: none; }
    .services-cards { grid-template-columns: repeat(4, 1fr); }
    .why-grid { grid-template-columns: repeat(4, 1fr); }
    .cities-grid { grid-template-columns: repeat(6, 1fr); }
}
