/* ==========================================================================
   Church's Chicken Menu — Light Modern Design System
   Theme: Clean Southern Dining (Crisp White, Honey Gold, Texas Crimson Red)
   ========================================================================== */

:root {
  /* Colors - Clean Light Theme */
  --bg-main: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f3f5;
  --bg-card: #ffffff;
  
  --border-color: #e9ecef;
  --border-color-hover: #d9381e;
  
  --primary-red: #d9381e;
  --primary-red-hover: #b82b13;
  --accent-gold: #ffb700;
  --accent-gold-hover: #e6a400;
  
  --text-main: #1c1e21;
  --text-muted: #495057;
  --text-dim: #6c757d;
  
  --success: #2b8a3e;
  --warning: #f59f00;

  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-family-heading: 'Outfit', 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 3.5rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 28px rgba(217, 56, 30, 0.12);
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family-base);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

p.lead {
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.7;
}

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

a:hover {
  color: var(--primary-red-hover);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-orange { color: var(--primary-red); }

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover .header-logo-img {
  transform: scale(1.04);
}

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

.nav-link {
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.6rem;
  right: 0.6rem;
  height: 3px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: var(--primary-red);
  border: 1px solid var(--primary-red);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 42px;
  min-width: 72px;
  padding: 0.55rem 0.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 56, 30, 0.25);
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 56, 30, 0.35);
  color: #ffffff;
}

.btn-gold {
  background: var(--accent-gold);
  color: #1c1e21;
  box-shadow: 0 4px 12px rgba(255, 183, 0, 0.3);
}

.btn-gold:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  color: #1c1e21;
}

/* Footer */
.site-footer {
  background-color: #141618;
  color: #f8f9fa;
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
  margin-top: auto;
}

.site-footer p, .site-footer a {
  color: #adb5bd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  max-width: 320px;
}

.footer-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  font-size: 0.825rem;
  color: #868e96;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.is-open {
    transform: translateY(0);
  }

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