/* ===== MG RESTAURANT — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C87A;
  --gold-dim: #8a6f2e;
  --dark-bg: #0D0D0D;
  --dark-surface: #161616;
  --dark-card: #1E1E1E;
  --dark-border: #2a2a2a;
  --dark-text: #F0EDE6;
  --dark-muted: #888888;
  --light-bg: #F7F4EF;
  --light-surface: #FFFFFF;
  --light-card: #FDFBF8;
  --light-border: #E0D9CF;
  --light-text: #1A1A1A;
  --light-muted: #6B6460;
  --radius: 2px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: var(--dark-bg);
  --surface: var(--dark-surface);
  --card: var(--dark-card);
  --border: var(--dark-border);
  --text: var(--dark-text);
  --muted: var(--dark-muted);
}

[data-theme="light"] {
  --bg: var(--light-bg);
  --surface: var(--light-surface);
  --card: var(--light-card);
  --border: var(--light-border);
  --text: var(--light-text);
  --muted: var(--light-muted);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { line-height: 1.75; color: var(--muted); }

a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4vw;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  color: var(--text);
  font-weight: 400;
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: #000 !important;
  padding: 0.55rem 1.4rem;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  transition: background var(--transition), transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 4vw;
  z-index: 99;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper { padding-top: 65px; }

/* ===== SECTION ===== */
section { padding: 6rem 4vw; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
}

.section-title { margin-bottom: 1.2rem; }
.section-title em { color: var(--gold); font-style: italic; }

.section-subtitle {
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ===== DIVIDER ===== */
.gold-divider {
  width: 50px; height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.gold-divider.centered { margin: 1.5rem auto 2rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: #000;
  padding: 0.85rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.2rem;
  transition: border-color var(--transition), transform 0.3s;
}
.card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 4vw;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 50%),
    linear-gradient(160deg, #0D0D0D 0%, #111008 40%, #0D0D0D 100%);
}

[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 50%),
    linear-gradient(160deg, #F7F4EF 0%, #F0EAD8 40%, #F7F4EF 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 52%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  animation: heroFadeIn 1s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: heroFadeIn 1s 0.2s ease both;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero h1 { animation: heroFadeIn 1s 0.3s ease both; }
.hero h1 em { color: var(--gold); font-style: italic; display: block; }

.hero-desc {
  font-size: 1.05rem;
  max-width: 500px;
  margin: 1.5rem 0 2.5rem;
  animation: heroFadeIn 1s 0.5s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroFadeIn 1s 0.7s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 4vw;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}
.hero-scroll::before {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: var(--muted);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== PHOTO PLACEHOLDER ===== */
.photo-placeholder {
  background: var(--card);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.photo-placeholder::before {
  content: '';
  display: block;
  width: 40px; height: 40px;
  border: 1px dashed var(--border);
  border-radius: 50%;
  position: relative;
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
}

.stat-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ===== SERVICE CARD ===== */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); border-color: var(--gold-dim); }

.service-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.service-card h3 { margin-bottom: 0.8rem; font-size: 1.15rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 2.2rem;
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.author-role {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.stars { color: var(--gold); font-size: 0.75rem; margin-bottom: 0.8rem; letter-spacing: 0.15em; }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-toggle {
  width: 24px; height: 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1rem;
  transition: transform var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open { max-height: 500px; }

.faq-answer p {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== CONTACT INFO ===== */
.contact-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 8rem 4vw 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

[data-theme="dark"] .page-hero-bg {
  background: linear-gradient(135deg, #111008 0%, #0D0D0D 60%);
}
[data-theme="light"] .page-hero-bg {
  background: linear-gradient(135deg, #F0EAD8 0%, #F7F4EF 60%);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}

.page-hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.page-hero-content .section-tag { margin-bottom: 0.8rem; }
.page-hero-content h1 { margin-bottom: 1rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 4vw 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.footer-brand .tagline {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.footer-bottom a { color: var(--gold); }

/* ===== WHATSAPP BUTTON ===== */
.wa-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.wa-button:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

.wa-button svg { width: 28px; height: 28px; fill: white; }

/* ===== PRIVACY ===== */
.prose h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; color: var(--text); }
.prose h3 { font-size: 1.1rem; margin: 2rem 0 0.8rem; color: var(--text); }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 1rem 0 1rem 1.5rem; }
.prose ul li { margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--muted); }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 4rem 5vw; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
