/* ===========================================================
   DFW Catering Collective — Design System
   =========================================================== */

:root {
  /* Palette — warm, premium, appetizing */
  --color-bg: #faf6ef;
  --color-bg-alt: #f2e9da;
  --color-card: #ffffff;
  --color-dark: #1b1512;
  --color-dark-2: #241c17;
  --color-dark-3: #2f251d;
  --color-ink: #2a2320;
  --color-ink-light: #6a5d52;
  --color-cream: #fbf7f0;
  --color-terracotta: #c1502e;
  --color-terracotta-dark: #9c3d20;
  --color-gold: #c99a4a;
  --color-gold-light: #e6c584;
  --color-border: #e7dcc9;

  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;

  --shadow-soft: 0 10px 30px rgba(27, 21, 18, 0.08);
  --shadow-strong: 0 20px 50px rgba(27, 21, 18, 0.18);

  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--color-ink-light); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  font-weight: 700;
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: linear-gradient(160deg, var(--color-dark), var(--color-dark-3));
  color: var(--color-cream);
}
.section--dark h2, .section--dark h3, .section--dark p { color: var(--color-cream); }
.section--dark .section-intro p { color: #d8c9b6; }

.section-intro {
  max-width: 720px;
  margin: 0 0 56px;
}
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-terracotta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(193, 80, 46, 0.35);
}
.btn-primary:hover { background: var(--color-terracotta-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(193,80,46,.42); }

.btn-gold {
  background: var(--color-gold);
  color: var(--color-dark);
  box-shadow: 0 8px 20px rgba(201, 154, 74, 0.35);
}
.btn-gold:hover { background: var(--color-gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-cream);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}
.btn-outline-dark:hover { background: var(--color-dark); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(27, 21, 18, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .3s ease;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-mark {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold);
}
.brand-mark svg { width: 44px; height: 20px; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-title {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
  color: #fff;
}
.brand-subtitle {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #f1e8db;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--color-gold-light); }

.nav-dropdown { position: relative; }
.nav-dropdown > button {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  margin: 0;
  color: #f1e8db;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav-dropdown > button:hover { color: var(--color-gold-light); }
.nav-dropdown-menu {
  position: absolute;
  top: 130%;
  left: 0;
  min-width: 260px;
  background: var(--color-dark-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-strong);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.06); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
}
.lang-toggle button {
  background: transparent;
  border: none;
  color: #cbb99f;
  padding: 7px 13px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-body);
  transition: background .2s ease, color .2s ease;
}
.lang-toggle button.active {
  background: var(--color-gold);
  color: var(--color-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--color-dark-2);
    padding: 20px 24px 26px;
    gap: 6px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; margin-top: 4px; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-toggle { display: block; }
  .brand { white-space: normal; flex-shrink: 1; font-size: 1.1rem; min-width: 0; }
}

@media (max-width: 420px) {
  .brand { font-size: 0.98rem; gap: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,11,9,0.72) 0%, rgba(15,11,9,0.8) 55%, rgba(15,11,9,0.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 140px 24px 90px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p.lead { font-size: 1.2rem; color: #ecdfcd; max-width: 600px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stat strong { display: block; font-family: var(--font-heading); font-size: 2.1rem; color: var(--color-gold-light); }
.hero-stat span { font-size: 0.85rem; color: #d8c9b6; }

/* smaller hero for restaurant pages */
.hero--sub { min-height: 62vh; }
.hero--sub .hero-content { padding: 120px 24px 70px; }

/* ---------- Grid / Cards ---------- */
.grid {
  display: grid;
  gap: 32px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.value-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.value-card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  margin-bottom: 18px;
}
.value-card .icon svg {
  width: 24px;
  height: 24px;
}

/* Restaurant cards */
.restaurant-card {
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.restaurant-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.restaurant-card .photo {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.restaurant-card .photo .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(27,21,18,0.75);
  color: var(--color-gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.restaurant-card .body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.restaurant-card h3 { margin-bottom: 8px; }
.restaurant-card p { flex: 1; font-size: 0.95rem; }
.restaurant-card .actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* Testimonials */
.testimonial-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.testimonial-card .stars { color: var(--color-gold); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { font-style: italic; color: var(--color-ink); font-size: 1.02rem; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-family: var(--font-heading);
  flex-shrink: 0;
}
.testimonial-card .author strong { display: block; font-size: 0.92rem; color: var(--color-dark); }
.testimonial-card .author span { font-size: 0.8rem; color: var(--color-ink-light); }

/* Testimonials carousel */
.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track .testimonial-card {
  flex: 0 0 auto;
  width: 360px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.testimonial-track .testimonial-card p.quote { flex: 1; }
.testimonial-source {
  display: block;
  margin-top: 2px;
  color: var(--color-terracotta-dark);
  font-weight: 600;
}
.carousel-nav {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(230, 197, 132, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-nav:hover { background: var(--color-terracotta); border-color: var(--color-terracotta); transform: translateY(-2px); }
.carousel-nav svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .testimonial-track .testimonial-card { width: min(340px, 86vw); }
}
@media (max-width: 640px) {
  .carousel-nav { display: none; }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.gallery-grid img, .gallery-grid .g-item {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform .5s ease, filter .5s ease;
}
.gallery-grid a { overflow: hidden; border-radius: var(--radius-sm); display: block; }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid .span-2 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid .span-2 { grid-column: span 2; grid-row: span 1; }
}

/* Coverage / cities */
.city-pill-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.city-pill {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex; align-items: center; gap: 8px;
}
.city-pill::before { content: "📍"; font-size: 0.85rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--color-border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-bg);
  color: var(--color-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 4px rgba(193,80,46,0.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--color-ink-light); margin-top: 14px; }
.form-success, .form-error {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: 18px;
  font-size: 0.92rem;
}
.form-success { background: #e7f4ea; color: #1e6a34; }
.form-error { background: #fbe8e4; color: #a1341b; }
.form-success.show, .form-error.show { display: block; }

/* ---------- Menu (restaurant pages) ---------- */
.menu-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.menu-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background: var(--color-card);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .2s ease;
}
.menu-tab.active, .menu-tab:hover {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  color: #fff;
}
.menu-category { display: none; }
.menu-category.active { display: block; }
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.menu-item:last-child { border-bottom: none; }
.menu-item h4 { margin-bottom: 4px; font-size: 1.05rem; }
.menu-item p { margin: 0; font-size: 0.9rem; }
.menu-item .price { font-weight: 700; color: var(--color-terracotta); white-space: nowrap; font-family: var(--font-heading); }
.menu-disclaimer {
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.88rem;
  margin-bottom: 30px;
  color: var(--color-ink);
}

/* Private dining info */
.info-stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.info-stat strong { display: block; font-family: var(--font-heading); font-size: 1.9rem; color: var(--color-terracotta); }
.info-stat span { font-size: 0.85rem; color: var(--color-ink-light); text-transform: uppercase; letter-spacing: 0.05em; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split img, .split .img-block { border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-ink-light);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--color-terracotta); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: #cbb99f;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--color-gold-light); }
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.footer-brand .brand-mark svg { width: 50px; height: 22px; }
.footer-brand .brand-title { font-size: 1.05rem; }
.footer-brand .brand-subtitle { font-size: 0.82rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--color-gold); color: var(--color-dark); border-color: var(--color-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #a89478;
}
.footer-bottom a:hover { color: var(--color-gold-light); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Sticky mobile CTA (restaurant pages) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-dark);
  padding: 14px 20px;
  display: none;
  z-index: 900;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}
@media (max-width: 760px) { .sticky-cta { display: flex; gap: 12px; } }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-gold);
  color: var(--color-dark);
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; top: 0; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; }
