/* ============================================
   EATSWAA - Charcoal BBQ Food Truck
   Dark theme, yellow/fire accents, mobile-first
   ============================================ */

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

:root {
  --black: #0A0A0A;
  --dark: #141414;
  --dark-surface: #1E1E1E;
  --dark-border: #2A2A2A;
  --yellow: #FFD700;
  --yellow-hover: #FFE43D;
  --fire-orange: #FF6B1A;
  --fire-red: #E83F2E;
  --white: #FFFFFF;
  --muted: #999999;
  --text: #E0E0E0;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--yellow-hover);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

/* Tiled logo watermark overlay */
.section::before,
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/logo.png');
  background-size: 120px;
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-title-center {
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-uber {
  background: var(--yellow);
  color: var(--black);
}

.btn-uber:hover {
  background: var(--yellow-hover);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.btn-doordash {
  background: #FF3008;
  color: var(--white);
}

.btn-doordash:hover {
  background: #e62b07;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 48, 8, 0.3);
}

.btn-call {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--yellow);
  flex-direction: column;
  gap: 2px;
}

.btn-call:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sub {
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.btn-logo {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.btn-logo-dd {
  height: 24px;
}

.btn-logo-sm {
  height: 22px;
}

.order-option-logo {
  height: 20px;
  width: auto;
  border-radius: 4px;
}

.order-option-logo-dd {
  height: 16px;
}

.btn-insta {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.nav-logo img {
  border-radius: 0;
  height: 32px;
  width: auto;
}

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

.nav-links a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--yellow);
}

.nav-cta {
  display: none;
}

.order-dropdown {
  position: relative;
}

.order-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.order-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  min-width: 200px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 110;
}

.order-dropdown-menu.open {
  display: block;
}

.order-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.15s;
}

.order-dropdown-menu a:hover {
  background: var(--dark-surface);
  color: var(--yellow);
}

.order-option-tag {
  font-size: 0.65rem;
  background: var(--yellow);
  color: var(--black);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

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

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

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

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

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

/* Mobile nav overlay */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  justify-content: center;
  align-items: center;
  gap: 40px;
  z-index: 99;
}

.nav-links.open a {
  font-size: 1.8rem;
  opacity: 1;
}

/* --- 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,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.85) 30%,
    rgba(10, 10, 10, 0.8) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.hero-logo {
  border-radius: 0;
  margin: 0 auto 32px;
  width: min(85vw, 600px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--yellow);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-wrap: balance;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-address {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 40px;
  opacity: 0.8;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 20px;
  transition: color 0.2s;
}

.hero-phone:hover {
  color: var(--yellow);
}

.hero-phone svg {
  opacity: 0.7;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  opacity: 0.5;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- About --- */
.about {
  background: var(--dark);
}

.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.about-lead {
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 24px;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-surface);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-border);
  font-weight: 500;
  color: var(--white);
  font-size: 0.95rem;
}

.highlight-icon {
  font-size: 1.4rem;
}

.about-image img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* --- Menu --- */
.menu {
  background: var(--black);
}

.menu-grid {
  display: grid;
  gap: 24px;
}

.menu-card {
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  text-align: left;
}

.menu-card-featured {
  background: linear-gradient(135deg, var(--dark-surface), var(--dark));
  border-color: var(--yellow);
}

.menu-card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--yellow);
  color: var(--black);
  padding: 4px 16px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}

.menu-card-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.menu-item-name {
  color: var(--white);
  font-weight: 500;
  white-space: nowrap;
}

.menu-item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--dark-border);
  margin-bottom: 4px;
  min-width: 20px;
}

.menu-item-price {
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.menu-combo {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-border);
  color: var(--fire-orange);
  font-weight: 600;
  font-size: 0.9rem;
}

.menu-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* --- Gallery --- */
.gallery {
  background: var(--dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

/* --- FAQ --- */
.faq {
  background: var(--dark);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--yellow);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

details[open] .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--yellow);
}

/* --- Reviews --- */
.reviews {
  background: var(--black);
}

.reviews-google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.reviews-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviews-badge-text strong {
  color: var(--white);
  font-size: 0.95rem;
}

.reviews-leave {
  font-size: 0.8rem;
  color: var(--yellow);
}

.reviews-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.review-card {
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--yellow);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
  font-style: italic;
  text-align: left;
  flex: 1;
}

.review-author {
  color: var(--muted);
  font-size: 0.85rem;
}

.review-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.review-card-link:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  color: inherit;
}

/* --- Find Us --- */
.find-us {
  background: var(--black);
}

.find-grid {
  display: grid;
  gap: 48px;
}

.find-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.find-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.find-detail svg {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
}

.find-detail strong {
  color: var(--white);
}

.find-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.find-map iframe {
  width: 100%;
  min-height: 300px;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: 48px 0 24px;
  position: relative;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 0;
  height: 40px;
  width: auto;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
}

.footer-links a {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
}

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

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Sticky Mobile CTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(10, 10, 10, 0.98) 60%, transparent);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta-row {
  display: flex;
  gap: 8px;
}

.mobile-cta-btn {
  flex: 1;
  justify-content: center;
  padding: 14px 12px;
  font-size: 0.9rem;
}

/* --- Highlight SVG icons --- */
.highlight-icon {
  flex-shrink: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1023px) {
  .mobile-cta {
    display: block;
  }
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

  .hero-ctas .btn-uber { order: 1; }
  .hero-ctas .btn-call { order: 2; }
  .hero-ctas .btn-doordash { order: 3; }

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

  .gallery-item-tall {
    grid-row: span 2;
  }

  .gallery-item-tall img {
    aspect-ratio: auto;
    height: 100%;
  }

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

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu-cta {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }

  .section {
    padding: 100px 0;
  }

  .section-title {
    font-size: 3rem;
  }

  .hero-logo {
    width: min(70vw, 550px);
  }

  .hero-tagline {
    font-size: 3.5rem;
  }

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

  .find-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-brand {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .hero-tagline {
    font-size: 4rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .gallery-item-wide img {
    aspect-ratio: 21/9;
  }
}
