:root {
  --primary-brown: #5D4037;
  --accent-orange: #D84315;
  --bg-cream: #FDFCF0;
  --text-dark: #2C2C2C;
  --text-light: #666;
  --border-color: #e0dacc;
  --section-spacing: 5rem;
  --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; color: var(--primary-brown); }
p { color: var(--text-light); margin-bottom: 1rem; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Helper */
.text-center { text-align: center; }
.text-orange { color: var(--accent-orange); }
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent-orange); color: white; box-shadow: 0 4px 15px rgba(216, 67, 21, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(216, 67, 21, 0.4); background: #bf360c; }
.btn-outline { border: 2px solid var(--primary-brown); color: var(--primary-brown); margin-left: 10px; background: transparent; }
.btn-outline:hover { background: var(--primary-brown); color: white; }

.hero-outline { border-color: white !important; color: white !important; }
.hero-outline:hover { background: rgba(255,255,255,0.15); }

.mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; }

/* HEADER */
header {
  position: fixed;
  top: 0; width: 100%;
  background: rgba(253, 252, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 1rem 0;
  transition: 0.3s;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--primary-brown); letter-spacing: -0.5px; }
.logo-sub { font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; color: var(--accent-orange); text-transform: uppercase; font-family: 'Inter', sans-serif; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-weight: 500; color: var(--primary-brown); font-size: 0.95rem; position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background-color: var(--accent-orange);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent-orange); }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1100; }
.hamburger span {
  display: block; position: absolute;
  height: 3px; width: 100%;
  background: var(--primary-brown);
  border-radius: 3px;
  left: 0;
  transition: .25s ease-in-out;
}
.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(135deg); }
.hamburger.active span:nth-child(2) { opacity: 0; left: -60px; }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-135deg); }

