/* ============================================
   AdthiStory — Wedding Decoration
   Shared Stylesheet
   Palette: Gold #B8974A · Black #111008 · Cream #FAF7F2
   ============================================ */

:root {
  --gold: #B8974A;
  --gold-dark: #9a7c39;
  --gold-light: #d8bc7e;
  --black: #111008;
  --cream: #FAF7F2;
  --white: #ffffff;
  --grey: #6b675e;
  --line: rgba(17, 16, 8, 0.1);
  --shadow: 0 10px 30px rgba(17, 16, 8, 0.08);
  --shadow-lg: 0 18px 50px rgba(17, 16, 8, 0.14);
  --radius: 14px;
  --font-head: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; }

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

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- Section helpers ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--white); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.section-head p { color: var(--grey); }

.divider-gold {
  width: 64px; height: 2px; background: var(--gold);
  margin: 18px auto 0; border: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em; cursor: pointer; border: none;
  transition: all 0.25s ease;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(184, 151, 74, 0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.75); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1eb857; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, 0.35); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.logo { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; letter-spacing: 0.02em; }
.logo span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--black);
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--black); color: var(--white);
  padding: 11px 22px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; transition: background 0.25s ease;
}
.nav-cta:hover { background: var(--gold); }
.nav-cta i { color: #25D366; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--black); padding: 6px;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 12px 0 20px;
    transform: translateY(-130%); transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 13px 0; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 11px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  background-size: cover; background-position: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,16,8,0.55) 0%, rgba(17,16,8,0.45) 50%, rgba(17,16,8,0.7) 100%);
}
.hero-content { position: relative; z-index: 1; width: min(820px, 92%); padding: 120px 0; }
.hero-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 600; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto 38px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.75); font-size: 1.3rem; z-index: 1;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.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.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.badge-cicil {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 6px 13px; border-radius: 999px; text-transform: uppercase;
}
.service-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { font-size: 1.5rem; margin-bottom: 6px; }
.price-label { font-size: 0.78rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.1em; }
.price-value { font-size: 1.25rem; font-weight: 700; color: var(--gold); margin-bottom: 18px; }
.service-card .btn { margin-top: auto; padding: 12px 26px; font-size: 0.88rem; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step-card { text-align: center; padding: 34px 22px; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--line); }
.section-alt .step-card { background: var(--cream); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.step-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--grey); }

/* ---------- Gallery grid ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer; display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17,16,8,0.55));
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .gallery-tag {
  position: absolute; bottom: 14px; left: 16px; z-index: 1;
  color: var(--white); font-size: 0.85rem; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: all 0.3s ease;
}
.gallery-item:hover .gallery-tag { opacity: 1; transform: translateY(0); }

/* Filter tabs */
.filter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.filter-tab {
  padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font-family: var(--font-body); font-size: 0.88rem;
  font-weight: 500; cursor: pointer; transition: all 0.25s ease; color: var(--black);
}
.filter-tab:hover { border-color: var(--gold); color: var(--gold); }
.filter-tab.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(17, 16, 8, 0.94);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--gold-light); }
.lightbox-caption {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.85); font-size: 0.9rem; letter-spacing: 0.05em;
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card {
  background: var(--white); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 18px;
}
.testi-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 3px; }
.testi-text { font-style: italic; color: var(--grey); font-size: 0.96rem; flex: 1; }
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-person strong { display: block; font-size: 0.95rem; }
.testi-person small { color: var(--grey); font-size: 0.82rem; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative; padding: 130px 0; text-align: center; color: var(--white);
  background-size: cover; background-position: center; background-attachment: fixed;
}
.cta-final::before { content: ''; position: absolute; inset: 0; background: rgba(17,16,8,0.72); }
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 16px; }
.cta-final h2 em { font-style: italic; color: var(--gold-light); }
.cta-final p { color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,0.72); padding: 70px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 50px;
}
.footer .logo { color: var(--white); margin-bottom: 14px; display: inline-block; }
.footer p { font-size: 0.9rem; }
.footer h4 {
  color: var(--white); font-family: var(--font-body); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 18px; font-weight: 600;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 0.9rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 12px; font-size: 0.9rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 4px; width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0; text-align: center; font-size: 0.82rem;
}
.footer-bottom span { color: var(--gold-light); }

/* ---------- WA float ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.1); }

/* ============================================
   DETAIL LAYANAN (Bridestory-style)
   ============================================ */
.breadcrumb {
  padding: 18px 0; font-size: 0.85rem; color: var(--grey);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.65rem; margin: 0 8px; }

