:root {
  --primary-brown: #4E342E;
  --secondary-brown: #795548;
  --accent-gold: #FFC107;
  --light-bg: #EFEBE9;
  --white: #FFFFFF;
  --text-dark: #212121;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: auto; }
button { border: none; background: none; cursor: pointer; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

.mt-50 { margin-top: 50px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }

h1, h2, h3, h4 { font-family: 'Lora', serif; font-weight: 700; color: var(--primary-brown); }

/* Section Titles */
.section-title { font-size: 2.5rem; margin-bottom: 10px; }
.section-subtitle {
  color: var(--secondary-brown);
  font-size: 1.1rem;
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.section-subtitle::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 10px auto 0;
}
.section-desc { max-width: 600px; margin: 0 auto 50px; color: #666; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--primary-brown);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary-brown);
}
.btn:hover { background-color: transparent; color: var(--primary-brown); }

.btn-outline-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary-brown);
  border-color: #fff;
}

.btn-small { padding: 10px 20px; font-size: 0.9rem; }

/* Header & Nav */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.logo-area{
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon{
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.logo-text{
  font-family: 'Lora', serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--primary-brown);
}

.logo-text span{
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-gold);
  transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; color: var(--primary-brown); }

/* Mobile Nav */
.mobile-nav-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--primary-brown);
  display: flex;
  flex-direction: column;
  padding: 80px 40px;
  gap: 25px;
  transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  z-index: 1002;
  box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}
