/* =========================================================
   Anton Hair Design Gading Serpong
   ========================================================= */

:root {
  --cream: #f6f1ea;
  --cream-2: #efe7db;
  --paper: #fffdfa;
  --ink: #1c1a16;
  --ink-soft: #4a4640;
  --line: #e2d7c6;
  --gold: #b0803f;
  --gold-deep: #8c6329;
  --gold-tint: #efe0cb;
  --dark: #17150f;
  --dark-2: #211d15;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(28, 26, 22, .06), 0 4px 14px rgba(28, 26, 22, .06);
  --shadow-md: 0 10px 40px rgba(28, 26, 22, .14);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 46px); margin: 16px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 22px rgba(176, 128, 63, .32); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; }
.topbar .dot { color: var(--gold); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 241, 234, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--dark); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 19px; font-weight: 700;
}
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-text b { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.brand .brand-text span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--paper); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: .25s; }
.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 { position: relative; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,13,9,.62) 0%, rgba(15,13,9,.55) 40%, rgba(15,13,9,.78) 100%);
}
.hero .wrap { padding-top: clamp(80px, 14vw, 150px); padding-bottom: clamp(80px, 14vw, 150px); }
.hero-inner { max-width: 720px; }
.hero .eyebrow { color: #e7c795; }
.hero .eyebrow::before { background: #e7c795; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); margin: 20px 0 22px; }
.hero h1 em { font-style: italic; color: #e7c795; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.9); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.rating-badge {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 40px;
  padding: 12px 20px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
}
.rating-badge .stars { color: #f0c04a; letter-spacing: 2px; font-size: 15px; }
.rating-badge b { font-size: 20px; font-family: var(--serif); }
.rating-badge span { font-size: 13px; color: rgba(255,255,255,.8); display: block; }

/* ---------- Marquee / trust strip ---------- */
.strip { background: var(--dark); color: rgba(255,255,255,.9); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 22px; }
.strip .item { text-align: center; }
.strip .item b { display: block; font-family: var(--serif); font-size: 26px; color: #e7c795; }
.strip .item span { font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.72); }

/* ---------- Services ---------- */
.services { background: var(--cream); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-tint); }
.svc-card .ic {
  width: 52px; height: 52px; border-radius: 12px; background: var(--gold-tint); color: var(--gold-deep);
  display: grid; place-items: center; margin-bottom: 20px;
}
.svc-card .ic svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { font-size: 15px; color: var(--ink-soft); }
.svc-note { margin-top: 34px; font-size: 14.5px; color: var(--ink-soft); text-align: center; }

/* ---------- About ---------- */
.about { background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.about-media .tag {
  position: absolute; left: -22px; bottom: 28px; background: var(--dark); color: #fff;
  padding: 18px 24px; border-radius: 12px; box-shadow: var(--shadow-md);
}
.about-media .tag b { font-family: var(--serif); font-size: 22px; color: #e7c795; display: block; }
.about-media .tag span { font-size: 12px; letter-spacing: .05em; color: rgba(255,255,255,.75); }
.about h2 { font-size: clamp(28px, 4.4vw, 44px); margin: 16px 0 18px; }
.about p { color: var(--ink-soft); margin-bottom: 16px; }
.about ul { list-style: none; margin: 24px 0 0; display: grid; gap: 12px; }
.about li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.about li svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 3px; }

/* ---------- Gallery (auto-scrolling marquee) ---------- */
.gallery { background: var(--cream); overflow: hidden; }
.gal-marquee {
  position: relative;
  width: 100%;
  margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gal-track {
  display: flex;
  width: max-content;
  animation: gal-scroll 60s linear infinite;
}
.gal-set {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex: 0 0 auto;
}
.gal-marquee:hover .gal-track,
.gal-track.paused { animation-play-state: paused; }

.gal-item {
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 360px);
  height: clamp(280px, 34vw, 420px);
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  background: var(--cream-2);
  box-shadow: var(--shadow-sm);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.06); }

@keyframes gal-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,10,7,.92);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-md); }
.lightbox button {
  position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer;
}
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 30px; background: rgba(255,255,255,.1); }
.lightbox .prev { left: 20px; } .lightbox .next { right: 20px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--dark); color: #fff; }
.reviews .section-head h2 { color: #fff; }
.reviews .section-head p { color: rgba(255,255,255,.72); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev-card { background: var(--dark-2); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 30px 26px; }
.rev-card .stars { color: #f0c04a; letter-spacing: 2px; margin-bottom: 14px; }
.rev-card p { font-size: 15.5px; color: rgba(255,255,255,.86); font-style: italic; }
.rev-card .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.rev-card .av { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #17150f; display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.rev-card .who b { display: block; font-family: var(--sans); font-size: 14.5px; }
.rev-card .who span { font-size: 12.5px; color: rgba(255,255,255,.55); }
.rev-foot { text-align: center; margin-top: 44px; }
.rev-foot .g-score { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 20px; }
.rev-foot .g-score b { font-family: var(--serif); font-size: 30px; color: #fff; }

/* ---------- Location ---------- */
.location { background: var(--cream); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.loc-map { border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc-info { display: flex; flex-direction: column; gap: 22px; }
.loc-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.loc-block h3 { font-size: 19px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.loc-block h3 svg { width: 20px; height: 20px; color: var(--gold); }
.loc-block p, .loc-block td { font-size: 15px; color: var(--ink-soft); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours tr:last-child td { border-bottom: none; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.hours .today td { color: var(--gold-deep); font-weight: 600; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4.6vw, 44px); margin-bottom: 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 28px; color: rgba(255,255,255,.9); }
.cta-band .btn-light { color: var(--gold-deep); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 68px 0 30px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #e7c795; margin-bottom: 18px; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer .f-brand .brand { margin-bottom: 16px; }
.footer .f-brand .brand .brand-text b { color: #fff; }
.footer .f-brand p { max-width: 280px; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .svc-grid, .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .loc-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 460px; }
  .about-media .tag { left: 12px; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gal-track { animation-duration: 42s; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .header.menu-open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px 22px 22px;
  }
  .header.menu-open .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header.menu-open .nav-links .btn { display: inline-flex; margin-top: 12px; border-bottom: none; }
  .topbar .tb-left { display: none; }
  .topbar .wrap { justify-content: center; }
  .svc-grid, .rev-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .gal-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gal-track { transform: none !important; }
}
