/* Variables & Theme Mapping */
:root {
  --secondary: #596246;
  --warm-cream: #F7F1DE;
  --surface: #fff8f5;
  --surface-dim: #ffd1b0;
  --surface-container: #ffeadd;
  --inverse-surface: #3a1a0b;
  --deep-espresso: #4E220F;
  --harvest-gold: #9D6638;
  --sage-olive: #B0BA99;
  --on-surface-variant: #49473f;
  
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Hanken Grotesk", sans-serif;
}

/* Base Style overrides */
body, html {
  background-color: var(--surface);
  color: var(--deep-espresso);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Mencegah bug horizontal scroll dari animasi & element */
}

::selection {
  background-color: rgba(157, 102, 56, 0.2);
  color: var(--deep-espresso);
}

.container-custom {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography */
.brand-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--deep-espresso);
  letter-spacing: -0.01em;
}

.brand-title-sm {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-espresso);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--deep-espresso);
}

.body-text {
  font-size: 18px;
  line-height: 28px;
  color: var(--on-surface-variant);
}

/* Utils */
.border-harvest-gold-20 {
  border-color: rgba(157, 102, 56, 0.2) !important;
}

.invisible-initially {
  visibility: hidden;
}

/* Navbars & Header */
.custom-navbar {
  height: 80px;
  background-color: rgba(255, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 102, 56, 0.2);
  box-shadow: 0 1px 3px rgba(78, 34, 15, 0.05);
  z-index: 1050;
}

.custom-nav-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--deep-espresso);
  transition: color 0.3s ease;
}

.custom-nav-link:hover, .custom-nav-link.active {
  color: var(--harvest-gold) !important;
}

.mobile-header {
  height: 64px;
  background-color: rgba(255, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 102, 56, 0.2);
  z-index: 1050;
}

.main-content {
  padding-top: 64px;
}
@media (min-width: 768px) {
  .main-content { padding-top: 80px; }
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--deep-espresso);
  color: var(--warm-cream);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 4px 12px rgba(78, 34, 15, 0.12);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: var(--harvest-gold);
  color: var(--warm-cream);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section { min-height: 90vh; }
