/*
Theme Name: Dani Hair Salon
Theme URI: https://example.com/dani-hair-salon
Author: Dani Hair Salon
Description: Premium, mobile-responsive one-page theme for Dani Hair Salon, Pakpattan.
Version: 1.1
Requires at least: 5.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: dani-hair-salon
*/

:root {
  --bg: #0d0d0f;
  --bg-2: #141417;
  --card: #1a1a1f;
  --line: rgba(255, 255, 255, .08);
  --text: #e9e6e1;
  --muted: #a19d96;
  --gold: #c9a14a;
  --gold-2: #e8c877;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: #fff; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: .8rem; letter-spacing: .25em;
  text-transform: uppercase; font-weight: 500; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 50px; font-weight: 500; font-size: .95rem;
  transition: .3s ease; cursor: pointer; border: 1px solid transparent;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #111; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201, 161, 74, .35); }
.btn-outline { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 18px; height: 18px; }

/* Top bar */
.topbar { background: #070708; font-size: .82rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 13, 15, .85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
}
.logo-text { font-family: var(--serif); font-size: 1.3rem; color: #fff; line-height: 1.1; }
.logo-text small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.menu a { font-size: .92rem; position: relative; padding: 6px 0; transition: .3s; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--gold); transition: .3s; }
.menu a:hover { color: var(--gold); }
.menu a:hover::after { width: 100%; }
.nav-cta { padding: 11px 22px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; transition: .3s; content: "";
}
.burger span { top: 21px; }
.burger span::before { top: -8px; left: 0; }
.burger span::after { top: 8px; left: 0; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  min-height: calc(100vh - 78px); display: flex; align-items: center; position: relative;
  background:
    linear-gradient(100deg, rgba(10, 10, 12, .95) 0%, rgba(10, 10, 12, .75) 50%, rgba(10, 10, 12, .35) 100%),
    url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat,
    #1a1a1f;
  padding: 80px 0;
}
.hero-content { max-width: 680px; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: 1.1rem; max-width: 540px; color: #c9c5bf; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.hero-badges { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-badges div strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.hero-badges div span { font-size: .85rem; color: var(--muted); }
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 20px;
}
.scroll-hint::after {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--gold); border-radius: 4px; animation: scroll 1.8s infinite;
}
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* Marquee */
.marquee { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #111; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 50px; }
.marquee-track span::after { content: "✦"; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media .img-main { border-radius: var(--radius); height: 540px; object-fit: cover; width: 85%; background: var(--card); }
.about-media .img-sub {
  position: absolute; right: 0; bottom: -40px; width: 50%; height: 260px; object-fit: cover;
  border-radius: var(--radius); border: 8px solid var(--bg); background: var(--card);
}
.about-media .exp {
  position: absolute; top: 30px; right: 4%; background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #111; padding: 22px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow);
}
.exp strong { font-family: var(--serif); font-size: 2.6rem; display: block; line-height: 1; }
.exp span { font-size: .8rem; font-weight: 500; }
.about-text h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.checks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.checks li::before {
  content: "✓"; width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(201, 161, 74, .15); color: var(--gold); font-size: .75rem; font-weight: 700;
}

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .4s ease; display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-8px); border-color: rgba(201, 161, 74, .5); box-shadow: var(--shadow); }
.service-img { height: 210px; overflow: hidden; position: relative; background: #222; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: .6s ease; }
.service:hover .service-img img { transform: scale(1.08); }
.service-price {
  position: absolute; top: 14px; right: 14px; background: rgba(13, 13, 15, .85); backdrop-filter: blur(6px);
  color: var(--gold); padding: 6px 14px; border-radius: 30px; font-size: .85rem; font-weight: 600;
}
.service-body { padding: 26px; flex: 1; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin: -52px 0 16px;
  position: relative; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #111;
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.35rem; }
.service p { font-size: .92rem; margin: 0; }

/* Price list */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 70px; }
.price-col h3 { font-size: 1.5rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.price-item { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; }
.price-item .name { color: #fff; font-weight: 500; }
.price-item .name small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.price-item .dots { flex: 1; border-bottom: 1px dashed rgba(255, 255, 255, .18); transform: translateY(-5px); }
.price-item .amt { color: var(--gold); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; white-space: nowrap; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.package {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px;
  text-align: center; position: relative; transition: .4s;
}
.package:hover { transform: translateY(-6px); }
.package.featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(201, 161, 74, .12), var(--card)); }
.package .tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #111;
  font-size: .75rem; font-weight: 600; padding: 5px 16px; border-radius: 30px; letter-spacing: .1em; text-transform: uppercase;
}
.package h3 { font-size: 1.5rem; }
.package .cost { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; margin: 18px 0 6px; }
.package .cost small { font-size: 1rem; color: var(--muted); }
.package ul { list-style: none; padding: 0; margin: 26px 0 32px; text-align: left; }
.package li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: #cfcbc5; display: flex; gap: 10px; }
.package li::before { content: "✦"; color: var(--gold); font-size: .75rem; }
.package .btn { width: 100%; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why { text-align: center; padding: 36px 24px; border-radius: var(--radius); border: 1px solid var(--line); transition: .4s; }
.why:hover { background: var(--card); border-color: rgba(201, 161, 74, .4); }
.why-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold);
}
.why-icon svg { width: 30px; height: 30px; }
.why h4 { font-size: 1.2rem; }
.why p { font-size: .9rem; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; background: var(--card); cursor: zoom-in; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.gallery figure::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: #fff;
  background: rgba(201, 161, 74, .45); opacity: 0; transition: .4s;
}
.gallery figure:hover img { transform: scale(1.1); }
.gallery figure:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .92); z-index: 999; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; border-radius: var(--radius); }
.lightbox button { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* Stats */
.stats {
  background:
    linear-gradient(rgba(10, 10, 12, .88), rgba(10, 10, 12, .88)),
    url("https://images.unsplash.com/photo-1585747860715-2ba37e788b70?auto=format&fit=crop&w=1920&q=80") center/cover fixed,
    #141417;
  padding: 90px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold); line-height: 1.1; }
