/* index.css — Styles for index.html
 * Depends on: style.css
 */

/* =====================================================
   index.css — Page-specific styles for index.html
   Import: <link rel="stylesheet" href="index.css">
   Shared base: style.css
===================================================== */

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      background: linear-gradient(160deg, #FAF6EE 0%, #F2E9D8 55%, #EDE0C8 100%);
      position: relative; display: flex; align-items: center; overflow: hidden;
    }
    .hero-glow {
      position: absolute; inset: 0; pointer-events: none;
      background:
        radial-gradient(ellipse 55% 60% at 75% 45%, rgba(184,130,46,.13) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 10% 85%, rgba(160,100,30,.08) 0%, transparent 55%);
    }
    .hero-grid {
      position: absolute; inset: 0;
      background-image: radial-gradient(circle, rgba(184,130,46,.18) 1px, transparent 1px);
      background-size: 32px 32px; opacity: .6;
    }
    .hero-grid::after {
      content: ''; position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(184,130,46,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184,130,46,.06) 1px, transparent 1px);
      background-size: 96px 96px;
    }
    .hero-inner { position: relative; z-index: 2; padding: 130px 0 80px; width: 100%; }

    .hero-tag {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(184,130,46,.1); border: 1px solid rgba(184,130,46,.35);
      color: var(--gold-dark); font-size: .68rem; font-weight: 600;
      letter-spacing: .16em; text-transform: uppercase;
      padding: 6px 14px; border-radius: 3px; margin-bottom: 20px;
    }
    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.2rem, 6vw, 5rem);
      font-weight: 900; color: #2A1F0E; line-height: 1.08; margin-bottom: 6px;
    }
    .hero-title em { display: block; font-style: italic; color: var(--gold); }
    .hero-sub {
      color: #6B5535; font-size: .95rem; font-weight: 400;
      max-width: 440px; line-height: 1.8; margin-bottom: 28px;
    }
    .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
    .hero-stats {
      display: flex; gap: 24px; flex-wrap: wrap;
      margin-top: 40px; padding-top: 24px;
      border-top: 1.5px solid rgba(184,130,46,.25);
    }
    .stat-num { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: var(--gold-dark); line-height: 1; }
    .stat-label { font-size: .68rem; color: #9A7A50; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

    /* Hero layout — desktop: 2 col, mobile: stacked */
    .hero-layout {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 48px;
      align-items: center;
    }

    /* Video portrait */
    .hero-video-wrap { position: relative; width: 100%; max-width: 320px; margin: 0 auto; }
    .hero-video-card {
      border-radius: 20px; overflow: hidden;
      box-shadow: 0 32px 64px rgba(100,65,20,.22), 0 0 0 1px rgba(184,130,46,.3);
      position: relative; aspect-ratio: 9/16; background: #1A1208;
    }
    .hero-video-card video {
      position: absolute; top: 0; left: 0;
      width: 100%; height: 100%; object-fit: cover; display: block;
    }
    .video-play-btn {
      position: absolute; inset: 0; display: flex;
      align-items: center; justify-content: center;
      cursor: pointer; z-index: 2; background: rgba(0,0,0,.15);
      transition: background .25s;
    }
    .video-play-btn:hover { background: rgba(0,0,0,.08); }
    .video-play-btn .play-circle {
      width: 64px; height: 64px; background: rgba(255,255,255,.92); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 6px 24px rgba(0,0,0,.3); transition: transform .2s;
    }
    .video-play-btn:hover .play-circle { transform: scale(1.1); }

    .hero-badge-float {
      position: absolute; bottom: -18px; left: -18px;
      background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
      color: #fff; padding: 16px 18px; border-radius: 10px; text-align: center;
      box-shadow: 0 10px 28px rgba(184,130,46,.4);
    }
    .badge-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; line-height: 1; }
    .badge-text { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }

    .scroll-down {
      position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
      color: rgba(100,65,20,.35); font-size: .65rem; letter-spacing: .18em;
      text-transform: uppercase; text-align: center; z-index: 2;
    }
    .scroll-down::after {
      content: ''; display: block; width: 1px; height: 32px;
      background: linear-gradient(rgba(184,130,46,.45), transparent);
      margin: 8px auto 0; animation: drop 1.9s ease-in-out infinite;
    }
    @keyframes drop {
      0%,100% { opacity:0; transform:scaleY(.3); transform-origin:top; }
      50%      { opacity:1; transform:scaleY(1); }
    }

    /* ── KEUNGGULAN ── */
    #keunggulan { padding: 80px 0; background: var(--beige); }
    .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 18px; margin-top: 44px; }
    .feature-card {
      background: var(--white); border: 1px solid var(--beige-border);
      border-radius: 12px; padding: 26px 22px;
      transition: border-color .3s, transform .3s, box-shadow .3s;
    }
    .feature-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .feat-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 16px; }
    .feat-icon svg { width: 20px; height: 20px; }
    .feat-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 7px; }
    .feat-desc { font-size: .84rem; color: var(--text-muted); line-height: 1.65; }

    /* ── UNITS PREVIEW ── */
    #units-preview { padding: 80px 0; background: var(--beige-mid); }
    .units-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 14px; }
    .units-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
    .section-sub { color: var(--text-muted); font-size: .92rem; margin-top: 7px; }

    /* ── PROMO STRIP ── */
    #promo-strip { padding: 70px 0; background: var(--beige); }
    .promo-inner {
      background: linear-gradient(130deg, #2A1F0E 0%, #4A3418 100%);
      border-radius: 14px; padding: 44px 40px;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 28px; box-shadow: var(--shadow-lg);
    }
    .promo-tag { font-size: .67rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,242,234,.5); margin-bottom: 9px; }
    .promo-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 900; color: #FDFAF5; line-height: 1.15; }
    .promo-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
    .promo-item { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 500; color: rgba(247,242,234,.8); }
    .promo-item svg { width: 15px; height: 15px; color: var(--gold-light); flex-shrink: 0; }
    .promo-cta { display: flex; flex-direction: column; gap: 11px; align-items: stretch; min-width: 200px; }
    .btn-wa-lg { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #25D366; color: #fff !important; font-weight: 700; font-size: .88rem; padding: 13px 24px; border-radius: 6px; text-decoration: none; transition: background .25s; }
    .btn-wa-lg:hover { background: #1ebe5d; }
    .btn-wa-lg svg { width: 19px; height: 19px; }
    .btn-gold-lg { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: #fff !important; font-weight: 700; font-size: .88rem; padding: 13px 24px; border-radius: 6px; text-decoration: none; transition: background .25s; }
    .btn-gold-lg:hover { background: var(--gold-light); }
    .btn-gold-lg svg { width: 15px; height: 15px; }

    /* ── LOKASI ── */
    #lokasi { padding: 80px 0; background: var(--cream-white); }
    .two-col-start { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
    .map-wrapper { border-radius: 12px; overflow: hidden; border: 1px solid var(--beige-border); box-shadow: var(--shadow-md); }
    .lokasi-row { display: flex; align-items: flex-start; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--beige-mid); }
    .lokasi-row:last-child { border-bottom: none; }
    .loc-icon { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: var(--gold-pale); border: 1px solid rgba(184,130,46,.25); display: flex; align-items: center; justify-content: center; color: var(--gold); }
    .loc-icon svg { width: 15px; height: 15px; }
    .loc-title { font-size: .9rem; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
    .loc-desc { font-size: .77rem; color: var(--text-muted); }

    /* ── TESTIMONI ── */
    #testimoni { padding: 80px 0; background: var(--beige-mid); }
    .testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 18px; margin-top: 40px; }
    .testi-card { background: var(--white); border: 1px solid var(--beige-border); border-radius: 12px; padding: 26px 22px; transition: border-color .3s, box-shadow .3s; }
    .testi-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
    .testi-stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 12px; }
    .testi-stars svg { width: 14px; height: 14px; }
    .testi-quote { font-family: 'Playfair Display', serif; font-size: 2.2rem; line-height: 1; color: var(--gold); opacity: .25; margin-bottom: -4px; }
    .testi-text { font-size: .88rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 20px; }
    .testi-name { font-weight: 700; font-size: .92rem; color: var(--text-dark); margin-bottom: 2px; }
    .testi-loc { font-size: .76rem; color: var(--text-light); }

    /* ── CTA FINAL ── */
    #cta-final { padding: 80px 0; background: linear-gradient(150deg, #2A1F0E 0%, #4A3418 100%); position: relative; overflow: hidden; }
    #cta-final::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(247,242,234,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(247,242,234,.04) 1px, transparent 1px); background-size: 52px 52px; }
    .cta-inner { position: relative; z-index: 1; }
    .two-col-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
    .cta-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,4vw,3.2rem); font-weight: 900; color: #FDFAF5; line-height: 1.15; }
    .cta-title em { font-style: italic; color: var(--gold-light); }
    .cta-sub { color: rgba(247,242,234,.55); font-size: .94rem; margin: 12px 0 28px; max-width: 500px; line-height: 1.75; }
    .cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
    .info-box { background: rgba(247,242,234,.07); border: 1px solid rgba(184,130,46,.2); border-radius: 12px; padding: 24px 26px; }
    .info-row { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; }
    .info-row:last-child { margin-bottom: 0; }
    .info-row svg { width: 13px; height: 13px; color: var(--gold-light); flex-shrink: 0; margin-top: 3px; }
    .info-row span { color: rgba(247,242,234,.65); font-size: .85rem; }

    /* ═══════════════════════════════════════
       RESPONSIVE — TABLET (max 991px)
    ═══════════════════════════════════════ */
    @media (max-width: 991px) {
      /* Hero — stack vertikal, video di bawah */
      .hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
      }
      .hero-sub { margin: 0 auto 28px; }
      .hero-cta { justify-content: center; }
      .hero-stats { justify-content: center; }
      .hero-video-wrap { max-width: 260px; margin: 0 auto; }
      .hero-badge-float { bottom: -14px; left: -14px; padding: 12px 14px; }
      .badge-num { font-size: 1.4rem; }

      /* Lokasi */
      .two-col-start { grid-template-columns: 1fr; }

      /* CTA final */
      .two-col-cta { grid-template-columns: 1fr; gap: 28px; }
      .cta-sub { max-width: 100%; }

      /* Promo */
      .promo-inner { padding: 32px 28px; text-align: center; flex-direction: column; align-items: center; }
      .promo-cta { min-width: unset; width: 100%; }
    }

    /* ═══════════════════════════════════════
       RESPONSIVE — MOBILE (max 768px)
    ═══════════════════════════════════════ */
    @media (max-width: 768px) {
      /* Hero padding */
      .hero-inner { padding: 100px 0 60px; }
      .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
      .hero-stats { gap: 16px; }
      .stat-num { font-size: 1.5rem; }

      /* Feature grid — 2 kolom di tablet kecil */
      .feature-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
      .feature-card { padding: 20px 16px; }
      .feat-icon { width: 40px; height: 40px; }
      .feat-icon svg { width: 18px; height: 18px; }
      .feat-title { font-size: .95rem; }
      .feat-desc { font-size: .8rem; }

      /* Units grid — 1 kolom */
      .units-grid { grid-template-columns: 1fr; }
      .units-header { flex-direction: column; align-items: flex-start; }

      /* Testi grid — 1 kolom */
      .testi-grid { grid-template-columns: 1fr; }

      /* Section padding */
      #keunggulan, #units-preview, #lokasi, #testimoni { padding: 60px 0; }
      #promo-strip, #cta-final { padding: 56px 0; }

      /* CTA buttons stacked */
      .cta-btns { flex-direction: column; }
      .cta-btns a { width: 100%; text-align: center; justify-content: center; }
    }

    /* ═══════════════════════════════════════
       RESPONSIVE — SMALL PHONE (max 480px)
    ═══════════════════════════════════════ */
    @media (max-width: 480px) {
      /* Hero */
      .hero-inner { padding: 90px 0 50px; }
      .hero-video-wrap { max-width: 200px; }
      .hero-tag { font-size: .62rem; }
      .scroll-down { display: none; }

      /* Feature grid — 1 kolom */
      .feature-grid { grid-template-columns: 1fr; }

      /* Promo */
      .promo-inner { padding: 26px 20px; border-radius: 10px; }
      .promo-title { font-size: 1.5rem; }
      .promo-item { font-size: .82rem; }

      /* Lokasi */
      .map-wrapper iframe { height: 220px !important; }

      /* Scroll hint hidden */
      .scroll-down { display: none; }
    }