/* HERO */
.hero {
  height: 100vh;
  min-height: 600px;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.65)
    ),
    url('../asset/backgroundpuringjaya.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}
.hero-content { max-width: 800px; animation: fadeInUp 1s ease-out; }
.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p { color: #f0f0f0; font-size: 1.2rem; margin-bottom: 2rem; }
.hero-badges { display: flex; justify-content: center; gap: 15px; margin-bottom: 2rem; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
}

/* SECTION */
.section { padding: var(--section-spacing) 0; }
.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.section-title span { display: block; width: 60px; height: 3px; background: var(--accent-orange); margin: 0 auto; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { font-size: 1.05rem; margin-bottom: 1.5rem; text-align: justify; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.about-image::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 100%; height: 100%;
  border: 2px solid var(--accent-orange);
  border-radius: 12px;
  z-index: -1;
}

/* MENU */
.menu-section { background-color: #fffaf9; }
.menu-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-bottom: 4rem; }
.menu-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; border: 1px solid var(--border-color); }
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.menu-img { height: 220px; background-color: #eee; position: relative; overflow: hidden; }
.menu-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.menu-card:hover .menu-img img { transform: scale(1.1); }
.menu-info { padding: 1.5rem; text-align: center; }
.menu-info h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.menu-price { color: var(--accent-orange); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.25rem; }
.menu-desc { font-size: 0.9rem; }

/* MENU TABLE */
.table-container { background: white; padding: 2rem; border-radius: 15px; box-shadow: var(--shadow); overflow-x: auto; }
.menu-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.menu-table th { background-color: var(--primary-brown); color: white; padding: 15px; text-align: left; font-family: 'Playfair Display', serif; font-size: 1.1rem; }
.menu-table .th-right { text-align: right; }
.menu-table td { padding: 12px 15px; border-bottom: 1px solid #eee; color: var(--text-dark); }
.menu-table tr:hover { background-color: #f9f9f9; }
.price-col { text-align: right; font-weight: 600; color: var(--accent-orange); }
.category-row { background-color: #fcebe6; font-weight: bold; color: var(--primary-brown); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.btn-gofood { background:#00A535 !important; }

/* FACILITIES */
.facilities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; margin-top: 2rem; }
.facility-item { padding: 2rem; background: var(--bg-cream); border-radius: 10px; transition: 0.3s; }
.facility-item:hover { background: var(--primary-brown); color: white; }
.facility-item h4 { font-size: 1.1rem; margin-top: 10px; transition: 0.3s; }
.facility-item:hover h4 { color: white; }
.facility-icon { font-size: 2rem; margin-bottom: 10px; color: var(--accent-orange); }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: white; padding: 2.5rem; border-radius: 15px; box-shadow: var(--shadow); position: relative; }
.quote-icon { font-size: 3rem; color: #eee; position: absolute; top: 20px; right: 20px; font-family: serif; }
.stars { color: #FFD700; margin-bottom: 1rem; }
.reviewer { display: flex; align-items: center; margin-top: 1.5rem; gap: 10px; }
.reviewer-avatar { width: 40px; height: 40px; background: var(--primary-brown); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.reviewer-info h5 { font-size: 1rem; margin-bottom: 0; }
.reviewer-info span { font-size: 0.8rem; color: #888; }

/* FAQ */
.faq-section { background: #fffaf9; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); overflow: hidden; border: 1px solid transparent; transition: 0.3s; }
.faq-item.active { border-color: var(--accent-orange); }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--primary-brown); font-size: 1.05rem; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--accent-orange); transition: 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 20px; background: #fffcfb; }
.faq-answer p { padding-bottom: 20px; color: var(--text-dark); }

/* LOCATION */
.location-wrapper { background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.5fr; }
.contact-info { padding: 3rem; background: var(--primary-brown); color: white; display: flex; flex-direction: column; justify-content: center; }
.contact-info h3 { color: white; margin-bottom: 1.5rem; }
.contact-item { margin-bottom: 1.5rem; display: flex; gap: 15px; align-items: flex-start; }
.contact-item i { color: var(--accent-orange); font-size: 1.2rem; margin-top: 4px; }
.contact-item p { color: rgba(255,255,255,0.8); margin: 0; }
.map-frame { min-height: 450px; height: 100%; width: 100%; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* FOOTER */
footer { background: #1a1a1a; color: #999; padding: 4rem 0 2rem; text-align: center; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: white; margin-bottom: 1rem; display: block; }
.footer-links { margin-bottom: 2rem; }
.footer-links a { color: #999; margin: 0 10px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-orange); }
.copyright { border-top: 1px solid #333; padding-top: 2rem; font-size: 0.8rem; }
.footer-sub { font-size:0.7rem; margin-top:10px; }

/* ANIMATION */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ POPUP WHATSAPP ============ */
.wa-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-weight: 700;
}
.wa-fab:hover{ transform: translateY(-2px); }
.wa-fab-icon{ font-size: 18px; }
.wa-fab-text{ font-size: 14px; letter-spacing: 0.3px; }

.wa-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 1190;
}
.wa-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

.wa-popup{
  position: fixed;
  right: 18px;
  bottom: 78px;
  width: min(360px, calc(100vw - 36px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 1201;
}
.wa-popup.active{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.wa-popup-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  background: #0f8f43;
  color: #fff;
}
.wa-title{ font-weight: 800; font-size: 14px; letter-spacing: 0.2px; }
.wa-subtitle{ font-size: 12px; opacity: 0.9; }
.wa-close{
  background: rgba(255,255,255,0.15);
  border: 0;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
}
.wa-close:hover{ background: rgba(255,255,255,0.22); }

.wa-popup-body{ padding: 14px; }
.wa-bubble{
  background: #f3f7f5;
  border: 1px solid #e7efea;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: #234;
  margin-bottom: 12px;
}
.wa-quick{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.wa-quick-btn{
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}
.wa-quick-btn:hover{
  border-color: #cfe9da;
  background: #f7fbf9;
}
.wa-label{
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #233;
}
.wa-textarea{
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  outline: none;
  resize: none;
}
.wa-textarea:focus{ border-color: #25D366; }
.wa-actions{
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.wa-send{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
}
.wa-send:hover{ filter: brightness(0.95); }
.wa-note{
  margin-top: 10px;
  font-size: 11px;
  color: #667;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid, .location-wrapper { grid-template-columns: 1fr; }
  .about-image { order: -1; margin-bottom: 2rem; }
  .map-frame { height: 400px; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }

  .nav-links{
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: 250px;
    background: var(--bg-cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
  }
  .nav-links.active { transform: translateX(0); }
  .hamburger { display: block; margin-left: auto; }

  .contact-info { padding: 2rem; }
  .menu-table th, .menu-table td { padding: 10px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .btn { width: 100%; margin: 5px 0; text-align: center; }
  .facilities-grid { grid-template-columns: 1fr; }
  .wa-fab-text{ display: none; } /* biar ringkas di HP */
}

/* BRAND (Logo + Text) */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-logo{
  width:44px;
  height:44px;
  object-fit:contain;
  border-radius:10px;            /* kalau mau kotak halus */
  /* kalau kamu mau bulat, ganti jadi: border-radius:999px; */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: #fff;              /* bantu logo terlihat jika transparan */
  padding: 4px;                  /* rapikan tepi */
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }

@media (max-width: 480px){
  .brand-logo{ width:40px; height:40px; }
  .logo-main{ font-size:1.2rem; }
}


