/* ========================
   KOPI NARA – Landing Page
   Aesthetic: Warm Editorial
======================== */

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

:root {
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --brown-dark: #1a0f00;
  --brown-mid: #3d2010;
  --brown-light: #7a4a28;
  --accent: #c8773a;
  --accent-light: #e8a86a;
  --text-dark: #1a0f00;
  --text-mid: #5a3e2b;
  --text-light: #9a7a62;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(26, 15, 0, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 119, 58, 0.2);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: 2px;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(245, 240, 232, 0.75);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-light); }

.nav-cta {
  text-decoration: none;
  background: var(--accent);
  color: white;
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--accent-light); }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowzoom 16s ease-in-out infinite alternate;
}

@keyframes slowzoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,15,0,0.82) 0%,
    rgba(26,15,0,0.55) 50%,
    rgba(26,15,0,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-left: 10vw;
  animation: fadeup 1s ease both;
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(200,119,58,0.2);
  border: 1px solid rgba(200,119,58,0.5);
  color: var(--accent-light);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-light);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.78);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.3px;
}

.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-primary.large { padding: 18px 40px; font-size: 1rem; }

.btn-ghost {
  display: inline-block;
  text-decoration: none;
  border: 1px solid rgba(245,240,232,0.4);
  color: var(--cream);
  padding: 14px 28px;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--accent-light);
  background: rgba(200,119,58,0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(245,240,232,0.4);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- STATS ---- */
.stats {
  background: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px 60px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 48px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-light);
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(200,119,58,0.25);
}

/* ---- CERITA ---- */
.cerita {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.cerita-img {
  position: relative;
  overflow: hidden;
}

.cerita-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.cerita-tag {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: rgba(26,15,0,0.8);
  color: var(--accent-light);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  padding: 12px 20px;
  border-left: 3px solid var(--accent);
  backdrop-filter: blur(8px);
  max-width: 280px;
}

.cerita-text {
  background: var(--cream);
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.cerita-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown-dark);
}

.cerita-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ---- MENU ---- */
.menu {
  background: var(--warm-white);
  padding: 96px 60px;
}

.menu-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 480px;
}

.menu-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.menu-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26,15,0,0.12);
}

.menu-card.featured {
  border-color: var(--accent);
}

.menu-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  z-index: 1;
}

.menu-img {
  height: 200px;
  overflow: hidden;
}

.menu-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.menu-card:hover .menu-img img { transform: scale(1.05); }

.menu-info {
  padding: 24px;
}

.menu-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.menu-info p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 16px;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.menu-cta { text-align: center; }

/* ---- TESTIMONI ---- */
.testi {
  background: var(--brown-dark);
  padding: 96px 60px;
}

.testi-inner { max-width: 1100px; margin: 0 auto; }

.testi .section-label { color: var(--accent); display: block; margin-bottom: 48px; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,119,58,0.2);
  border-radius: 4px;
  padding: 32px;
  transition: border-color 0.2s;
}

.testi-card:hover { border-color: rgba(200,119,58,0.5); }

.testi-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(245,240,232,0.8);
  font-style: italic;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  color: var(--cream);
  font-size: 0.9rem;
}

.testi-author span {
  color: rgba(245,240,232,0.45);
  font-size: 0.78rem;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  padding: 120px 60px;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,15,0,0.75);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.72);
  margin-bottom: 36px;
}

/* ---- LOKASI ---- */
.lokasi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.lokasi-text {
  padding: 80px 72px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.lokasi-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.lokasi-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.lokasi-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.lokasi-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

.lokasi-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.lokasi-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-mid);
}

.lokasi-img {
  overflow: hidden;
}

.lokasi-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--brown-dark);
  padding: 56px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--cream);
  letter-spacing: 2px;
}

.footer-logo span { color: var(--accent); }

.footer p {
  color: rgba(245,240,232,0.45);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(245,240,232,0.55);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent-light); }

.footer-credit {
  color: rgba(245,240,232,0.25) !important;
  font-size: 0.75rem !important;
  margin-top: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero-content { margin-left: 6vw; }
  .stats { gap: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px; border-bottom: 1px solid rgba(200,119,58,0.15); }
  .stat:nth-child(1), .stat:nth-child(3) { border-right: 1px solid rgba(200,119,58,0.15); }
  .stat-num { font-size: 2rem; }
  .stat-divider { display: none; }
  .cerita, .lokasi { grid-template-columns: 1fr; }
  .cerita-img { height: 320px; }
  .cerita-text, .lokasi-text { padding: 48px 32px; }
  .menu { padding: 64px 24px; }
  .menu-grid { grid-template-columns: 1fr; gap: 20px; }
  .testi { padding: 64px 24px; }
  .testi-grid { grid-template-columns: 1fr; gap: 20px; }
  .cta-banner { padding: 80px 24px; }
  .footer { padding: 40px 24px; }
  .lokasi-img { height: 280px; }
}
