/* ============================================================
   ÉCLAT — Hair & Beauty Studio
   Custom styling on top of Bootstrap 5
   ============================================================ */

:root {
  --espresso: #1c1512;      /* near-black warm */
  --ink: #2a211c;           /* body text */
  --cream: #f7f2ea;         /* light ground */
  --cream-2: #efe7db;       /* alt light ground */
  --champagne: #b78f57;     /* gold accent */
  --champagne-dk: #9a743f;
  --blush: #e7cabc;
  --rose: #a4685a;
  --muted: #857a70;         /* muted text */
  --line: rgba(28, 21, 18, 0.12);

  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-sm: 0 6px 20px rgba(28, 21, 18, 0.08);
  --shadow-md: 0 18px 50px rgba(28, 21, 18, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}
h1, h2, h3, h4, .display-font { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--champagne); color: #fff; }

/* ---------- shared section devices ---------- */
.section { padding: clamp(72px, 11vh, 128px) 0; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--champagne-dk);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--champagne); display: inline-block; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--champagne); display: inline-block; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 0.6rem 0 0; letter-spacing: 0.01em; }
.lead-muted { color: var(--muted); font-size: 1.02rem; max-width: 44ch; }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-body); font-weight: 400; letter-spacing: 0.06em; border-radius: 0; padding: 0.85rem 2rem; transition: all 0.35s var(--ease); text-transform: uppercase; font-size: 0.82rem; }
.btn-gold { background: var(--champagne); color: #fff; border: 1px solid var(--champagne); }
.btn-gold:hover { background: var(--champagne-dk); border-color: var(--champagne-dk); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: #fff; color: var(--espresso); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--espresso); border: 1px solid var(--espresso); }
.btn-outline-dark:hover { background: var(--espresso); color: #fff; }
.link-underline { position: relative; color: var(--champagne-dk); font-weight: 500; letter-spacing: 0.04em; }
.link-underline::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- navbar ---------- */
.navbar { padding: 1.25rem 0; transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.navbar .navbar-brand { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.18em; color: #fff; }
.navbar .brand-dot { color: var(--champagne); }
.navbar .nav-link { color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 400; margin: 0 0.35rem; position: relative; }
.navbar .nav-link::after { content: ""; position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.15rem; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .btn { padding: 0.6rem 1.4rem; }
.navbar-toggler { border: 0; color: #fff; font-size: 1.5rem; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

.navbar.scrolled { background: var(--espresso); padding: 0.75rem 0; box-shadow: 0 10px 40px rgba(0,0,0,0.25); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url("../img/hero.jpg") center/cover no-repeat; transform: scale(1.05); }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,14,11,0.86) 0%, rgba(20,14,11,0.55) 45%, rgba(20,14,11,0.30) 100%); }
.hero__content { position: relative; z-index: 2; padding-top: 90px; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); line-height: 1.05; letter-spacing: 0.01em; }
.hero h1 em { font-style: italic; color: var(--blush); }
.hero .hero__sub { font-size: 1.08rem; color: rgba(255,255,255,0.82); max-width: 46ch; font-weight: 300; }
.hero .eyebrow { color: var(--blush); }
.hero .eyebrow::before { background: var(--blush); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,0.7); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; text-align: center; }
.hero__scroll span { display: block; width: 1px; height: 42px; background: rgba(255,255,255,0.5); margin: 8px auto 0; position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; top: -42px; left: 0; width: 1px; height: 42px; background: var(--champagne); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { top: -42px; } 60%,100% { top: 42px; } }

/* ---------- about ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-wrap .frame { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--champagne); z-index: -1; }
.about-badge { position: absolute; right: -18px; bottom: -28px; background: var(--espresso); color: #fff; padding: 1.4rem 1.7rem; text-align: center; box-shadow: var(--shadow-md); }
.about-badge b { font-family: var(--font-display); font-size: 2.2rem; color: var(--champagne); display: block; line-height: 1; }
.about-badge span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); }
.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.stat b { font-family: var(--font-display); font-size: 2.3rem; color: var(--espresso); display: block; line-height: 1; }
.stat span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.signature { font-family: var(--font-display); font-size: 1.5rem; color: var(--champagne-dk); font-style: italic; }

/* ---------- services ---------- */
.services { background: var(--cream-2); }
.service-card { position: relative; overflow: hidden; background: #fff; height: 100%; box-shadow: var(--shadow-sm); }
.service-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.08); }
.service-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,21,18,0.35), transparent 55%); }
.service-card__body { padding: 1.5rem 1.6rem 1.8rem; }
.service-card__body h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.service-card__price { color: var(--champagne-dk); font-weight: 500; letter-spacing: 0.05em; font-size: 0.9rem; }
.service-card__body p { color: var(--muted); font-size: 0.94rem; margin: 0.5rem 0 0; }

