/* =========================================================
   Botani Beauty Story — stylesheet
   ========================================================= */

:root {
  --cream: #F7F2EC;
  --beige: #D8C5B5;
  --charcoal: #24211F;
  --rose: #C99E91;
  --white: #FFFFFF;
  --text-muted: #6b655e;
  --border: #e4dcd2;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1200px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; margin: 0 0 .5em; color: var(--charcoal); }

p { margin: 0 0 1em; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

.muted { color: var(--text-muted); }
.small { font-size: .875rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: .5rem;
}
.eyebrow.center { text-align: center; }

.section-title { font-size: 2rem; margin-bottom: 1.5rem; }
.section-title.center { text-align: center; }

.section { padding: 5rem 0; }
.section-alt { background: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.8rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
}
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #3a352f; }

.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-outline-sm { background: transparent; color: var(--charcoal); border-color: var(--charcoal); padding: .55rem 1.2rem; font-size: .75rem; }
.btn-outline-sm:hover { background: var(--charcoal); color: var(--white); }

.btn-light { background: var(--cream); color: var(--charcoal); border-color: var(--border); width: 100%; text-align: center; }
.btn-light:hover { background: var(--beige); }

/* ---------- Placeholder graphics ---------- */
.img-placeholder {
  background: repeating-linear-gradient(135deg, var(--cream), var(--cream) 10px, #efe8de 10px, #efe8de 11px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b9ae9f;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}
.img-placeholder svg { width: 22%; height: 22%; }

.img-placeholder.has-photo { padding: 0; }
.img-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.avatar-placeholder {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b9ae9f;
}
.avatar-placeholder svg { width: 55%; height: 55%; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.logo img { height: 27px; width: auto; display: block; }

.main-nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: .25rem 0;
}
.main-nav a.active,
.main-nav a:hover { color: var(--rose); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { background: var(--cream); padding: 4.5rem 0; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { font-size: 3.2rem; line-height: 1.15; margin-bottom: .75rem; }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 32ch; }
.hero-actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero-media .img-placeholder { aspect-ratio: 1/1; }

/* =========================================================
   Services
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: left;
}
.service-card .img-placeholder { margin-bottom: 1rem; }
.service-card h3 { font-size: 1.05rem; margin-bottom: .1rem; }
.service-card .price { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; font-family: var(--font-heading); }

/* =========================================================
   About
   ========================================================= */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-media { aspect-ratio: 4/3.4; }
.about-copy p { color: var(--text-muted); max-width: 46ch; }

/* =========================================================
   Stylists
   ========================================================= */
.stylists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.stylist-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.stylist-card h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.stylist-card .role { font-size: .8rem; color: var(--rose); font-weight: 600; margin-bottom: .35rem; }
.stylist-card .small { margin-bottom: 1.1rem; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.gallery-grid .img-placeholder { aspect-ratio: 3/4; }
.gallery-item { cursor: zoom-in; transition: opacity .2s ease; }
.gallery-item:hover { opacity: .85; }

/* =========================================================
   Gallery Lightbox
   ========================================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 17, 14, .92);
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: min(90vw, 900px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 92px;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.12); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.25);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:hover { background: var(--rose); border-color: var(--rose); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 600px) {
  .lightbox { padding: 3.5rem .5rem; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-prev { left: .35rem; }
  .lightbox-next { right: .35rem; }
  .lightbox-close { top: 84px; right: 1rem; width: 38px; height: 38px; }
}

/* =========================================================
   Why Choose Us
   ========================================================= */
.why-us { background: var(--cream); padding: 4rem 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.why-icon svg { width: 28px; height: 28px; }
.why-item h3 { font-size: 1rem; margin-bottom: .35rem; }

/* =========================================================
   Reviews
   ========================================================= */
.testimonial-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  flex: 1;
}
.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  margin: 0;
  position: relative;
}
.quote-mark {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--rose);
  line-height: 1;
  display: block;
  margin-bottom: .25rem;
}
.testimonial-card p { color: var(--charcoal); font-style: normal; }
.stars { color: #E5B94B; letter-spacing: .1em; margin-bottom: .5rem; }
.testimonial-card cite { font-weight: 600; font-style: normal; font-size: .9rem; }

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: background .2s ease;
}
.carousel-btn:hover { background: var(--cream); }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  position: relative;
  background: var(--charcoal);
  background-image: repeating-linear-gradient(135deg, #2c2822, #2c2822 12px, #241f1a 12px, #241f1a 13px);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20,17,14,.55), rgba(20,17,14,.7));
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: var(--white); font-size: 2.1rem; }
.cta-content p { color: rgba(255,255,255,.8); max-width: 42ch; margin: 0 auto 1.75rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.85); padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr 1.2fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.footer-logo span { font-family: var(--font-body); font-weight: 300; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.site-footer .muted { color: rgba(255,255,255,.55); }
.footer-links li, .footer-contact li { margin-bottom: .65rem; font-size: .9rem; }
.footer-links a:hover { color: var(--rose); }
.social-row { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.social-row svg { width: 16px; height: 16px; }
.social-row a:hover { background: var(--rose); border-color: var(--rose); }

#gallery .social-row { justify-content: center; margin-top: 1.5rem; gap: 1.5rem; }
#gallery .social-row a { width: 68px; height: 68px; color: var(--charcoal); border-color: var(--border); }
#gallery .social-row svg { width: 32px; height: 32px; }
#gallery .social-row a:hover { background: var(--rose); border-color: var(--rose); color: var(--white); }
.map-placeholder { aspect-ratio: 16/10; }
.map-placeholder.img-placeholder { background: repeating-linear-gradient(135deg, #2c2822, #2c2822 10px, #241f1a 10px, #241f1a 11px); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.4); }

.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.55); flex-wrap: wrap; gap: .5rem; }
.footer-bottom a:hover { color: var(--rose); }

/* =========================================================
   Mobile sticky CTA
   ========================================================= */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .9rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stylists-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0,0,0,.05);
  }
  .site-header.nav-open .main-nav a {
    padding: 1rem 24px;
    border-bottom: 1px solid var(--border);
  }
  .site-header.nav-open .nav-cta {
    display: block;
    position: absolute;
    top: calc(76px + 1px);
    right: 24px;
  }

  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .hero-media { order: -1; }

  .about-inner { grid-template-columns: 1fr; }

  .testimonial-track { grid-template-columns: 1fr; }

  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 58px; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .stylists-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.6rem; }
}
