/* =====================================================
   Daun Ranting Souvenir — Artisan Sage Theme
   Brand: artisan-sage | Sub-tipe: Souvenir Pernikahan
   ===================================================== */

:root {
  --sage:       #7a9e7e;
  --sage-dark:  #4f7153;
  --sage-light: #c8deca;
  --cream:      #f7f3ec;
  --warm:       #e8dcc8;
  --gold:       #b8963e;
  --gold-light: #d4b06a;
  --brown:      #5c4433;
  --brown-light:#8a6d5a;
  --white:      #ffffff;
  --text:       #3a2e28;
  --text-soft:  #6b5a50;
  --border:     #d4c9b8;

  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(79,113,83,0.10);
  --shadow-hover: 0 6px 24px rgba(79,113,83,0.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
img { display: block; max-width: 100%; }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--gold); }
ul { list-style: none; }
button, input, textarea, select {
  font-family: var(--font);
  font-size: 1rem;
}

/* ── Demo Bar ── */
.demo-bar {
  background: var(--brown);
  color: var(--warm);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 999;
}
.demo-bar strong { color: var(--gold-light); letter-spacing: .04em; }
.demo-bar a {
  color: var(--sage-light);
  border: 1px solid var(--sage);
  border-radius: 4px;
  padding: 2px 10px;
  font-weight: 600;
  transition: background .2s;
}
.demo-bar a:hover { background: var(--sage); color: var(--white); }
.demo-bar .cta-wa {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  border-radius: 4px;
  padding: 3px 12px;
}
.demo-bar .cta-wa:hover { background: var(--gold-light); color: var(--brown); }

/* ── Site Header / Navbar ── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--sage-light);
  position: sticky;
  top: 36px;
  z-index: 900;
  box-shadow: var(--shadow);
}
.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--sage-dark);
}
.brand-icon {
  width: 40px; height: 40px;
  background: var(--sage);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-icon svg { width: 22px; height: 22px; }
.brand-tagline { font-size: 0.7rem; font-weight: 400; color: var(--text-soft); display: block; }

/* Checkbox mobile menu hack */
.menu-toggle { display: none; }
.menu-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-label span {
  display: block;
  width: 24px; height: 2px;
  background: var(--sage-dark);
  border-radius: 2px;
  transition: all .25s;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--sage-light);
  color: var(--sage-dark);
}
.nav-links .nav-cta {
  background: var(--sage);
  color: var(--white) !important;
  margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--sage-dark); }

/* Mobile nav */
@media (max-width: 700px) {
  .menu-label { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 2px solid var(--sage-light);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    gap: 4px;
  }
  .nav-links a { padding: 10px 14px; }
  .menu-toggle:checked ~ .nav-links { display: flex; }
  .menu-toggle:checked + .menu-label span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .menu-toggle:checked + .menu-label span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked + .menu-label span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
  .site-header { position: relative; top: 0; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 50%, var(--sage-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 0.8rem;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
}
.btn-white { background: var(--white); color: var(--sage-dark); }
.btn-white:hover { background: var(--cream); color: var(--sage-dark); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-sage { background: var(--sage); color: var(--white); }
.btn-sage:hover { background: var(--sage-dark); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--brown); border-color: var(--brown); }
.btn-outline { background: transparent; color: var(--sage-dark); border-color: var(--sage); }
.btn-outline:hover { background: var(--sage-light); }

/* ── Section layouts ── */
.section { padding: 60px 20px; }
.section-alt { background: var(--warm); }
.section-sage { background: var(--sage-light); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--sage-dark);
  margin-bottom: 10px;
}
.section-title p { color: var(--text-soft); max-width: 560px; margin: 0 auto; }
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  border-radius: 2px;
  margin: 14px auto;
}

/* ── Cards ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-img {
  aspect-ratio: 4/3;
  background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--sage-dark); margin-bottom: 6px; }
.card-body p { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 12px; }
.price { font-size: 1.15rem; font-weight: 700; color: var(--gold); }
.price small { font-size: 0.75rem; font-weight: 400; color: var(--text-soft); }

/* Product icon illustrations */
.prod-icon {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Feature / USP strips ── */
.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.feature-item {
  flex: 1 1 200px;
  max-width: 260px;
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 56px; height: 56px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--sage-dark); }
.feature-item p { font-size: 0.88rem; color: var(--text-soft); }

/* ── Testimonials ── */
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.testimonial p { font-style: italic; color: var(--text); margin-bottom: 14px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--sage), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: 0.9rem; color: var(--brown); }
.author-info span { font-size: 0.8rem; color: var(--text-soft); }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 8px; }

/* ── FAQ ── */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--sage-dark);
}
.faq-a { padding: 0 20px 18px; color: var(--text-soft); font-size: 0.93rem; line-height: 1.8; }

/* ── Form ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--brown); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sage);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.gallery-thumb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.gallery-item:hover .gallery-thumb { transform: scale(1.04); }
.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(79,113,83,.85));
  color: var(--white);
  padding: 16px 14px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Table ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th {
  background: var(--sage-dark);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
tr:nth-child(even) td { background: var(--cream); }
tr:last-child td { border-bottom: none; }

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.step-num {
  width: 48px; height: 48px;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-body h3 { font-size: 1rem; font-weight: 700; color: var(--sage-dark); margin-bottom: 4px; }
.step-body p { font-size: 0.9rem; color: var(--text-soft); }

/* ── Badge / tag ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-sage { background: var(--sage-light); color: var(--sage-dark); }
.badge-gold { background: #fdf3dc; color: var(--gold); }
.badge-brown { background: #f0e8e0; color: var(--brown); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(120deg, var(--sage-dark), var(--brown));
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.cta-banner p { opacity: .88; margin-bottom: 28px; }
.cta-banner .btn-white { color: var(--sage-dark); }

/* ── Footer ── */
.site-footer {
  background: var(--brown);
  color: var(--warm);
  padding: 48px 20px 20px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 14px; font-weight: 700; }
.footer-col p, .footer-col a { font-size: 0.88rem; color: var(--warm); opacity: .85; display: block; margin-bottom: 6px; }
.footer-col a:hover { color: var(--gold-light); opacity: 1; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  opacity: .7;
}

/* ── Breadcrumb ── */
.breadcrumb {
  background: var(--warm);
  padding: 12px 20px;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.breadcrumb a { color: var(--sage-dark); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ── Info box ── */
.info-box {
  background: var(--sage-light);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: 0.93rem;
  color: var(--sage-dark);
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(120deg, var(--sage-dark), var(--sage));
  color: var(--white);
  padding: 50px 20px 40px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}
.page-hero p { opacity: .88; max-width: 520px; margin: 0 auto; }

/* ── Contact info cards ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 56px; height: 56px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.contact-card h3 { font-size: 0.97rem; font-weight: 700; color: var(--sage-dark); margin-bottom: 6px; }
.contact-card p { font-size: 0.88rem; color: var(--text-soft); }

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.gap-top { margin-top: 40px; }

/* ── Responsive tweaks ── */
@media (max-width: 600px) {
  .section { padding: 40px 16px; }
  .hero { padding: 56px 16px 44px; }
  .page-hero { padding: 36px 16px 28px; }
  .step { flex-direction: column; gap: 12px; }
}
