/* ==========================================================================
   Bloom Beauty Studio — Multipage Premium Template
   Shared stylesheet used by every page in this template.
   ========================================================================== */

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

:root {
  --ink:        #2b2420;
  --ink-soft:   #3a2f28;
  --cream:      #fdf9f5;
  --cream-dim:  #f6ece7;
  --rose:       #c98b93;
  --rose-light: #e3b9bf;
  --rose-dk:    #a86b74;
  --gold:       #c98b93;
  --gold-light: #e3b9bf;
  --muted:      #8a8073;
  --border:     rgba(169,107,116,0.22);
  --radius:     14px;
  --radius-lg:  22px;
  --bar-h:      38px;
  --nav-h:      76px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo { font-family: 'Playfair Display', serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::selection { background: var(--rose); color: #fff; }
svg { display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-dk);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--rose-dk); display: inline-block; }
.dark-bg .eyebrow::before, .cta-banner .eyebrow::before { background: var(--rose-light); }
.divider { width: 46px; height: 2px; background: var(--rose); border-radius: 2px; margin: 0 auto 1.2rem; }
.section-head.left .divider { margin: 0 0 1.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  font-family: inherit;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(43,36,32,0.4); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-gold { background: var(--rose); color: #fff; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(169,107,116,0.55); }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.icon { color: var(--rose-dk); }

/* ============ TOP FIXED (announce bar + nav) ============ */
.top-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.announce-bar {
  height: var(--bar-h); line-height: var(--bar-h);
  background: var(--ink); color: var(--cream);
  text-align: center; font-size: 0.76rem; font-weight: 500;
  padding: 0 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.announce-bar svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--rose-light); }

/* ============ NAV ============ */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: var(--nav-h);
  background: rgba(253,249,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.03em; }
.logo span { color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { font-size: 0.88rem; font-weight: 500; position: relative; padding: 0.4rem 0; white-space: nowrap; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--rose); transition: width 0.25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--rose-dk); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.burger span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ============ PAGE HERO (sub-pages) ============ */
.page-hero {
  padding: calc(var(--bar-h) + var(--nav-h) + 4rem) 0 5rem;
  background: radial-gradient(circle at 85% 20%, rgba(169,107,116,0.16), transparent 45%), linear-gradient(160deg, var(--cream) 0%, var(--cream-dim) 100%);
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-top: 1.2rem; }
.breadcrumb a { color: var(--rose-dk); }

section { padding: 6rem 0; position: relative; }
section.tight { padding: 4rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section-head.left { text-align: left; margin: 0 0 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); }
.alt-bg { background: var(--cream-dim); }
.dark-bg { background: var(--ink); color: var(--cream); }
.dark-bg .eyebrow { color: var(--rose-light); }
.dark-bg p { color: #d8c9c4; }
.dark-bg .muted { color: #b8a9a4; }

/* ============ GRIDS / CARDS ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.6rem; transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(43,36,32,0.2); }
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--cream-dim); color: var(--rose-dk);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.icon-circle svg { width: 24px; height: 24px; }

.visual-block { border-radius: var(--radius-lg); background: linear-gradient(135deg, #3a2f28, #6b4a4f 55%, var(--rose-light)); }
.visual-block.rose { background: linear-gradient(135deg, #4a3a3a, var(--rose) 60%, var(--rose-light)); }
.visual-block.light { background: linear-gradient(135deg, var(--cream-dim), var(--rose-light)); }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--rose-dk); opacity: 0.85; animation: scroll 22s linear infinite; width: max-content; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ STATS (animated counters) ============ */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stats-bar strong { font-family: 'Playfair Display', serif; font-size: 2.2rem; display: block; color: var(--rose-light); }
.stats-bar span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #b8a9a4; }

/* ============ SERVICES (detailed menu) ============ */
.service-cats { display: flex; gap: 0.8rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.cat-btn {
  padding: 0.6rem 1.3rem; border-radius: 999px; border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600; cursor: pointer; background: #fff; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.cat-btn.active, .cat-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.menu-group { margin-bottom: 3rem; }
.menu-group h3 { font-size: 1.3rem; margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.6rem; }
.menu-group h3 .icon-circle { margin: 0; width: 38px; height: 38px; }
.menu-group h3 .icon-circle svg { width: 18px; height: 18px; }
.menu-group h3::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.menu-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px dashed var(--border);
}
.menu-row:last-child { border-bottom: none; }
.menu-row .name { font-weight: 600; }
.menu-row .desc { color: var(--muted); font-size: 0.85rem; display: block; margin-top: 0.2rem; }
.menu-row .price { font-weight: 700; color: var(--rose-dk); white-space: nowrap; font-family: 'Playfair Display', serif; }

/* ============ TEAM ============ */
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: center; }
.team-photo { aspect-ratio: 3/4; background: linear-gradient(150deg, #3a2f28, var(--rose)); }
.team-info { padding: 1.4rem; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-info .role { color: var(--rose-dk); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.8rem; display: block; }
.team-info p { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.team-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center; }
.team-tags span { font-size: 0.72rem; background: var(--cream-dim); padding: 0.25rem 0.6rem; border-radius: 999px; color: var(--ink-soft); }

/* ============ GALLERY + LIGHTBOX ============ */
.gallery-filters { display: flex; gap: 0.8rem; justify-content: center; margin-bottom: 2.4rem; flex-wrap: wrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { aspect-ratio: 1; border-radius: 12px; cursor: pointer; transition: transform 0.3s; position: relative; overflow: hidden; border: none; padding: 0; }
.gallery-item:hover { transform: scale(0.97); }
.gallery-item span {
  position: absolute; bottom: 8px; left: 8px; background: rgba(43,36,32,0.7); color: var(--cream);
  font-size: 0.68rem; padding: 0.2rem 0.55rem; border-radius: 999px;
}
.gallery-item.hidden { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(23,18,16,0.9);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; width: min(560px, 90vw); aspect-ratio: 4/5; }
.lightbox-media { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; }
.lightbox-close {
  position: absolute; top: -46px; right: 0; background: none; border: none; color: var(--cream);
  font-size: 1rem; cursor: pointer; display: flex; align-items: center; gap: 0.4rem;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(253,249,245,0.15);
  border: none; color: var(--cream); width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-prev { left: -56px; } .lightbox-next { right: -56px; }
.lightbox-caption { position: absolute; bottom: 14px; left: 14px; color: var(--cream); font-size: 0.85rem; background: rgba(23,18,16,0.6); padding: 0.3rem 0.8rem; border-radius: 999px; }
@media (max-width: 700px) { .lightbox-prev { left: 4px; } .lightbox-next { right: 4px; } }

/* ============ TESTIMONIALS ============ */
.rating-summary { display: flex; gap: 3rem; align-items: center; margin-bottom: 3rem; flex-wrap: wrap; }
.rating-score { text-align: center; }
.rating-score strong { font-family: 'Playfair Display', serif; font-size: 3rem; display: block; }
.rating-bars { flex: 1; min-width: 240px; }
.rating-bar-row { display: flex; align-items: center; gap: 0.7rem; font-size: 0.8rem; margin-bottom: 0.5rem; }
.rating-bar-row .track { flex: 1; height: 6px; background: var(--cream-dim); border-radius: 999px; overflow: hidden; }
.rating-bar-row .fill { height: 100%; background: var(--rose); }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.quote-mark { color: var(--rose-light); margin-bottom: 0.4rem; }
.quote-mark svg { width: 24px; height: 24px; }
.stars { color: var(--rose-dk); margin-bottom: 0.8rem; letter-spacing: 0.1em; }
.testi-card p.quote { font-size: 0.95rem; margin-bottom: 1.2rem; color: var(--ink-soft); }
.testi-person { display: flex; align-items: center; gap: 0.8rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--rose-light), var(--rose)); flex-shrink: 0; }
.testi-person strong { font-size: 0.88rem; display: block; }
.testi-person span { font-size: 0.78rem; color: var(--muted); }

/* ============ FAQ ============ */
.faq-cats { display: flex; gap: 0.6rem; margin-bottom: 2rem; flex-wrap: wrap; justify-content: center; }
.accordion { max-width: 760px; margin: 0 auto; }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.8rem; overflow: hidden; background: #fff; }
.accordion-q {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 0.95rem;
}
.accordion-q .plus { transition: transform 0.25s; color: var(--rose-dk); font-size: 1.3rem; }
.accordion-item.open .accordion-q .plus { transform: rotate(45deg); }
.accordion-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-a p { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: 0.9rem; }
.accordion-item.open .accordion-a { max-height: 260px; }

/* ============ BOOKING ============ */
.booking-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.steps-bar { display: flex; gap: 0.6rem; margin-bottom: 2.4rem; }
.step-pill { flex: 1; text-align: center; padding: 0.7rem 0.5rem; border-radius: 999px; background: var(--cream-dim); font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.step-pill.active { background: var(--ink); color: var(--cream); }
.step-pill.done { background: var(--rose); color: #fff; }
.booking-step { display: none; }
.booking-step.active { display: block; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.option-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.option-card:hover { border-color: var(--rose); }
.option-card.selected { border-color: var(--rose); background: rgba(169,107,116,0.08); }
.option-card .name { font-weight: 700; margin-bottom: 0.2rem; }
.option-card .meta { font-size: 0.8rem; color: var(--muted); }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.5rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 0.92rem; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--rose); }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.time-slot { text-align: center; padding: 0.6rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.82rem; cursor: pointer; }
.time-slot.selected { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.time-slot.disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.booking-summary { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: 1.8rem; align-self: start; position: sticky; top: 130px; }
.booking-summary h3 { margin-bottom: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(253,249,245,0.12); }
.summary-total { display: flex; justify-content: space-between; font-weight: 700; padding-top: 1rem; font-size: 1.05rem; }
.form-actions { display: flex; justify-content: space-between; margin-top: 2rem; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
.info-card { display: flex; gap: 1rem; padding: 1.4rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; }
.info-card .icon-circle { margin-bottom: 0; flex-shrink: 0; }
.info-card h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.info-card p { font-size: 0.85rem; color: var(--muted); }
.map-block { aspect-ratio: 16/10; border-radius: var(--radius); background: linear-gradient(135deg, var(--cream-dim), var(--rose-light)); display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: var(--ink-soft); font-weight: 600; margin-top: 1rem; }
.hours-table { width: 100%; font-size: 0.88rem; }
.hours-table tr { border-bottom: 1px dashed var(--border); }
.hours-table td { padding: 0.5rem 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

/* ============ CTA BANNER ============ */
.cta-banner { background: linear-gradient(120deg, var(--ink), #4a3a3a); color: var(--cream); text-align: center; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.cta-banner p { color: #d8c9c4; margin-bottom: 2rem; }

/* ============ FOOTER ============ */
footer { background: var(--ink); color: #b8a9a4; padding: 4.5rem 0 6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-grid h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-grid p, .footer-grid a { font-size: 0.88rem; display: block; margin-bottom: 0.55rem; color: #b8a9a4; }
.footer-grid a:hover { color: var(--rose-light); }
.footer-bottom { border-top: 1px solid rgba(253,249,245,0.1); padding-top: 1.6rem; display: flex; justify-content: space-between; font-size: 0.8rem; flex-wrap: wrap; gap: 0.8rem; }
.social-row { display: flex; gap: 0.8rem; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(253,249,245,0.15); display: flex; align-items: center; justify-content: center; margin: 0; transition: background 0.2s, border-color 0.2s; }
.social-row a:hover { background: rgba(253,249,245,0.08); border-color: var(--rose-light); }
.social-row svg { width: 15px; height: 15px; }

.tier-flag {
  position: fixed; bottom: 18px; right: 18px; z-index: 999;
  background: var(--ink); color: var(--cream); font-size: 0.72rem; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 999px; letter-spacing: 0.04em;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.4); display: flex; gap: 0.4rem; align-items: center;
}
.tier-flag span { color: var(--rose-light); }

/* ============ STICKY FLOATING BOOK BUTTON ============ */
.float-book {
  position: fixed; bottom: 18px; left: 18px; z-index: 999;
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--rose); color: #fff; padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 0.88rem; box-shadow: 0 16px 32px -12px rgba(169,107,116,0.6);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s;
}
.float-book.visible { opacity: 1; transform: none; pointer-events: auto; }
.float-book:hover { box-shadow: 0 20px 40px -12px rgba(169,107,116,0.75); }
.float-book svg { width: 16px; height: 16px; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .booking-wrap, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1220px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .stats-bar, .option-grid, .time-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rating-summary { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .steps-bar { flex-wrap: wrap; }
  .float-book span.label { display: none; }
  .float-book { padding: 0.9rem; border-radius: 50%; }
  .announce-bar { font-size: 0.7rem; }
}