.absolute-inset { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.hero-bg {
  background-image: url("../image/hero-bg2.jpg");
  background-size: cover;
  background-position: center;
  width: 100%; height: 100%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-color: rgba(78, 34, 15, 0.4);
  mix-blend-mode: multiply;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--surface), transparent, transparent);
}
.badge-custom {
  display: inline-block; padding: 6px 16px; border-radius: 9999px;
  background-color: rgba(176, 186, 153, 0.9);
  color: var(--deep-espresso); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-serif); font-size: 36px; font-weight: 600;
  line-height: 44px; color: var(--warm-cream);
  text-shadow: 0 4px 12px rgba(78, 34, 15, 0.2);
}
@media (min-width: 768px) {
  .hero-title { font-size: 48px; line-height: 56px; letter-spacing: -0.02em; }
}
.hero-subtitle {
  font-size: 18px; line-height: 28px;
  color: rgba(247, 241, 222, 0.9); max-width: 672px; margin: auto;
}
.btn-hero-primary, .btn-hero-secondary {
  font-size: 14px; font-weight: 600; padding: 14px 32px;
  border-radius: 4px; transition: all 0.3s ease; text-decoration: none;
}
.btn-hero-primary {
  background-color: var(--warm-cream); color: var(--deep-espresso);
  box-shadow: 0 4px 12px rgba(78, 34, 15, 0.12);
}
.btn-hero-primary:hover { background-color: #ffffff; }
.btn-hero-secondary {
  border: 1px solid var(--warm-cream); color: var(--warm-cream); background: transparent;
}
.btn-hero-secondary:hover { background-color: rgba(247, 241, 222, 0.1); }

/* Sections & Cards */
.section-gap { padding-top: 100px; padding-bottom: 100px; }
@media (min-width: 768px) { .section-gap { padding-top: 120px; padding-bottom: 120px; } }
.border-top-custom { border-top: 1px solid rgba(157, 102, 56, 0.1); }
.divider {
  width: 64px; height: 1px; background-color: rgba(157, 102, 56, 0.5); margin: auto;
}

/* Card Jagoan */
.card-custom {
  background-color: var(--warm-cream); border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(157, 102, 56, 0.1); transition: all 0.3s ease;
}
.card-custom:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(78, 34, 15, 0.08); }
.card-img-wrapper { aspect-ratio: 4 / 3; width: 100%; overflow: hidden; }
.card-img-bg {
  background-size: cover; background-position: center; width: 100%; height: 100%;
  transition: transform 0.7s ease;
}
.card-custom:hover .card-img-bg { transform: scale(1.05); }
.product-1 { background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuDL5S_vnaVHrb1ZETk4tgJaTxXcW9E66d6VGGNHoKMCnVcyWxhMMy_TaO1MlztyTHu0hfp7_HzqWzUIJmavKuwTeq2dTQXDoOh6fy8B06VC3b70I8ZC_opCSncSo_0lFEixgEnO2AG3NtKTuYy2JBh8C_yTM6yy__nyMkhfIKRJCrgYNDnB-dfpvjRC8-31wd22-BstjFC51k52L4POiJPnvBTCXbBgcOtUOGfp9G71Qv5zgc5z7cEI"); }
.product-2 { background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuDJjzm77T3p6nlOuDsmc4bE0-JijdPXIFu-XmzE0X2urpEL5EAkrA7RGzNwx1L-9YIrM0C42fjZIRhP2YpNJZ_aOjlR2IvA0kXAziA1wxnWzckqBFWit8SW8fRwa3amaDnN5ScU_79XqJUnOzNIzlSElXmOucV8nSZCMeCqVCWKFRh3XlnsawLUAl43lhJIqBMbWeV8LO0Dz-sxSF86fTR0IgfLxvlIm6tEbKau4QejAdvu8aFQsmOC"); }
.product-3 { background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuDKRsPMUIVQH5_QaPpMYBHt3P2eE1D3Ymw7utqvIROFmtZ8bFB4Phe7d8FO9kY9OB1YGiTB8tbgz7hsHs3_HTShZwrDktd5opLQXZrSHLahW5iTZiPdsFoaKtKOB0HhK5gSd_A8HwcyeVzX_6qOC7tD1zEG7yVeWQwdEo5lCDqFTKipRYTcMFAccep3TIhiCJgGuxR5jXi5qWDgoVX4ZZUmXmEnNpF9TdWlksIuCuJm0fNi2IqOqheX"); }
.card-body-custom {
  padding: 32px; text-align: center; background-color: var(--warm-cream);
  margin: -32px 16px 16px; border-radius: 4px; position: relative; z-index: 10;
  box-shadow: 0 2px 4px rgba(78, 34, 15, 0.05); border: 1px solid rgba(157, 102, 56, 0.05);
}
.card-item-title { font-family: var(--font-serif); font-size: 24px; font-weight: 500; }
.card-item-text {
  font-size: 16px; line-height: 24px; color: var(--on-surface-variant);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-link { font-size: 14px; font-weight: 600; letter-spacing: 0.05em; color: var(--harvest-gold); }
.badge-card {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px; background-color: var(--sage-olive); color: var(--deep-espresso);
  font-size: 12px; font-weight: 500; border-radius: 9999px; box-shadow: 0 2px 4px rgba(78, 34, 15, 0.05);
}

/* Full Menu List Card */
.menu-list-card {
  background-color: var(--warm-cream); /* Memberikan background agar menyatu dengan foto */
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(157, 102, 56, 0.08);
  transition: all 0.4s ease;
}
.menu-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(78, 34, 15, 0.06) !important;
  border-color: rgba(157, 102, 56, 0.2);
}

/* Penambahan Style untuk Foto Menu Lengkap */
.menu-img-wrapper {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}
.menu-img-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.menu-list-card:hover .menu-img-bg {
  transform: scale(1.08);
}

/* Gambar Placeholder Premium (Gunakan URL asli Anda nanti) */
.full-menu-1 { background-image: url("https://placehold.co/1200x800"); } /* Pain au Chocolat */
.full-menu-2 { background-image: url("https://placehold.co/1200x800"); } /* Focaccia */
.full-menu-3 { background-image: url("https://placehold.co/1200x800"); } /* Sourdough / Gandum */
.full-menu-4 { background-image: url("https://placehold.co/1200x800"); } /* Es Kopi Susu */
.full-menu-5 { background-image: url("https://placehold.co/1200x800"); } /* Manual Brew */
.full-menu-6 { background-image: url("https://placehold.co/1200x800"); } /* Matcha Latte */

.menu-list-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--deep-espresso);
  font-weight: 600;
}
.menu-list-price {
  font-weight: 700;
  color: var(--harvest-gold);
  font-size: 18px;
}
.menu-list-desc {
  font-size: 14px;
  color: var(--on-surface-variant);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Brand Story */
.story-image-wrapper {
  border-radius: 8px; overflow: hidden; border: 1px solid rgba(157, 102, 56, 0.1); aspect-ratio: 1 / 1;
}
.story-image {
  background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuBpYmlF4yUvt2iORWQDORhHYeIZbEfHxZvFFUAU540EwGr3nEqE2o155fFQyJoJp1pgz_a8ppaykBYFCwGualdYX51W867GSEzFLR_72vG3q8TWOppb2OnXUrURTvp2WNg-ahQjhvR9yzDqY-DomPcwpc7zQf8XP-XDzl6d-ne-_e8aMzkiL6q4STCSrDrWDXo71P7Kmv0175UPO6R75JNml3EpP8Fya5CdV1UVRFSjOmRyIU_qOvfe");
  background-size: cover; background-position: center; width: 100%; height: 100%;
}

/* Location */
.icon-location { color: var(--harvest-gold); font-variation-settings: 'FILL' 1; }
.info-title { font-family: var(--font-serif); font-size: 20px; font-weight: 500; }
.info-text { font-size: 16px; color: var(--on-surface-variant); }
.info-text-sm { font-size: 13px; }
.btn-whatsapp {
  background-color: #25D366; color: white; font-size: 16px; font-weight: 600;
  padding: 12px 32px; border-radius: 4px; text-decoration: none; border: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2); transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background-color: #1ebd57; color: white; transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.map-wrapper {
  aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(157, 102, 56, 0.2); box-shadow: 0 8px 24px rgba(78, 34, 15, 0.08);
}

/* Modern Artisan Footer Redesign */
.footer-modern {
  background-color: var(--inverse-surface);
  color: var(--warm-cream);
  padding-top: 80px;
}
.footer-brand-large {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--warm-cream);
}
.footer-heading {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--harvest-gold);
}
.footer-text {
  color: rgba(247, 241, 222, 0.8);
  font-size: 15px;
  line-height: 1.6;
}
.footer-link {
  color: rgba(247, 241, 222, 0.8);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-link:hover {
  color: var(--harvest-gold);
  padding-left: 4px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(247, 241, 222, 0.1);
  color: var(--warm-cream);
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-btn:hover {
  background-color: var(--harvest-gold);
  color: var(--inverse-surface);
  transform: translateY(-2px);
}
.pb-safe { padding-bottom: calc(64px + 1rem); }
@media (min-width: 768px) { .pb-safe { padding-bottom: 2rem; } }
.fs-7 { font-size: 13px; }

/* Mobile Bottom Navigation */
.mobile-nav {
  background-color: rgba(255, 248, 245, 0.95); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(157, 102, 56, 0.2); box-shadow: 0 -4px 12px rgba(78, 34, 15, 0.08);
  height: 64px; padding: 0; z-index: 1050;
}
.mobile-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--on-surface-variant); text-decoration: none; padding: 4px 16px;
  border-radius: 8px; transition: transform 0.1s ease;
}
.mobile-nav-item:active { background-color: rgba(247, 241, 222, 0.5); transform: scale(0.95); }
.mobile-nav-item.active { color: var(--harvest-gold); font-weight: 700; }
.mobile-nav-item.active .material-symbols-outlined { font-variation-settings: 'FILL' 1; }
.mobile-nav-label { font-size: 12px; }