.mobile-nav.active { right: 0; }
.mobile-nav a {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

.mobile-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

/* Hero */
.hero {
  height: 100vh;
  min-height: 600px;
  padding-top: 80px;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(78, 52, 46, 0.65)
    ),
    url("../asset/backgroundpondokpetani.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-content p {
  color: #f1f1f1;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* About */
.about-grid { 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start; /* ⬅️ INI KUNCINYA */
}
.about-img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about-img img { transition: transform 0.5s; }
.about-img:hover img { transform: scale(1.05); }

.lead { margin-bottom: 20px; font-size: 1.1rem; }

.history-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  margin-top: 30px;
  border-left: 5px solid var(--accent-gold);
  box-shadow: var(--shadow);
}
.history-card p { font-size: 0.95rem; color: #555; }
.history-head { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.history-head h3 { font-size: 1.3rem; }
.history-card-dark { border-left-color: #2D1E1A; margin-top: 20px; }
.history-card-dark h4 { font-size: 1.1rem; margin-bottom: 10px; }

/* Facilities */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.facility-item {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.facility-item:hover { transform: translateY(-10px); }
.facility-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-brown);
  margin-bottom: 15px;
}
.facility-item p { font-size: 0.9rem; color: #666; }

/* Menu */
.menu-section { background-color: var(--white); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.menu-card { background: var(--light-bg); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); }
.menu-header { background: var(--primary-brown); color: var(--white); padding: 20px; text-align: center; }
.menu-header h3 { color: var(--white); margin: 0; font-size: 1.5rem; }

.icon-gold {
  color: var(--accent-gold);
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  display: inline-block;
}

.menu-table-wrapper { padding: 20px; overflow-x: auto; }
.menu-table { width: 100%; border-collapse: collapse; min-width: 300px; }
.menu-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  vertical-align: middle;
}
.menu-table tr:last-child td { border-bottom: none; }
.item-name { font-weight: 600; color: var(--text-dark); display: block; }
.item-cat { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.item-price { text-align: right; font-weight: 700; color: var(--primary-brown); white-space: nowrap; }

/* Reviews */
.reviews-section { background: var(--primary-brown); color: var(--white); }
.subtitle-gold { color: var(--accent-gold); }
.title-white { color: var(--white); }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.2);
}
.stars { color: var(--accent-gold); margin-bottom: 15px; }
.review-text { font-style: italic; margin-bottom: 20px; opacity: 0.9; }
.reviewer { font-weight: 700; font-family: 'Lora', serif; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-brown);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform 0.3s; width: 18px; height: 18px; }
details[open] .faq-icon { transform: rotate(180deg); }
.faq-item p {
  padding: 0 20px 20px;
  color: #555;
  font-size: 0.95rem;
  border-top: 1px solid #eee;
  margin-top: 0;
}

/* Contact */
.contact-section { background-color: var(--light-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 20px;
  overflow: hidden;
}
.contact-info { padding: 50px; }
.contact-title { font-size: 2rem; margin-bottom: 30px; }
.contact-item { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-label { font-weight: 700; display: block; color: var(--primary-brown); }
.hours { font-size: 0.9rem; color: #555; }

.map-container { width: 100%; height: 100%; min-height: 400px; }
.map-frame { width: 100%; height: 100%; border: 0; }

/* Footer */
footer {
  background-color: #2D1E1A;
  color: #ddd;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p { color: #aaa; line-height: 1.8; }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-brand h3 { color: white; font-family: 'Lora', serif; }

.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--accent-gold); padding-left: 5px; transition: 0.3s; }

.social-links { display: flex; gap: 15px; }
.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent-gold); color: var(--primary-brown); }

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Floating CTA */
.floating-cta { position: fixed; right: 20px; bottom: 20px; z-index: 1500; }

.wa-btn {
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.wa-btn:hover { transform: scale(1.08); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* WhatsApp Popup */
.wa-modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1600;
}
.wa-modal-overlay.active{ opacity: 1; visibility: visible; }

.wa-modal{
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: min(360px, calc(100% - 40px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  transform: translateY(15px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1601;
  overflow: hidden;
}
.wa-modal.active{
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.wa-modal-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-modal-close:hover{ background: rgba(0,0,0,0.10); }

.wa-modal-head{
  display: flex;
  gap: 12px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}
.wa-avatar{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-title{ font-weight: 700; font-size: 1.05rem; }
.wa-subtitle{ opacity: .92; font-size: .88rem; margin-top: 2px; }

.wa-modal-body{ padding: 16px 18px 18px; }
.wa-label{ display:block; font-weight: 600; color: #333; margin: 10px 0 6px; font-size: .9rem; }

.wa-input, .wa-textarea{
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  outline: none;
}
.wa-input:focus, .wa-textarea:focus{ border-color: #25D366; }

.wa-quick{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.wa-chip{
  border: 1px solid #e8e8e8;
  background: #fafafa;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: .82rem;
}
.wa-chip:hover{ border-color: #25D366; }

.wa-send{
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
}
.wa-send:hover{ filter: brightness(0.95); }

.wa-note{ margin-top: 10px; font-size: .85rem; color: #666; }

/* Icon sizing helpers */
.icon-32 { width: 32px; height: 32px; }
.icon-24 { width: 24px; height: 24px; }
.icon-20 { width: 20px; height: 20px; }
.icon-brown { color: var(--primary-brown); width: 24px; height: 24px; }

/* Responsive */
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-container { height: 400px; }
  .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  .about-grid { grid-template-columns: 1fr; }
  .about-grid { display: flex; flex-direction: column-reverse; }

  .section-title { font-size: 2rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .container { padding: 0 15px; }

  /* Logo responsive */
  .logo-icon{ width: 36px; height: 36px; }
  .logo-text{ font-size: 1.25rem; }
}

/* About Video */
.about-video{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.about-video video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Caption bawah video */
.video-caption{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0)
  );
}

.video-play-icon{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: rgba(255,255,255,0.85);
  pointer-events: none;
}

/* ===============================
   MOBILE – FULL VIDEO ABOUT
================================ */
@media (max-width: 768px){

  /* About jadi 1 kolom: video dulu, lalu teks */
  .about-grid{
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* Video full lebar layar */
  .about-video{
    width: 100vw;
    height: 75vh;            /* boleh 60vh / 75vh / 100vh */
    margin-left: -15px;      /* karena .container padding mobile = 15px */
    margin-right: -15px;
    border-radius: 0;
  }

  .about-video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-caption{
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

/* Footer Logo */
.footer-logo-icon{
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.wa-btn-img{
  width: 64px;
  height: 64px;
  border-radius: 50%;      /* KUNCI jadi bulat */
  overflow: hidden;        /* potong sudut */
  background: #25D366;     /* hijau WhatsApp */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.wa-btn-img img{
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.wa-btn-img:hover{
  transform: scale(1.08);
  transition: 0.3s ease;
}

.wa-btn-img{
  animation: waPulse 2s infinite;
}

@keyframes waPulse{
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.nav-links a.active{
  color: var(--accent-gold);
}

/* TOC di Hero FAQ - biar kontras */
.faq-hero .toc a{
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.faq-hero .toc a:hover{
  background: rgba(0,0,0,0.65);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
}