.detail-layout {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px;
  align-items: start; padding-bottom: 90px;
}

/* Slideshow */
.slideshow { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.slides { position: relative; aspect-ratio: 4/3; background: #ddd; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(250,247,242,0.9); color: var(--black); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.slide-btn:hover { background: var(--gold); color: #fff; }
.slide-prev { left: 14px; }
.slide-next { right: 14px; }
.slide-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.slide-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.55); transition: all 0.2s; padding: 0;
}
.slide-dot.active { background: var(--gold); transform: scale(1.25); }
.slide-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.slide-thumb {
  border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent;
  aspect-ratio: 4/3; padding: 0; background: none; transition: border-color 0.2s;
}
.slide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slide-thumb.active { border-color: var(--gold); }

/* Booking panel (right, sticky) */
.booking-panel {
  position: sticky; top: 96px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 34px 32px;
}
.booking-panel .panel-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 8px;
}
.booking-panel h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 16px; }

.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-old { color: var(--grey); text-decoration: line-through; font-size: 1rem; }
.price-new { color: var(--gold); font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; }
.badge-hemat {
  display: inline-block; background: #e8f6ec; color: #1a7f3c;
  font-size: 0.76rem; font-weight: 700; padding: 6px 14px;
  border-radius: 999px; margin: 10px 0 4px;
}

/* Cicilan */
.cicilan-box {
  background: var(--cream); border: 1px dashed var(--gold);
  border-radius: 12px; padding: 20px 22px; margin: 20px 0 24px;
}
.cicilan-box h3 {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--black);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.cicilan-box h3 i { color: var(--gold); }
.cicilan-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.9rem; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.cicilan-row:last-child { border-bottom: none; }
.cicilan-row span:first-child { color: var(--grey); }
.cicilan-row span:last-child { font-weight: 700; white-space: nowrap; }

.booking-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }

/* Included items */
.included h2 {
  font-size: 1.35rem; margin-bottom: 14px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.included ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.included li { display: flex; gap: 12px; font-size: 0.92rem; align-items: flex-start; }
.included li i { color: var(--gold); margin-top: 4px; font-size: 0.85rem; }

.custom-note {
  margin-top: 24px; background: #fdf6e9; border-left: 3px solid var(--gold);
  padding: 16px 18px; border-radius: 0 10px 10px 0; font-size: 0.88rem; color: #6d5a2e;
}
.custom-note i { color: var(--gold); margin-right: 8px; }

/* Detail description below */
.detail-desc { max-width: 780px; }
.detail-desc h2 { font-size: 1.9rem; margin-bottom: 16px; }
.detail-desc p { color: var(--grey); margin-bottom: 14px; }

/* Related services */
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.related-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.25s ease;
}
.related-card:hover { transform: translateY(-4px); }
.related-card img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.related-card div { padding: 16px 18px; }
.related-card h3 { font-size: 1.1rem; }
.related-card small { color: var(--gold); font-weight: 600; font-size: 0.82rem; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative; padding: 110px 0; text-align: center; color: var(--white);
  background-size: cover; background-position: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(17,16,8,0.62); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-story-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-story-img img { width: 100%; height: 100%; object-fit: cover; }
.about-story h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.about-story p { color: var(--grey); margin-bottom: 14px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 30px;
  text-align: center; box-shadow: var(--shadow);
}
.value-icon {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 20px;
  background: rgba(184, 151, 74, 0.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.value-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.value-card p { color: var(--grey); font-size: 0.93rem; }

.coverage-box {
  background: var(--black); color: rgba(255,255,255,0.85);
  border-radius: var(--radius); padding: 56px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.coverage-box h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.coverage-box h2 span { color: var(--gold-light); }
.coverage-cities { display: flex; flex-wrap: wrap; gap: 10px; }
.city-chip {
  border: 1px solid rgba(184,151,74,0.5); color: var(--gold-light);
  padding: 8px 18px; border-radius: 999px; font-size: 0.85rem;
}

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  text-align: center; box-shadow: var(--shadow); transition: transform 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card i { font-size: 1.8rem; color: var(--gold); margin-bottom: 16px; }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-card p { color: var(--grey); font-size: 0.92rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .services-grid, .steps-grid, .testi-grid, .values-grid,
  .contact-grid, .related-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-story, .coverage-box { grid-template-columns: 1fr; }
  .coverage-box { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-final { background-attachment: scroll; }
  .hero-actions .btn { width: 100%; }
  .booking-panel { padding: 26px 22px; }
}
