/* ========================================
   VIET FIRE KITCHEN — Style Guide
   Palette: #F4F1EA #D9C5B2 #8C6239 #4A3525 #556B2F #8FBC8F
   ======================================== */

:root {
  --cream: #F4F1EA;
  --sand: #D9C5B2;
  --leather: #8C6239;
  --brown: #4A3525;
  --olive: #556B2F;
  --sage: #8FBC8F;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(74,53,37,0.08);
  --shadow-md: 0 4px 12px rgba(74,53,37,0.1);
  --shadow-lg: 0 8px 32px rgba(74,53,37,0.12);
  --shadow-xl: 0 16px 48px rgba(74,53,37,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --nav-height: 72px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body); color: var(--brown); background: var(--cream);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--brown);
}

.section-label {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--sage); margin-bottom: 0.5rem;
}
.section-title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--leather); max-width: 600px; line-height: 1.8; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 2rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; border: none;
  border-radius: 50px; cursor: pointer; transition: all var(--transition);
  text-decoration: none; position: relative; overflow: hidden;
}
.btn-primary { background: var(--olive); color: var(--white); box-shadow: 0 4px 16px rgba(85,107,47,0.3); }
.btn-primary:hover { background: #4a5e28; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(85,107,47,0.4); }
.btn-secondary { background: transparent; color: var(--brown); border: 2px solid var(--sand); }
.btn-secondary:hover { border-color: var(--leather); background: rgba(140,98,57,0.05); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); z-index: 1000;
  background: rgba(244,241,234,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217,197,178,0.3); transition: all var(--transition);
}
.nav.scrolled { background: rgba(244,241,234,0.98); box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--brown);
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--sage), var(--olive));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem;
}
.logo-img {
  height: 32px; width: auto; display: block;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--leather);
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--sage); transition: width var(--transition);
}
.nav-links a:hover { color: var(--brown); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brown); }
.nav-cta {
  padding: 0.6rem 1.4rem; background: var(--olive); color: var(--white) !important;
  border-radius: 50px; font-weight: 600 !important; transition: all var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #4a5e28 !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none; z-index: 1001;
}
.hamburger span { width: 26px; height: 2.5px; background: var(--brown); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: var(--nav-height); overflow: hidden; background: var(--brown); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(74,53,37,0.85) 0%, rgba(74,53,37,0.4) 50%, rgba(85,107,47,0.3) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 650px; padding: 0 1.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1.2rem;
  background: rgba(143,188,143,0.15); border: 1px solid rgba(143,188,143,0.3);
  border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: var(--sage);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}
.hero-title { font-size: clamp(2.8rem, 8vw, 5rem); color: var(--white); margin-bottom: 1.5rem; animation: fadeInUp 0.8s ease 0.15s both; }
.hero-title .highlight { color: var(--sage); }
.hero-text { font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 2.5rem; max-width: 520px; animation: fadeInUp 0.8s ease 0.3s both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.45s both; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; animation: bounce 2s infinite; }
.hero-scroll a { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }

/* Stats */
.stats-bar { background: var(--olive); padding: 3rem 0; color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; }

/* Dishes */
.featured-dishes { background: var(--cream); }
.dishes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.dish-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition); opacity: 0; transform: translateY(40px); }
.dish-card.visible { opacity: 1; transform: translateY(0); }
.dish-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.dish-card-image { height: 240px; overflow: hidden; position: relative; }
.dish-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dish-card:hover .dish-card-image img { transform: scale(1.08); }
.dish-card-body { padding: 1.5rem; }
.dish-card-body h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.dish-card-body .price { font-family: var(--font-display); font-size: 1.1rem; color: var(--olive); font-weight: 700; }
.dish-card-body p { font-size: 0.9rem; color: var(--leather); margin-top: 0.5rem; }

