/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: #fefce8; color: #4a0d20; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== Tokens ===== */
:root {
  --primary: #9f1239;
  --primary-fg: #fefce8;
  --secondary: #4ade80;
  --secondary-fg: #4a0d20;
  --accent: #eab308;
  --accent-fg: #4a0d20;
  --bg: #fefce8;
  --fg: #4a0d20;
  --muted-bg: #fdf6d8;
  --muted-fg: #7a5a3a;
  --border: #e8dfc0;
  --radius: 0.75rem;
}

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: 768px; }

/* ===== Animations ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseGlow { 0%,100% { box-shadow: 0 0 20px rgba(159,18,57,0.3); } 50% { box-shadow: 0 0 40px rgba(159,18,57,0.6); } }
@keyframes bounce { 0%,100% { transform: translateY(0) translateX(-50%); } 50% { transform: translateY(10px) translateX(-50%); } }
@keyframes pinDrop { from { opacity: 0; transform: translate(-50%,-100%) scale(0); } to { opacity: 1; transform: translate(-50%,-100%) scale(1); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 1rem 2rem; border-radius: var(--radius); font-weight: 700; font-size: 1.1rem; transition: opacity 0.2s, transform 0.2s; }
.btn:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-secondary { background: var(--secondary); color: var(--secondary-fg); }
.btn-accent { background: var(--accent); color: var(--accent-fg); width: 100%; padding: 1rem; border-radius: var(--radius); font-weight: 700; font-size: 1.1rem; cursor: pointer; border: none; }
.btn-accent:hover { opacity: 0.9; }
.btn-glow { animation: pulseGlow 2s ease-in-out infinite; }

/* ===== Navbar ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(254,252,232,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); animation: fadeUp 0.5s ease; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.nav-logo { font-size: 1.25rem; font-weight: 900; color: var(--primary); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: var(--primary-fg); padding: 0.5rem 1.25rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; transition: opacity 0.2s; }
.nav-cta:hover { opacity: 0.9; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--fg); transition: 0.3s; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 4rem; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.5rem; }
  .nav-links.open a { padding: 0.5rem 0; }
}

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(74,13,32,0.7), rgba(74,13,32,0.5), #fefce8); }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-badge { display: inline-block; background: rgba(234,179,8,0.9); color: var(--accent-fg); padding: 0.375rem 1rem; border-radius: 999px; font-size: 0.875rem; font-weight: 700; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; color: var(--primary-fg); line-height: 1.1; max-width: 800px; margin: 0 auto; }
.hero-tagline { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(254,252,232,0.8); margin-top: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; font-weight: 500; }
.hero-buttons { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-scroll-indicator { position: absolute; bottom: 2rem; left: 50%; color: rgba(254,252,232,0.5); animation: bounce 2s infinite; }

/* ===== Map Section ===== */
.map-section { padding: 5rem 1rem; background: var(--primary); position: relative; overflow: hidden; }
.map-decor { position: absolute; font-size: 6rem; opacity: 0.1; }
.map-decor-left { top: 2rem; left: 2rem; }
.map-decor-right { bottom: 2rem; right: 2rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 1rem; border-radius: 999px; font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; background: rgba(234,179,8,0.15); color: var(--accent); }
.section-badge-dark { background: rgba(234,179,8,0.2); color: var(--accent); }
.map-section .section-header h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--primary-fg); }
.map-section .section-header p { color: rgba(254,252,232,0.7); font-size: 1.1rem; margin-top: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.texas-map-wrapper { position: relative; max-width: 700px; margin: 0 auto; }
.texas-svg { width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); }
.map-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; animation: pinDrop 0.5s ease forwards; opacity: 0; }
.map-pin:nth-child(2) { animation-delay: 0.1s; }
.map-pin:nth-child(3) { animation-delay: 0.2s; }
.map-pin:nth-child(4) { animation-delay: 0.3s; }
.map-pin:nth-child(5) { animation-delay: 0.4s; }
.map-pin:nth-child(6) { animation-delay: 0.5s; }
.map-pin:nth-child(7) { animation-delay: 0.6s; }
.map-pin:nth-child(8) { animation-delay: 0.7s; }
.map-pin:nth-child(9) { animation-delay: 0.8s; }
.map-pin:nth-child(10) { animation-delay: 0.9s; }
.map-pin:nth-child(11) { animation-delay: 1s; }
.pin-icon { font-size: 1.5rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.pin-label { position: absolute; top: -2rem; left: 50%; transform: translateX(-50%); background: var(--bg); color: var(--fg); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 0.375rem; white-space: nowrap; opacity: 0; transition: opacity 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.map-pin:hover .pin-label { opacity: 1; }

@media (max-width: 640px) { .pin-icon { font-size: 1rem; } }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.stat-card { text-align: center; background: rgba(254,252,232,0.1); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 1rem; }
.stat-value { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 900; color: var(--accent); }
.stat-label { color: rgba(254,252,232,0.7); font-size: 0.8rem; font-weight: 500; margin-top: 0.25rem; }

@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Sections ===== */
.section { padding: 5rem 1rem; }
.section-muted { background: var(--muted-bg); }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--fg); }
.section-header p { color: var(--muted-fg); font-size: 1.1rem; margin-top: 0.75rem; }

