/* ============================
   ZAVIAN LAUNDRY — main.css
   ============================ */

:root {
  --brand-accent: #3b82f6;
  --brand-dark:   #1e3a5f;
  --brand-mid:    #5b8db8;
  --brand-soft:   #dbeafe;
  --bg-soft:      #f0f6ff;
  --text:         #1e293b;
  --muted:        #64748b;
  --radius:       14px;
  --shadow:       0 8px 32px rgba(15,23,42,.10);
  --font:         'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

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

/* ---- BUTTONS ---- */
.btn-primary, .btn-outline, .btn-login {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .22s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.btn-primary:hover { background: #2563eb; border-color: #2563eb; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59,130,246,.35); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.navbar.scrolled { background: rgba(15,23,42,.97); box-shadow: 0 4px 24px rgba(0,0,0,.25); }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.25);
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.logo { color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: -.2px; }

nav { display: flex; align-items: center; gap: 10px; }
nav::before, nav::after { content: none !important; }
nav a { color: #cbd5e1; font-size: .95rem; font-weight: 500; padding: 7px 14px; border-radius: 50px; transition: all .2s; }
nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.btn-login {
  background: var(--brand-accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  border: 2px solid var(--brand-accent);
}
.btn-login:hover { background: #2563eb; border-color: #2563eb; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1626806787461-102c1bfaaea1?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
}
.overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10,20,50,.75) 0%, rgba(30,58,95,.65) 100%); }
.hero-content { position: relative; text-align: center; color: #fff; max-width: 780px; padding: 0 16px; }
.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,.25);
  border: 1px solid rgba(59,130,246,.5);
  color: #93c5fd;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: #cbd5e1; max-width: 560px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: #94a3b8; font-size: .8rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: fadeInUp 1s 1s both; }
.scroll-arrow { width: 20px; height: 20px; border-right: 2px solid #94a3b8; border-bottom: 2px solid #94a3b8; transform: rotate(45deg); animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(5px)} }
@keyframes fadeInUp { from{opacity:0;transform:translateX(-50%) translateY(20px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--brand-dark); padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: center; }
.stat-item { padding: 14px 10px; border: 1px solid rgba(148,163,184,.24); border-radius: 12px; background: rgba(255,255,255,.03); }
.stat-item b { display: block; font-size: 2rem; font-weight: 800; color: #60a5fa; }
.stat-item span { color: #94a3b8; font-size: .9rem; margin-top: 4px; display: block; }

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.gray { background: var(--bg-soft); }
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 10px;
}
.section-label.center { display: block; text-align: center; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--brand-dark); margin-bottom: 40px; }
.section-title.center { text-align: center; }

/* ---- TENTANG ---- */
.tentang-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tentang-text h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--brand-dark); margin-bottom: 16px; }
.tentang-text p { color: var(--muted); margin-bottom: 20px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { list-style: none; color: var(--text); font-weight: 500; padding-left: 2px; }
.tentang-img img { border-radius: 20px; height: 400px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }

/* ---- CARDS ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,23,42,.13); }
.card-icon { font-size: 1.4rem; margin-bottom: 12px; }
.card h4 { font-size: 1.1rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .93rem; }

/* ---- GALLERY ---- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.65) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 700; font-size: .95rem; }

/* ---- TESTIMONIALS ---- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.testimonial-card p {
  color: var(--text);
  font-size: .94rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.testimonial-card h4 {
  color: var(--brand-dark);
  font-size: 1rem;
  margin-bottom: 2px;
}
.testimonial-card small {
  color: var(--muted);
  font-size: .82rem;
}

/* ---- LOKASI ---- */
.lokasi-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; margin-top: 8px; }
.lokasi-info { display: flex; flex-direction: column; gap: 20px; }
.lokasi-item { display: flex; gap: 16px; align-items: flex-start; }
.lokasi-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.lokasi-item strong { display: block; font-weight: 700; color: var(--brand-dark); margin-bottom: 4px; }
.lokasi-item p { color: var(--muted); font-size: .93rem; }
.lokasi-item a { color: var(--brand-accent); font-weight: 600; }
.lokasi-item a:hover { text-decoration: underline; }
.wa-btn { margin-top: 8px; width: fit-content; font-size: .95rem; }
.lokasi-wrap iframe { width: 100%; min-height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- FOOTER ---- */
.footer { background: #0f172a; color: #cbd5e1; padding: 40px 0 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.2); }
.footer-brand strong { color: #fff; font-size: 1.05rem; display: block; }
.footer-brand p { color: #94a3b8; font-size: .88rem; margin-top: 2px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #94a3b8; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #475569; font-size: .83rem; }

/* ---- WA FLOAT ---- */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .25s;
  display: flex;
}
.wa-float:hover { transform: scale(1.12); }
.wa-float svg { width: 100%; height: 100%; }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .tentang-wrap { grid-template-columns: 1fr; gap: 36px; }
  .tentang-img { order: -1; }
  .tentang-img img { height: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lokasi-wrap { grid-template-columns: 1fr; }
  .lokasi-wrap iframe { min-height: 300px; }
}

@media (max-width: 700px) {
  .container { width: min(1120px, 94%); }

  nav { 
    display: none; 
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,15,30,.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 99;
  }
  nav.open { display: flex; }
  nav a { font-size: 1.08rem; padding: 11px 24px; }
  .hamburger { display: flex; z-index: 100; }
  .brand-logo { width: 40px; height: 40px; }
  .logo { font-size: 1rem; }

  .hero {
    min-height: 86vh;
    padding: 82px 0 40px;
    align-items: center;
  }
  .hero-badge { font-size: .72rem; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); margin-bottom: 12px; }
  .hero p { font-size: .96rem; margin-bottom: 18px; }
  .hero-cta { width: 100%; gap: 10px; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    width: min(320px, 100%);
    text-align: center;
    padding: 10px 16px;
  }

  .hero-scroll-hint { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-item { padding: 10px 8px; }
  .stat-item b { font-size: 1.35rem; }
  .stat-item span { font-size: .78rem; }

  .section { padding: 56px 0; }
  .section-title { margin-bottom: 26px; }

  .cards,
  .gallery,
  .testimonials { grid-template-columns: 1fr; }

  .card { padding: 20px 16px; }
  .testimonial-card { padding: 18px 14px; }

  .lokasi-wrap { gap: 18px; }
  .lokasi-info { gap: 14px; }
  .lokasi-item { gap: 10px; }
  .lokasi-wrap iframe { min-height: 250px; }

  .footer { padding: 28px 0 18px; }
  .footer-links { gap: 12px; }
  .footer-links a { font-size: .85rem; }
}

@media (max-width: 420px) {
  .nav-wrap { padding: 10px 0; }
  .brand-logo { width: 36px; height: 36px; }
  .logo { font-size: .92rem; }

  .hero { min-height: 82vh; padding-top: 76px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: .9rem; }

  .stats-grid { grid-template-columns: 1fr; }
}