/* Press */
.press-section { background: var(--white); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.press-card { background: var(--cream); border-radius: var(--radius-md); padding: 2rem; border: 1px solid var(--sand); transition: all var(--transition); opacity: 0; transform: translateY(30px); }
.press-card.visible { opacity: 1; transform: translateY(0); }
.press-card:hover { border-color: var(--sage); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.press-badge { display: inline-block; padding: 0.3rem 0.8rem; background: var(--sage); color: var(--white); font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; margin-bottom: 1rem; }
.press-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.press-card p { font-size: 0.9rem; color: var(--leather); line-height: 1.6; margin-bottom: 1rem; }
.press-card .press-link { font-size: 0.85rem; font-weight: 600; color: var(--olive); display: inline-flex; align-items: center; gap: 0.3rem; }
.press-card .press-link:hover { gap: 0.6rem; }

/* Story */
.story-section { position: relative; background: var(--brown); color: var(--white); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.story-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); opacity: 0; transform: translateX(-40px); transition: all 0.8s ease; }
.story-image.visible { opacity: 1; transform: translateX(0); }
.story-image img { width: 100%; height: 500px; object-fit: cover; }
.story-content { opacity: 0; transform: translateX(40px); transition: all 0.8s ease 0.2s; }
.story-content.visible { opacity: 1; transform: translateX(0); }
.story-content .section-label { color: var(--sage); }
.story-content .section-title { color: var(--white); }
.story-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.story-signature { font-family: var(--font-display); font-size: 1.2rem; color: var(--sage); font-style: italic; }

/* Instagram */
.instagram-section { background: var(--cream); }
.instagram-header { text-align: center; margin-bottom: 3rem; }
.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-top: 2rem; }
.instagram-item { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: pointer; opacity: 0; transform: scale(0.9); transition: all 0.6s ease; }
.instagram-item.visible { opacity: 1; transform: scale(1); }
.instagram-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.instagram-item:hover img { transform: scale(1.1); }
.instagram-item .ig-overlay { position: absolute; inset: 0; background: rgba(74,53,37,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.instagram-item:hover .ig-overlay { opacity: 1; }
.ig-overlay span { color: var(--white); font-size: 1.5rem; }

/* Menu */
.menu-preview { background: var(--white); }
.menu-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.menu-tab { padding: 0.6rem 1.4rem; background: var(--cream); color: var(--leather); border: 1px solid var(--sand); border-radius: 50px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.menu-tab:hover { border-color: var(--sage); color: var(--olive); }
.menu-tab.active { background: var(--olive); color: var(--white); border-color: var(--olive); }
.menu-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.menu-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px dashed var(--sand); opacity: 0; transform: translateY(20px); transition: all 0.5s ease; }
.menu-item.visible { opacity: 1; transform: translateY(0); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.menu-item-info p { font-size: 0.85rem; color: var(--leather); }
.menu-item-price { font-family: var(--font-display); font-size: 1.1rem; color: var(--olive); font-weight: 700; white-space: nowrap; margin-left: 1rem; }
.menu-item-badge { display: inline-block; padding: 0.15rem 0.5rem; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; border-radius: 4px; margin-left: 0.5rem; vertical-align: middle; }
.menu-item-badge.popular { background: var(--sage); color: var(--white); }
.menu-item-badge.chef { background: var(--leather); color: var(--white); }

/* Testimonials */
.testimonials-section { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card { background: var(--white); padding: 2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: all var(--transition); opacity: 0; transform: translateY(30px); }
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 0.8rem; }
.testimonial-card blockquote { font-size: 0.95rem; line-height: 1.7; color: var(--leather); font-style: italic; margin-bottom: 1rem; }
.testimonial-card .attribution { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-card .attribution .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--brown); font-size: 0.85rem; }

/* CTA */
.cta-section { background: var(--brown); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--white); margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--brown); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { font-family: var(--font-display); color: var(--white); font-size: 1.5rem; margin-bottom: 0.5rem; display: flex; align-items: center; }
.footer-logo { height: 40px; width: auto; display: block; filter: brightness(1.2); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--sage); }
.footer-contact li { display: flex; gap: 0.8rem; margin-bottom: 0.8rem; font-size: 0.9rem; }
.footer-contact .icon { color: var(--sage); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: all var(--transition); font-size: 0.9rem; }
.footer-social a:hover { background: var(--sage); border-color: var(--sage); color: var(--brown); }

/* Page Header */
.page-header { padding: calc(var(--nav-height) + 4rem) 0 3rem; background: var(--brown); color: var(--white); text-align: center; }
.page-header h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto; }

/* About */
.about-story { padding: 5rem 0; }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-story-grid.reverse { direction: rtl; }
.about-story-grid.reverse > * { direction: ltr; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 450px; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.value-card { text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--sand); transition: all var(--transition); opacity: 0; transform: translateY(30px); }
.value-card.visible { opacity: 1; transform: translateY(0); }
.value-card:hover { border-color: var(--sage); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(143,188,143,0.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.4rem; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--leather); line-height: 1.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--cream); }
.contact-info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-info-item .ci-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(143,188,143,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--olive); font-size: 1.1rem; }
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-info-item p { font-size: 0.9rem; color: var(--leather); }

/* Hours */
.hours-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--cream); font-size: 0.9rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--leather); }
.hours-row .time { font-weight: 600; }
.hours-row.today { font-weight: 700; }
.hours-row.today .time { color: var(--olive); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 75%; max-width: 320px; height: 100vh;
    background: var(--cream); flex-direction: column; padding: 6rem 2rem 2rem;
    gap: 1.5rem; align-items: flex-start; box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.05rem; }
  .hamburger { display: flex; }
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
  .story-grid, .about-story-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-story-grid.reverse { direction: ltr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .story-image img { height: 300px; }
  .section { padding: 3rem 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .dishes-grid, .press-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}