/* ---------- quote band ---------- */
.quote-band { background: var(--espresso); color: #fff; text-align: center; }
.quote-band .quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.35; max-width: 20ch; margin: 1.2rem auto; }
.quote-band .quote em { color: var(--blush); font-style: italic; }

/* ---------- testimonials ---------- */
.testi-card { background: #fff; padding: 2.2rem 2rem; height: 100%; box-shadow: var(--shadow-sm); position: relative; }
.testi-card .stars { color: var(--champagne); letter-spacing: 0.18em; margin-bottom: 1rem; font-size: 0.9rem; }
.testi-card p { font-size: 1.02rem; color: var(--ink); font-style: italic; margin-bottom: 1.5rem; }
.testi-person { display: flex; align-items: center; gap: 0.9rem; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--espresso); color: var(--champagne); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; flex-shrink: 0; }
.testi-person b { font-weight: 400; font-family: var(--font-display); font-size: 1.05rem; display: block; line-height: 1.2; }
.testi-person span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.quote-mark { position: absolute; top: 1rem; right: 1.4rem; font-family: var(--font-display); font-size: 3.5rem; color: var(--blush); opacity: 0.5; line-height: 1; }

/* ---------- contact ---------- */
.contact { background: var(--cream-2); }
.contact-form .form-control, .contact-form .form-select {
  border-radius: 0; border: 1px solid var(--line); background: #fff; padding: 0.85rem 1rem;
  font-family: var(--font-body); font-weight: 300; font-size: 0.95rem;
}
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--champagne); box-shadow: 0 0 0 0.15rem rgba(183,143,87,0.15); }
.contact-form label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 0.4rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-item .ic { width: 44px; height: 44px; border: 1px solid var(--champagne); display: grid; place-items: center; color: var(--champagne-dk); flex-shrink: 0; font-size: 1.1rem; }
.info-item h4 { font-size: 1.05rem; margin: 0 0 0.15rem; }
.info-item p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.form-note { display: none; margin-top: 1rem; padding: 0.9rem 1.1rem; background: #e9f5ec; border: 1px solid #bfe0c8; color: #2f6b40; font-size: 0.9rem; }
.form-note.show { display: block; }

/* ---------- footer ---------- */
.footer { background: var(--espresso); color: rgba(255,255,255,0.72); padding: 4.5rem 0 0; }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.06em; margin-bottom: 1.2rem; }
.footer .brand { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.18em; color: #fff; }
.footer .brand-dot { color: var(--champagne); }
.footer a { color: rgba(255,255,255,0.72); transition: color 0.3s; }
.footer a:hover { color: var(--champagne); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.6rem; }
.footer .socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); margin-right: 0.5rem; transition: all 0.3s; }
.footer .socials a:hover { background: var(--champagne); border-color: var(--champagne); color: var(--espresso); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 3.5rem; padding: 1.5rem 0; font-size: 0.82rem; }
.footer-bottom a { color: var(--champagne); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span::after { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse { background: var(--espresso); margin-top: 0.75rem; padding: 1rem 1.25rem; }
  .navbar .nav-link { margin: 0.35rem 0; display: inline-block; }
  .navbar .btn { margin-top: 0.75rem; }
  .about-badge { position: static; display: inline-block; margin-top: 1.5rem; }
  .about-img-wrap .frame { display: none; }
}
@media (max-width: 575.98px) {
  .stat-row { gap: 1.6rem; }
  .hero__content { padding-top: 110px; }
}
