/* =========================================================
   STYLE — WEBSITE SERVICE SOFA
   Ganti warna utama di bagian :root { } di bawah ini.
   ========================================================= */

:root {
  /* --- WARNA UTAMA (ubah di sini untuk ganti tema) --- */
  --brand:        #b5622e;   /* cokelat terracotta */
  --brand-dark:   #8f4a1f;
  --brand-soft:   #f6ede4;   /* krem lembut */
  --accent:       #d99a5b;   /* emas hangat */
  --ink:          #2a2320;   /* teks gelap */
  --ink-soft:     #6b5f57;   /* teks abu */
  --cream:        #fbf7f2;   /* latar krem */
  --white:        #ffffff;
  --wa:           #25d366;   /* hijau WhatsApp */
  --wa-dark:      #1da851;

  --radius:   18px;
  --radius-sm:12px;
  --shadow:   0 18px 40px -18px rgba(80, 45, 20, .35);
  --shadow-sm:0 8px 20px -10px rgba(80, 45, 20, .3);
  --maxw:     1180px;
  --font-head:'Playfair Display', Georgia, serif;
  --font-body:'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Placeholder foto (saat foto belum diganti) ---------- */
.img-placeholder {
  min-height: 220px;
  background:
    linear-gradient(135deg, var(--brand-soft), #efe0d0),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(181,98,46,.06) 18px, rgba(181,98,46,.06) 36px);
  background-blend-mode: multiply;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark);
  font-weight: 700; font-size: .95rem; letter-spacing: .3px;
  position: relative;
}
.img-placeholder::after {
  content: "📷 " attr(alt);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 100px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  border: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(42,35,32,.2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(251,247,242,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px -12px rgba(80,45,20,.4);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .5px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
/* Logo pada brand-mark di header */
.site-header .brand-mark {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  width: 120px; height: 56px;
}
/* Logo pada brand-mark di footer */
.site-footer .brand-mark {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  width: 120px; height: 56px;
}
.brand-mark img {
  width: 100%; height: 100%; object-fit: contain;
}
.brand-name { font-size: 1.15rem; color: var(--ink); line-height: 1.1; }
.brand-name em { color: var(--brand); font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; transition: color .2s; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--brand); transition: width .25s ease;
}
.main-nav a:not(.btn):hover { color: var(--brand); }
.main-nav a:not(.btn):hover::after { width: 100%; }
.nav-cta { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(217,154,91,.22), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(181,98,46,.16), transparent 40%),
    linear-gradient(180deg, var(--brand-soft), var(--cream) 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--brand); background: rgba(181,98,46,.1);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.eyebrow.light { color: #ffe6cf; background: rgba(255,255,255,.14); }
.hero-text h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.1; color: var(--ink);
  margin-bottom: 20px;
}
.highlight { color: var(--brand); position: relative; white-space: nowrap; }
.highlight::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px;
  background: rgba(217,154,91,.35); z-index: -1; border-radius: 4px;
}
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { list-style: none; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--brand); line-height: 1; }
.hero-stats span { font-size: .85rem; color: var(--ink-soft); }

.hero-media { position: relative; }
.hero-card { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-card img { width: 100%; height: 460px; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: #fff; border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.hero-badge-icon { color: var(--accent); font-size: 1.1rem; letter-spacing: 1px; }
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge span { font-size: .8rem; color: var(--ink-soft); }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 2rem; color: var(--brand); animation: bounce 1.8s infinite; line-height: 1;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand); color: #fff; padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 26px; align-items: center; animation: scroll-x 26s linear infinite; }
.marquee-track span { font-weight: 700; font-size: .95rem; letter-spacing: .5px; opacity: .95; }
.marquee-track span:nth-child(even) { opacity: .5; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section umum ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--brand-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--ink); margin: 6px 0 14px;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head code { background: rgba(181,98,46,.12); color: var(--brand-dark); padding: 2px 7px; border-radius: 6px; font-size: .85em; }

/* ---------- Layanan ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid rgba(181,98,46,.1); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.9rem; background: var(--brand-soft); margin-bottom: 18px;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Galeri ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn {
  padding: 9px 20px; border-radius: 100px; border: 1.5px solid rgba(42,35,32,.15);
  background: transparent; font-weight: 600; font-size: .9rem; cursor: pointer;
  color: var(--ink-soft); transition: .2s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm); aspect-ratio: 1/1;
  transition: transform .3s ease; background: var(--brand-soft);
}
.gallery-item.hide { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img:not(.img-placeholder) { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(30,18,10,.85));
  transform: translateY(8px); opacity: 0; transition: .3s;
}
.gallery-item:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery-item figcaption span { font-weight: 700; display: block; }
.gallery-item figcaption small { opacity: .85; font-size: .8rem; }

/* ---------- Kenapa kami ---------- */
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-media img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.why-text h2 { font-family: var(--font-head); font-size: clamp(1.9rem,3.5vw,2.6rem); margin: 6px 0 24px; }
.feature-list { list-style: none; display: grid; gap: 18px; margin-bottom: 30px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list span {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-size: .9rem; font-weight: 700;
}
.feature-list strong { display: block; font-size: 1.05rem; }
.feature-list p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Proses ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center;
  border: 1px solid rgba(181,98,46,.1); position: relative;
}
.step-no {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 700; display: grid; place-items: center;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Testimoni ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(181,98,46,.1);
}
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial blockquote { font-size: 1rem; color: var(--ink); margin-bottom: 18px; font-style: italic; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- CTA / Kontak ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; border-radius: 0;
}
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.cta-text h2 { font-family: var(--font-head); font-size: clamp(1.9rem,3.6vw,2.7rem); margin: 6px 0 16px; }
.cta-text > p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 26px; max-width: 480px; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-bottom: 30px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ci {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.14);
  display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0;
}
.contact-list small { display: block; font-size: .78rem; opacity: .75; text-transform: uppercase; letter-spacing: .5px; }
.contact-list a, .contact-list div > span { font-weight: 600; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.cta-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow); }
.cta-card h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 4px; }
.cta-card .muted { color: var(--ink-soft); font-size: .9rem; margin-bottom: 20px; }
.wa-form { display: grid; gap: 14px; }
.wa-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.wa-form input, .wa-form select, .wa-form textarea {
  font-family: inherit; font-size: .95rem; padding: 12px 14px;
  border: 1.5px solid rgba(42,35,32,.15); border-radius: 10px; background: var(--cream);
  color: var(--ink); transition: border-color .2s; resize: vertical;
}
.wa-form input:focus, .wa-form select:focus, .wa-form textarea:focus {
  outline: none; border-color: var(--brand);
}

