/* ===== RESET & BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #2c1f0e;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  min-height: 100vh;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-th { display: none; }
body.thai .lang-en { display: none; }
body.thai .lang-th { display: inline; }

/* ===== NAV ===== */
.nav {
  background: #1e1508;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6b84c44;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo { color: #e6b84c; font-size: 24px; font-weight: 300; font-family: 'Cormorant Garamond', serif !important; letter-spacing: 3px; word-spacing: 2px; text-decoration: none; display: flex; align-items: center; gap: 10px; line-height: 1; }
.nav-logo-text { display: flex; flex-direction: column; gap: 2px; }
.nav-logo span { color: #e6b84c88; font-size: 9px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; display: block; margin: 0; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: #e6b84caa; font-size: 13px; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover,
.nav-links a.active { color: #e6b84c; }
.nav-links a.active { border-bottom: 1px solid #e6b84c; padding-bottom: 2px; }
.lang-toggle {
  border: 1px solid #e6b84c66;
  color: #e6b84c;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 11px;
  cursor: pointer;
  background: none;
}
.lang-toggle:hover { background: #e6b84c18; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, #3d2a10 0%, #2c1f0e 60%);
  padding: 60px 32px;
  text-align: center;
}
.hero-eyebrow { color: #e6b84c; font-size: 11px; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 12px; }
.hero h1 { color: #fff; font-size: 42px; font-weight: 900; text-shadow: 0 2px 20px rgba(0,0,0,0.5); line-height: 1.1; }
.hero h1 span { color: #e6b84c; }
.hero-th { color: #e6b84ccc; font-size: 15px; margin-top: 10px; font-style: italic; }
.hero-hours { margin-top: 10px; color: #e6b84c88; font-size: 12px; }
.hero-desc { color: #e6b84c99; font-size: 14px; margin-top: 10px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.hero-btns { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: #e6b84c;
  color: #1e1508;
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(230,184,76,0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-secondary {
  border: 1.5px solid #e6b84c88;
  color: #e6b84c;
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover { border-color: #e6b84c; }

/* ===== SECTIONS ===== */
.section { padding: 48px 32px; }
.section-label { color: #e6b84c; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; text-align: center; margin-bottom: 8px; }
.section-title { color: #fff; font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 4px; }
.section-th { color: #e6b84c88; font-size: 13px; text-align: center; margin-bottom: 28px; }

/* ===== MENU GRID (home preview) ===== */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.menu-card {
  background: #1e1508;
  border: 1px solid #e6b84c33;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
}
.menu-card:hover { transform: translateY(-4px); border-color: #e6b84c88; }
.menu-card-icon { padding: 20px; font-size: 36px; background: #e6b84c11; }
.menu-card-name { padding: 12px; color: #e6b84c; font-size: 13px; font-weight: 700; }
.view-menu-btn {
  display: block;
  text-align: center;
  margin: 28px auto 0;
  border: 1.5px solid #e6b84c66;
  color: #e6b84c;
  padding: 11px 28px;
  border-radius: 24px;
  font-size: 13px;
  max-width: 200px;
  text-decoration: none;
}
.view-menu-btn:hover { border-color: #e6b84c; }

/* ===== MENU TABS ===== */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; padding: 0 32px; }
.tab {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid #e6b84c44;
  color: #e6b84caa;
  background: #3d2a1066;
  transition: all 0.2s;
}
.tab:hover { border-color: #e6b84c88; color: #e6b84c; }
.tab.active { background: #e6b84c; color: #1e1508; font-weight: 700; border-color: #e6b84c; }
.menu-panel { display: none; max-width: 900px; margin: 0 auto; padding: 0 32px 40px; }
.menu-panel.active { display: block; }
.menu-panel img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid #e6b84c22;
  margin-bottom: 14px;
  display: block;
}

/* ===== ABOUT ===== */
.about-section { background: #1e1508; border-top: 1px solid #e6b84c22; border-bottom: 1px solid #e6b84c22; padding: 56px 32px; }
.about-inner { max-width: 800px; margin: 0 auto; }
.about-header { display: flex; gap: 32px; align-items: center; margin-bottom: 32px; }
.about-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  background: #e6b84c18; border: 2px solid #e6b84c44;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; flex-shrink: 0;
}
.about-header h3 { color: #e6b84c; font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.about-header p { color: #e6b84caa; font-size: 13px; line-height: 1.8; }
.since-badge {
  display: inline-flex; align-items: center;
  background: #e6b84c18; border: 1px solid #e6b84c44;
  border-radius: 20px; padding: 6px 16px; margin-bottom: 12px;
}
.since-badge span { color: #e6b84c; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.story-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.story-card { background: #2c1f0e; border: 1px solid #e6b84c22; border-radius: 12px; padding: 20px; }
.story-card .icon { font-size: 28px; margin-bottom: 10px; }
.story-card h4 { color: #e6b84c; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.story-card p { color: #e6b84caa; font-size: 12px; line-height: 1.8; }

/* ===== HOURS ===== */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 700px; margin: 0 auto; }
.hours-card { background: #1e1508; border: 1px solid #e6b84c33; border-radius: 14px; padding: 24px; }
.hours-card h4 { color: #e6b84c; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #e6b84c11; }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: #e6b84caa; font-size: 13px; }
.hours-row .time { color: #e6b84c; font-size: 13px; font-weight: 600; }
.break-label { text-align: center; color: #e6b84c44; font-size: 11px; padding: 4px 0; }

/* ===== CONTACT ===== */
.contact-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; max-width: 700px; margin: 0 auto; }
.contact-btn {
  padding: 14px 28px; border-radius: 30px; font-size: 14px; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.contact-btn.toast { background: #e6b84c; color: #1e1508; box-shadow: 0 4px 20px rgba(230,184,76,0.3); }
.contact-btn.facebook { background: #1877f2; color: #fff; }
.contact-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; box-shadow: 0 4px 20px rgba(220,39,67,0.3); }
.ig-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.contact-btn.phone { background: #2c1f0e; color: #e6b84c; border: 1.5px solid #e6b84c44; }
.contact-numbers { text-align: center; margin-top: 24px; color: #e6b84caa; font-size: 15px; line-height: 2; }
.contact-numbers strong { color: #e6b84c; }

/* ===== INFO STRIP ===== */
.info-strip {
  background: #1e1508;
  border-top: 1px solid #e6b84c33;
  padding: 18px 32px;
  display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.info-item { color: #e6b84cbb; font-size: 12px; }
.info-item strong { color: #e6b84c; }
.info-divider { color: #e6b84c33; }
.order-btn-strip {
  background: #e6b84c; color: #1e1508;
  padding: 8px 20px; border-radius: 16px;
  font-size: 12px; font-weight: 800; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ===== FOOTER ===== */
.footer { background: #120e05; padding: 20px 32px; text-align: center; border-top: 1px solid #e6b84c22; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.footer-links a { color: #e6b84c66; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: #e6b84c; }
.footer p { color: #e6b84c44; font-size: 11px; }

/* ===== LOGO ===== */
.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 6px rgba(230,184,76,0.5));
}
.hero-logo {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 20px rgba(230,184,76,0.4));
}

/* ===== TOAST ICON ===== */
.toast-icon { width: 16px; height: 16px; vertical-align: middle; border-radius: 3px; }

/* ===== PAGE HEADER (about/hours/contact) ===== */
.page-hero {
  background: linear-gradient(160deg, #3d2a10 0%, #2c1f0e 60%);
  padding: 48px 32px;
  text-align: center;
  border-bottom: 1px solid #e6b84c22;
}
.page-hero h1 { color: #fff; font-size: 34px; font-weight: 900; }
.page-hero .page-th { color: #e6b84caa; font-size: 15px; margin-top: 6px; font-style: italic; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

  /* Nav */
  .nav { padding: 10px 16px; }
  .nav-logo { font-size: 18px; gap: 8px; }
  .nav-logo-img { width: 34px; height: 34px; }
  .nav-logo span { font-size: 8px; letter-spacing: 1.5px; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 11px; }
  .lang-toggle { font-size: 10px; padding: 3px 8px; }

  /* Hero */
  .hero { padding: 36px 16px; }
  .hero-logo { width: 110px; height: 110px; }
  .hero h1 { font-size: 28px; }
  .hero-th { font-size: 13px; }
  .hero-hours { font-size: 11px; }
  .hero-desc { font-size: 13px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 10px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; text-align: center; }

  /* Sections */
  .section { padding: 32px 16px; }
  .section-title { font-size: 22px; }

  /* Menu grid */
  .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .menu-card-icon { padding: 12px; font-size: 26px; }
  .menu-card-name { padding: 8px; font-size: 11px; }

  /* Menu tabs */
  .tabs { padding: 0 16px; gap: 6px; }
  .tab { font-size: 11px; padding: 6px 10px; }
  .menu-panel { padding: 0 16px 32px; }

  /* About */
  .about-section { padding: 36px 16px; }
  .about-header { flex-direction: column; text-align: center; gap: 16px; }
  .about-avatar { width: 80px; height: 80px; font-size: 36px; margin: 0 auto; }
  .story-cards { grid-template-columns: 1fr; gap: 12px; }

  /* Hours */
  .hours-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Contact */
  .contact-grid { flex-direction: column; align-items: center; }
  .contact-btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Info strip */
  .info-strip { flex-direction: column; gap: 8px; text-align: center; padding: 16px; }
  .info-divider { display: none; }
  .order-btn-strip { width: 100%; max-width: 280px; justify-content: center; }

  /* Page hero */
  .page-hero { padding: 32px 16px; }
  .page-hero h1 { font-size: 26px; }

  /* Reviews */
  #reviews-grid { flex-direction: column; padding: 0 16px; }

  /* Footer */
  .footer { padding: 20px 16px; }
  .footer-links { gap: 12px; }
}

@media (max-width: 400px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links a:not(.lang-toggle) { display: none; }
  .hero h1 { font-size: 24px; }
}
