/* ============================================
   TACOS EMMA — Stylesheet
   Deep Navy + Warm Gold · Editorial Style
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1C36;
  --navy-light: #2A3F6A;
  --gold: #D4A843;
  --gold-light: #E8C46E;
  --gold-dark: #B8912E;
  --cream: #F7F3EB;
  --cream-dark: #EDE6D6;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #F7F3EB;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 8px 30px rgba(27, 42, 74, 0.12);
  --shadow-lg: 0 20px 60px rgba(27, 42, 74, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(27, 42, 74, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  transition: var(--transition);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: 8px;
  font-family: var(--font-serif);
}

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

.nav-links a {
  color: rgba(247, 243, 235, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

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

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

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

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/18617705/pexels-photo-18617705.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 28, 54, 0.92) 0%,
    rgba(27, 42, 74, 0.85) 50%,
    rgba(15, 28, 54, 0.88) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-em {
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(247, 243, 235, 0.7);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(247, 243, 235, 0.3);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.35);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

/* --- HERO STAT CARDS --- */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateX(6px);
  border-color: rgba(212, 168, 67, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.stat-card--gold {
  border-left: 3px solid var(--gold);
}

.stat-card--navy {
  border-left: 3px solid var(--navy-light);
}

.stat-card--accent {
  border-left: 3px solid var(--gold-dark);
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold);
}

.stat-card--navy .stat-card-icon {
  background: rgba(42, 63, 106, 0.4);
  color: var(--white);
}

.stat-card--accent .stat-card-icon {
  background: rgba(212, 168, 67, 0.2);
  color: var(--gold-light);
}

.stat-card-value {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-card-label {
  font-size: 0.82rem;
  color: rgba(247, 243, 235, 0.55);
  font-weight: 400;
}

/* --- MARQUEE --- */
.marquee {
  background: var(--navy);
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(247, 243, 235, 0.5);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- SECTION COMMON --- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.title-em {
  color: var(--gold-dark);
  font-style: italic;
  font-weight: 700;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}

/* --- MENU --- */
.menu {
  padding: 100px 0;
  background: var(--cream);
}

.section-header {
  margin-bottom: 60px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(27, 42, 74, 0.06);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.08);
}

.menu-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 28, 54, 0.3) 0%, transparent 50%);
}

.menu-card-body {
  padding: 24px;
}

.menu-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.menu-card-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(212, 168, 67, 0.12);
  padding: 4px 10px;
  border-radius: 100px;
}

.menu-card-pop {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-light);
  background: rgba(27, 42, 74, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
}

.menu-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.menu-card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.menu-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- ABOUT --- */
.about {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--gold);
  border-radius: var(--radius);
  opacity: 0.15;
  z-index: -1;
}

.about-content {
  padding: 20px 0;
}

.about-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(27, 42, 74, 0.1);
}

.about-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-stat-divider {
  width: 1px;
  background: rgba(27, 42, 74, 0.12);
  align-self: stretch;
}

/* --- VISIT --- */
.visit {
  padding: 100px 0;
  background: var(--cream);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.visit-info {
  padding: 48px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.visit-info .section-tag {
  color: var(--gold);
}

.visit-info .section-title {
  color: var(--white);
}

.visit-info .title-em {
  color: var(--gold);
}

.visit-details {
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.visit-detail {
  display: flex;
  gap: 16px;
}

.visit-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold);
}

.visit-detail-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, 0.5);
  margin-bottom: 4px;
}

.visit-detail-value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
}

.visit-link {
  color: var(--gold);
  transition: color var(--transition);
}

.visit-link:hover {
  color: var(--gold-light);
}

.visit-info .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* --- CTA --- */
.cta {
  padding: 100px 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-content {
  flex: 1;
}

.cta-content .section-tag {
  color: var(--gold);
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-title .title-em {
  color: var(--gold);
}

.cta-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(247, 243, 235, 0.6);
  max-width: 440px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(212, 168, 67, 0.15);
  padding: 60px 0 32px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247, 243, 235, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(247, 243, 235, 0.45);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(247, 243, 235, 0.6);
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.82rem;
  color: rgba(247, 243, 235, 0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(247, 243, 235, 0.35);
  transition: color var(--transition);
}

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

/* --- SCROLL REVEAL --- */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 28, 54, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }

  .hero-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 140px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-float {
    width: 150px;
    height: 150px;
    bottom: -20px;
    right: -10px;
  }

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

  .visit-info {
    padding: 32px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-desc {
    max-width: 100%;
  }

  .cta-actions {
    justify-content: center;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-cards {
    flex-direction: column;
  }

  .stat-card {
    min-width: auto;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .about-stat-divider {
    width: 60px;
    height: 1px;
    align-self: flex-start;
  }

  .visit-info {
    padding: 24px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }
}