.stats span { color: #cfcbc5; font-size: .95rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.member { text-align: center; }
.member-img { border-radius: var(--radius); overflow: hidden; height: 340px; margin-bottom: 18px; background: var(--card); position: relative; }
.member-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: .5s; }
.member:hover .member-img img { filter: none; transform: scale(1.05); }
.member h4 { font-size: 1.25rem; margin-bottom: 2px; }
.member span { color: var(--gold); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }

/* Testimonials */
.testi-wrap { max-width: 820px; margin: 0 auto; text-align: center; position: relative; }
.testi-slide { display: none; animation: fade .6s ease; }
.testi-slide.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quote-mark { font-family: var(--serif); font-size: 6rem; color: var(--gold); line-height: .6; height: 50px; }
.testi-slide blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: #fff; font-style: italic; line-height: 1.6; }
.stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 10px; }
.testi-author strong { display: block; color: #fff; font-size: 1.05rem; }
.testi-author span { color: var(--muted); font-size: .85rem; }
.dots-nav { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.dots-nav button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .25); cursor: pointer; transition: .3s; padding: 0; }
.dots-nav button.active { width: 32px; background: var(--gold); }

/* Hours + CTA */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hours-box { background: var(--card); padding: 54px 48px; }
.hours-box ul { list-style: none; padding: 0; margin: 24px 0 0; }
.hours-box li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours-box li span:last-child { color: var(--gold); font-weight: 500; }
.hours-box li.off span:last-child { color: #e07a6a; }
.cta-box {
  padding: 54px 48px; display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(rgba(13, 13, 15, .78), rgba(13, 13, 15, .9)),
    url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1200&q=80") center/cover,
    #1a1a1f;
}
.cta-box h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.cta-box .hero-actions { margin-top: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: stretch; }
.contact-cards { display: grid; gap: 18px; }
.c-card { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .3s; }
.c-card:hover { border-color: rgba(201, 161, 74, .5); }
.c-card .ic { width: 50px; height: 50px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(201, 161, 74, .12); color: var(--gold); }
.c-card .ic svg { width: 22px; height: 22px; }
.c-card h4 { font-family: var(--sans); font-size: 1rem; margin-bottom: 4px; }
.c-card p, .c-card a { margin: 0; font-size: .95rem; color: var(--muted); }
.c-card a:hover { color: var(--gold); }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--card); }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }

/* Footer */
.site-footer { background: #070708; padding: 80px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { font-family: var(--sans); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 6px 0; font-size: .92rem; color: var(--muted); }
.site-footer li a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .3s; }
.socials a:hover { background: var(--gold); color: #111; border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; }
.copyright { border-top: 1px solid var(--line); padding: 24px 0; text-align: center; font-size: .85rem; color: var(--muted); }

/* Floating buttons */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .4);
  animation: pulse 2.2s infinite;
}
.float-wa svg { width: 30px; height: 30px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.to-top {
  position: fixed; right: 27px; bottom: 92px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: .3s; cursor: pointer;
}
.to-top.show { opacity: 1; visibility: visible; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .float-wa, .scroll-hint::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .packages { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 50px; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .menu {
    position: fixed; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(13, 13, 15, .98); padding: 10px 16px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); opacity: 0; transition: .4s ease; pointer-events: none;
  }
  .nav-open .menu { transform: none; opacity: 1; pointer-events: auto; }
  .menu li { border-bottom: 1px solid var(--line); }
  .menu a { display: block; padding: 15px 4px; font-size: 1.05rem; }
  .about-grid, .contact-grid, .hours-grid, .price-wrap { grid-template-columns: 1fr; }
  .about-media { margin-bottom: 40px; }
  .about-media .img-main { height: 420px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stats { background-attachment: scroll; }
  .packages { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .package.featured { order: -1; }
}

@media (max-width: 600px) {
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .hero { padding: 60px 0 90px; text-align: left; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badges { gap: 26px; }
  .hero-badges div strong { font-size: 1.8rem; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .member-img { height: 220px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .gallery figure.wide { grid-column: span 2; }
  .checks { grid-template-columns: 1fr; }
  .about-media .img-main { width: 100%; height: 360px; }
  .about-media .img-sub { width: 55%; height: 180px; bottom: -30px; }
  .about-media .exp { top: 16px; right: auto; left: 16px; padding: 16px 18px; }
  .exp strong { font-size: 2rem; }
  .hours-box, .cta-box { padding: 38px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .map-box, .map-box iframe { min-height: 340px; }
  .logo-text { font-size: 1.1rem; }
}
.package .muted { color: var(--muted); font-size: .88rem; }
