/* Top Tier Tacos — Demo Site Styles
   Palette: maroon #7B2D2D, gold #C8A800, white #FFFFFF, near-black #1A1A1A
   Fonts: Playfair Display (headings) + Inter (body)
*/

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

:root {
  --maroon: #7B2D2D;
  --maroon-dark: #5C1F1F;
  --maroon-light: #9B3D3D;
  --gold: #C8A800;
  --gold-light: #E8C800;
  --white: #FFFFFF;
  --off-white: #FAF8F5;
  --near-black: #1A1A1A;
  --gray: #6B6B6B;
  --light-gray: #F0EDEA;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--near-black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */

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

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { font-size: 1rem; line-height: 1.75; }

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

/* ─── NAV ─────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 168, 0, 0.2);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--maroon);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--maroon-light) !important; color: var(--white) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(26, 26, 26, 0.98);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
}

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--gold); }
.nav-mobile a:last-child { border-bottom: none; }

.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ─── HERO ────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 68px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 4rem;
  background: var(--off-white);
}

.hero-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero-title {
  color: var(--maroon);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 420px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--maroon);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--maroon-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--near-black);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 2px solid var(--near-black);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--near-black);
  color: var(--white);
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 3rem 1.5rem 2.5rem;
    order: 2;
  }

  .hero-right {
    order: 1;
    height: 55vw;
    min-height: 260px;
  }
}

/* ─── STORY SECTION ──────────────────────────────────────── */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.story-left {
  background: var(--maroon);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
}

.story-left h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.story-left p {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 440px;
}

.story-right {
  position: relative;
  overflow: hidden;
}

.story-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

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

  .story-left {
    padding: 3rem 1.5rem;
    order: 2;
  }

  .story-right {
    order: 1;
    height: 60vw;
    min-height: 280px;
  }
}

/* ─── SETUP BANNER ───────────────────────────────────────── */

.setup-banner {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.setup-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.setup-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,26,0.72) 0%, rgba(26,26,26,0.35) 60%, rgba(26,26,26,0.1) 100%);
  display: flex;
  align-items: center;
}

.setup-banner-text {
  max-width: 600px;
  padding: 0 4rem;
  color: var(--white);
}

.setup-banner-text h2 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.setup-banner-text p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .setup-banner { height: 360px; }
  .setup-banner-text { padding: 0 1.5rem; }
  .setup-banner-text h2 { font-size: 1.5rem; }
}

/* ─── MENUS SECTION ──────────────────────────────────────── */

.menus {
  background: var(--off-white);
  padding: 5rem 0;
}

.menus-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
}

.menus-header h2 {
  color: var(--maroon);
  margin-bottom: 0.75rem;
}

.section-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 1rem;
  border: none;
}

.menus-header p {
  color: var(--gray);
}

.menu-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  margin-bottom: 2px;
}

.menu-panel:last-child { margin-bottom: 0; }

.menu-panel-text {
  background: var(--maroon);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3rem;
}

.menu-panel-text h3 {
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.menu-panel-text p {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.menu-panel-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.menu-panel-text ul li {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  padding-left: 1rem;
  position: relative;
}

.menu-panel-text ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.menu-panel-img {
  position: relative;
  overflow: hidden;
}

.menu-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-panel.reverse .menu-panel-text { order: 2; }
.menu-panel.reverse .menu-panel-img { order: 1; }

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

  .menu-panel-text {
    padding: 2.5rem 1.5rem;
    order: 2 !important;
  }

  .menu-panel-img {
    height: 55vw;
    min-height: 240px;
    order: 1 !important;
  }
}

/* ─── PRICING CALLOUT ────────────────────────────────────── */

.pricing-callout {
  background: var(--near-black);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.pricing-callout h3 {
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.pricing-callout p {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.pricing-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,168,0,0.3);
  border-radius: 8px;
  padding: 1.25rem 2rem;
  min-width: 180px;
}

.pricing-item .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}

.pricing-item .price-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── CONTACT SECTION ────────────────────────────────────── */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.contact-img {
  position: relative;
  overflow: hidden;
}

.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.contact-form-wrap {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
}

.contact-form-wrap h2 {
  color: var(--maroon);
  margin-bottom: 0.5rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 2rem;
}

.contact-meta a, .contact-meta span {
  font-size: 0.9rem;
  color: var(--gray);
}

.contact-meta a:hover { color: var(--maroon); }

.contact-meta .phone-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--maroon);
}

.contact-meta .phone-link:hover { color: var(--maroon-dark); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #DDD;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--near-black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

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

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit button {
  width: 100%;
  background: var(--maroon);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
}

.form-submit button:hover {
  background: var(--maroon-dark);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  background: #F0FFF4;
  border: 1px solid #68D391;
  border-radius: 6px;
  padding: 1rem;
  color: #276749;
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}

.form-success.visible { display: block; }

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

  .contact-img {
    height: 55vw;
    min-height: 260px;
  }

  .contact-form-wrap {
    padding: 2.5rem 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── MAP SECTION ────────────────────────────────────────── */

.map-section {
  background: var(--light-gray);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.map-section h3 {
  color: var(--maroon);
  margin-bottom: 0.5rem;
}

.map-section p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.map-embed {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

.footer {
  background: var(--maroon-dark);
  color: var(--white);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand-tagline {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-brand-address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

.footer-brand-phone {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.footer-brand-phone:hover { color: var(--gold); }

.footer-center {
  text-align: center;
}

.footer-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.8rem;
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--gold); color: var(--near-black); }

.footer-links {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1000px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links { text-align: center; }
  .footer-brand { align-items: center; }
}

/* ─── SCROLL FADE ANIMATION ──────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── UTILITY ────────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