/* ---------- Lokasi / Peta ---------- */
.map-wrap {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 0;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #fff;
}
.map-info { padding: 40px 36px; display: flex; flex-direction: column; }
.map-info h3 { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 22px; color: var(--brand-dark); }
.map-details { list-style: none; display: grid; gap: 18px; margin-bottom: 26px; }
.map-details li { display: flex; gap: 14px; align-items: flex-start; }
.map-details span {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-soft); display: grid; place-items: center; font-size: 1.2rem;
}
.map-details strong { display: block; font-size: 1rem; }
.map-details p { color: var(--ink-soft); font-size: .94rem; }
.map-details a { color: var(--brand); font-weight: 600; }
.map-info .btn { align-self: flex-start; margin-top: auto; }
.map-frame { min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; display: block; filter: saturate(.95); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: .92rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* ---------- WhatsApp mengambang ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6);
  animation: pulse 2.4s infinite; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,12,6,.9);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 20px; right: 26px; background: none; border: none;
  color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1;
}

/* ---------- Animasi reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card img { height: 380px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 36px; }
  .why-media img { height: 340px; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-frame { min-height: 320px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    background: var(--cream); padding: 90px 30px 30px; gap: 22px;
    box-shadow: -10px 0 40px -10px rgba(0,0,0,.3); transition: right .35s ease; z-index: 95;
  }
  .main-nav.open { right: 0; }
  .nav-toggle { display: flex; z-index: 96; }
  .nav-cta { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 120px; }
  .hero-badge { left: 0; }
  .section { padding: 60px 0; }
}
