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

:root {
  --red:    #C8102E;
  --dark:   #111111;
  --cream:  #F5F0E8;
  --gray:   #888888;
  --white:  #FFFFFF;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Lato', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #a50d24;
}

/* =====================
   HERO
===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background-image: url('https://images.unsplash.com/photo-1534308983496-4fabb1a015ee?w=1800&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax scroll */
  display: flex;
  align-items: flex-end;
  padding: 0 3rem 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 420px;
  margin-bottom: 2rem;
}

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

/* SCROLL HINT */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-scroll-hint span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.5); }
}

/* =====================
   BUTTONS
===================== */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 0.85rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #a50d24;
  transform: translateY(-1px);
}

.btn-primary.large {
  font-size: 0.95rem;
  padding: 1.1rem 2.6rem;
}

.btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.85rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* =====================
   MARQUEE STRIP
===================== */
.strip {
  background: var(--red);
  overflow: hidden;
  padding: 0.75rem 0;
  white-space: nowrap;
}

.strip-track {
  display: inline-block;
  animation: marquee 18s linear infinite;
}

.strip-track span {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 1.5rem;
}

.strip-track .dot {
  color: rgba(255,255,255,0.5);
  padding: 0;
}

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

/* =====================
   SECTION TAG
===================== */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-tag.light {
  color: rgba(255,255,255,0.6);
}

/* =====================
   ABOUT
===================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.about-img {
  background-image: url('https://images.unsplash.com/photo-1571407970349-bc81e7e96d47?w=1200&q=80');
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.about-text {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 420px;
}

/* =====================
   MENU
===================== */
.menu-section {
  padding: 6rem 3rem;
  background: var(--cream);
}

.menu-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.menu-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  margin-top: 0.75rem;
}

.menu-cta {
  text-align: center;
  margin-top: 3rem;
}

.menu-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
}

/* =====================
   CAROUSEL
===================== */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1260px;
  margin: 0 auto;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track .menu-card {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: 0;
}

.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  background: var(--white);
  color: var(--dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.carousel-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.carousel-dots .dot.active {
  background: var(--red);
  transform: scale(1.3);
}

.menu-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.menu-card.featured {
  border: 2px solid var(--red);
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  z-index: 2;
}

.menu-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.img-margherita {
  background-image: url('https://images.unsplash.com/photo-1574071318508-1cdbab80d002?w=800&q=80');
}
.img-pepperoni {
  background-image: url('https://images.unsplash.com/photo-1628840042765-356cda07504e?w=800&q=80');
}
.img-crunchy {
  background-image: url('https://images.unsplash.com/photo-1565299585323-38d6b0865b47?w=800&q=80');
}
.img-bbq {
  background-image: url('https://images.unsplash.com/photo-1604382354936-07c5d9983bd3?w=800&q=80');
}
.img-cuatroquesos {
  background-image: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?w=800&q=80');
}
.img-espanola {
  background-image: url('https://images.unsplash.com/photo-1548369937-47519962c11a?w=800&q=80');
}

.menu-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.menu-card-top h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red);
}

.menu-card-body p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--gray);
}

/* =====================
   STATS
===================== */
.stats {
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 3.5rem 2rem;
}

.stat {
  text-align: center;
  padding: 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.25);
}

/* =====================
   CTA SECTION
===================== */
.cta-section {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1590947132387-155cc02f3212?w=1800&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 8rem 3rem;
  text-align: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-content h2 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.cta-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* =====================
   CONTACT
===================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.contact-info {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-list strong {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.contact-list span {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

.contact-map {
  background: #222;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: #444;
}

/* =====================
   FOOTER
===================== */
.footer {
  background: #0a0a0a;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}

.footer-copy {
  font-size: 0.78rem;
  color: #555;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* =====================
   PORTAL FAB BUTTON
===================== */
.portal-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.portal-fab:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,16,46,0.4);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    background-attachment: scroll;
    padding: 0 1.5rem 4rem;
  }

  .hero-scroll-hint {
    right: 1.5rem;
  }

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

  .about-img {
    min-height: 320px;
  }

  .about-text {
    padding: 3rem 2rem;
  }

  .menu-section {
    padding: 4rem 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .stats {
    gap: 1rem;
  }

  .cta-section {
    background-attachment: scroll;
    padding: 5rem 1.5rem;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 3rem 2rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}
