@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --gold: #d4a853;
  --gold-light: #e8c97a;
  --gold-dark: #b8922e;
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --text-primary: #f0ece4;
  --text-secondary: #a09888;
  --text-muted: #6b6156;
  --accent-red: #c0392b;
  --border: rgba(212, 168, 83, 0.15);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 72px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--gold);
  letter-spacing: 1px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1.5px;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
  background: var(--gold); transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text-primary);
  margin: 5px 0; transition: var(--transition);
}

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative;
  background: linear-gradient(160deg, #0a0a0a 0%, #1a130a 40%, #0f0a05 70%, #0a0a0a 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(212,168,83,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 0 24px; }
.hero-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 4px; color: var(--gold);
  border: 1px solid var(--border); padding: 8px 20px; border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem); color: var(--text-primary);
  margin-bottom: 20px; animation: fadeInUp 0.8s ease-out 0.15s both;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.15rem; color: var(--text-secondary); max-width: 520px; margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
.hero-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px; font-size: 0.9rem;
  font-weight: 600; letter-spacing: 0.5px; border: none; cursor: pointer;
  transition: all var(--transition); text-transform: uppercase;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,83,0.3);
  color: #0a0a0a;
}
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(212,168,83,0.1);
  transform: translateY(-2px); color: var(--gold);
}

/* SECTIONS */
section { padding: 100px 0; }
.section-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 4px; color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 48px;
}
.section-header { text-align: center; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

.divider {
  width: 60px; height: 2px; background: var(--gold); margin: 16px 0;
  border-radius: 2px;
}
.section-header .divider { margin-left: auto; margin-right: auto; }

/* ABOUT */
.about { background: var(--bg-secondary); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-visual {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, #1a130a, #2a1f0f);
  border: 1px solid var(--border);
}
.about-visual-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 40px;
}
.about-visual .thai-symbol {
  font-size: 5rem; margin-bottom: 20px; opacity: 0.7;
}
.about-visual .est {
  font-family: 'Playfair Display', serif; font-size: 1.2rem;
  color: var(--gold); letter-spacing: 3px; text-transform: uppercase;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-secondary); margin-bottom: 20px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--gold); font-weight: 700;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* MENU */
.menu-categories {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.menu-tab {
  padding: 10px 24px; border-radius: 100px; font-size: 0.85rem; font-weight: 500;
  background: var(--bg-card); color: var(--text-secondary); border: 1px solid transparent;
  cursor: pointer; transition: all var(--transition); text-transform: uppercase; letter-spacing: 1px;
}
.menu-tab:hover, .menu-tab.active {
  background: rgba(212,168,83,0.1); color: var(--gold); border-color: var(--gold);
}
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.menu-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px 28px; background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid transparent; transition: all var(--transition);
}
.menu-item:hover {
  border-color: var(--border); background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.menu-item-info { flex: 1; padding-right: 16px; }
.menu-item-name {
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
  font-weight: 600; margin-bottom: 6px;
}
.menu-item-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.menu-item-price {
  font-family: 'Playfair Display', serif; font-size: 1.15rem;
  color: var(--gold); font-weight: 600; white-space: nowrap;
}
.menu-section { display: none; }
.menu-section.active { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* INFO BAR */
.info-bar {
  background: linear-gradient(135deg, #1a130a, #0f0a05);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center;
  padding: 60px 0;
}
.info-item-icon {
  font-size: 2rem; margin-bottom: 12px;
}
.info-item h3 {
  font-size: 1.1rem; margin-bottom: 8px; color: var(--gold);
}
.info-item p { font-size: 0.95rem; color: var(--text-secondary); }
.info-item p small { display: block; font-size: 0.85rem; margin-top: 4px; color: var(--text-muted); }

/* MAP */
.map-section { background: var(--bg-secondary); }
.map-wrapper {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  height: 400px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.6) contrast(1.1); }

/* FOOTER */
.footer {
  background: var(--bg-primary); border-top: 1px solid var(--border); padding: 60px 0 32px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 48px; flex-wrap: wrap; gap: 32px;
}
.footer-brand .nav-logo { margin-bottom: 12px; display: block; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 280px; }
.footer-links h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); margin-bottom: 16px; font-family: 'Inter', sans-serif; font-weight: 600;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px; text-align: center;
  font-size: 0.8rem; color: var(--text-muted);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: rgba(10,10,10,0.97);
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
  }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-height: 300px; }
  .menu-section.active { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 2.8rem; }
  .footer-top { flex-direction: column; }
}