/* ===== Menu ===== */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.menu-card { background: var(--bg); border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.menu-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -15px rgba(159,18,57,0.15); border-color: rgba(159,18,57,0.3); }
.menu-tag { position: absolute; top: 1rem; right: 1rem; background: var(--primary); color: var(--primary-fg); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.625rem; border-radius: 999px; }
.menu-emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.menu-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--fg); }
.menu-card p { color: var(--muted-fg); font-size: 0.875rem; margin-top: 0.375rem; line-height: 1.5; }
.menu-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.menu-price { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.btn-add { background: var(--primary); color: var(--primary-fg); font-size: 0.8rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: 0.5rem; opacity: 0; transition: opacity 0.3s; }
.menu-card:hover .btn-add { opacity: 1; }

@media (max-width: 768px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .menu-grid { grid-template-columns: 1fr; } }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 960px; margin: 0 auto; }
.step { text-align: center; }
.step-icon { font-size: 3rem; margin-bottom: 1rem; }
.step-num { font-size: 0.8rem; font-weight: 900; color: var(--accent); margin-bottom: 0.5rem; }
.step h3 { font-size: 1.15rem; font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; }
.step p { color: var(--muted-fg); font-size: 0.875rem; line-height: 1.5; }

@media (max-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 960px; margin: 0 auto; }
.gallery-item { border-radius: 1rem; overflow: hidden; aspect-ratio: 1; transition: transform 0.3s; }
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.testimonial-card { background: var(--bg); border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem; }
.stars { color: var(--accent); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card > p { color: var(--fg); line-height: 1.6; margin-bottom: 1rem; }
.testimonial-author strong { display: block; color: var(--fg); font-weight: 700; }
.testimonial-author span { color: var(--muted-fg); font-size: 0.875rem; }

@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(159,18,57,0.3); }
.faq-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 1.5rem; font-weight: 600; font-size: 1rem; color: var(--fg); text-align: left; }
.faq-chevron { transition: transform 0.3s; font-size: 1.2rem; color: var(--muted-fg); }
.faq-item.open .faq-chevron { transform: rotate(90deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-content p { padding: 0 1.5rem 1rem; color: var(--muted-fg); line-height: 1.6; }
.faq-item.open .faq-content { max-height: 200px; }

/* ===== Contact ===== */
.contact-section { padding: 5rem 1rem; background: var(--primary); }
.contact-section .section-header h2 { color: var(--primary-fg); }
.contact-section .section-header p { color: rgba(254,252,232,0.7); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 960px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { background: rgba(234,179,8,0.2); padding: 0.75rem; border-radius: var(--radius); font-size: 1.25rem; }
.contact-label { display: block; color: rgba(254,252,232,0.6); font-size: 0.875rem; font-weight: 500; }
.contact-value { display: block; color: var(--primary-fg); font-weight: 700; font-size: 1.1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
  width: 100%; background: rgba(254,252,232,0.1); border: 1px solid rgba(254,252,232,0.2);
  border-radius: var(--radius); padding: 0.75rem 1rem; color: var(--primary-fg);
  font-family: inherit; font-size: 1rem; outline: none; transition: border-color 0.2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(254,252,232,0.4); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: none; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.footer { background: var(--fg); padding: 2.5rem 1rem; text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: var(--primary-fg); margin-bottom: 0.5rem; }
.footer-copy { color: rgba(254,252,232,0.6); font-size: 0.875rem; }
.footer-sub { color: rgba(254,252,232,0.4); font-size: 0.75rem; margin-top: 0.5rem; }
