/* ==========================================================================
   BURNING SUN RESTAURANT - CORE DESIGN SYSTEM & STYLESHEET
   Brand Identity: Denver, CO Wood-Fired Fine Dining & Lounge
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Brand Color Palette */
  --color-deep-charcoal: #171717;
  --color-warm-black: #0D0D0D;
  --color-surface-dark: #141414;
  --color-surface-card: #1C1C1C;
  --color-surface-card-hover: #242424;
  
  --color-burning-orange: #F26A21;
  --color-orange-glow: rgba(242, 106, 33, 0.35);
  --color-golden-amber: #F5A623;
  --color-amber-glow: rgba(245, 166, 35, 0.25);
  
  --color-cream-white: #F8F3EA;
  --color-cream-soft: #EFE7DA;
  --color-muted-text: #A8A29E;
  --color-subtle-border: rgba(245, 166, 35, 0.18);
  --color-border-hover: rgba(242, 106, 33, 0.45);
  
  /* Typography Tokens */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Gradients */
  --gradient-flame: linear-gradient(135deg, #F5A623 0%, #F26A21 60%, #D9480F 100%);
  --gradient-dark-overlay: linear-gradient(180deg, rgba(13,13,13,0.4) 0%, rgba(13,13,13,0.85) 60%, #0D0D0D 100%);
  --gradient-hero: linear-gradient(to right, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.7) 50%, rgba(13,13,13,0.4) 100%);
  --gradient-card: linear-gradient(145deg, rgba(28,28,28,0.9) 0%, rgba(20,20,20,0.95) 100%);
  
  /* Layout & Spacing */
  --container-max: 1280px;
  --container-narrow: 960px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-orange: 0 10px 30px rgba(242, 106, 33, 0.28);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-warm-black);
  color: var(--color-cream-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-cream-white);
  line-height: 1.25;
  font-weight: 700;
}

.font-display {
  font-family: var(--font-display);
}

.text-orange {
  color: var(--color-burning-orange);
}

.text-amber {
  color: var(--color-golden-amber);
}

.text-cream {
  color: var(--color-cream-white);
}

.text-muted {
  color: var(--color-muted-text);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-spacing {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-spacing-sm {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Section Header Component */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-golden-amber);
  margin-bottom: 0.85rem;
  background: rgba(245, 166, 35, 0.08);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-subtle-border);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '✦';
  font-size: 0.65rem;
  color: var(--color-burning-orange);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-muted-text);
  line-height: 1.7;
}

/* ==========================================================================
   NAVIGATION & SITE HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-subtle-border);
  transition: background var(--transition-fast), padding var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.98);
  border-bottom-color: rgba(245, 166, 35, 0.28);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1010;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-cream-soft);
  position: relative;
  padding: 0.35rem 0;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-flame);
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-burning-orange);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.phone-quicklink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-cream-white);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.phone-quicklink svg {
  width: 16px;
  height: 16px;
  fill: var(--color-golden-amber);
}

.phone-quicklink:hover {
  background: rgba(245, 166, 35, 0.12);
  border-color: var(--color-golden-amber);
  color: var(--color-golden-amber);
}

/* Mobile Hamburger Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-subtle-border);
  gap: 5px;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-cream-white);
  transition: transform var(--transition-smooth), opacity var(--transition-fast);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem 1.5rem 3rem;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--color-subtle-border);
  z-index: 999;
  overflow-y: auto;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-cream-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--color-burning-orange);
}

.mobile-drawer-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Sticky Bottom Call-Bar for Mobile Devices */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-subtle-border);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}

.mobile-sticky-bar .bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #090909;
  border-top: 1px solid var(--color-subtle-border);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 2px;
  background: var(--gradient-flame);
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--color-muted-text);
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-cream-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--color-muted-text);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-burning-orange);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-muted-text);
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--color-golden-amber);
  margin-top: 0.15rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-muted-text);
}

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

/* ==========================================================================
   HERO BANNER COMPONENT
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--color-warm-black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 75% 40%, rgba(242, 106, 33, 0.15) 0%, transparent 60%),
              linear-gradient(to right, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.75) 55%, rgba(13,13,13,0.45) 100%),
              linear-gradient(to bottom, transparent 70%, #0D0D0D 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-title span {
  background: var(--gradient-flame);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-cream-soft);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-cream-soft);
}

.hero-badge-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-golden-amber);
}

/* ==========================================================================
   PAGE HERO (SUB-PAGES)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 6rem 0 4.5rem;
  background: var(--color-surface-dark);
  border-bottom: 1px solid var(--color-subtle-border);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(242, 106, 33, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-muted-text);
  max-width: 640px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--color-muted-text);
  margin-bottom: 1.25rem;
}

.breadcrumb-nav a:hover {
  color: var(--color-golden-amber);
}

.breadcrumb-separator {
  color: var(--color-burning-orange);
  font-size: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .nav-desktop,
  .header-actions .phone-quicklink {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .section-spacing {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .mobile-sticky-bar {
    display: block;
  }
  
  body {
    padding-bottom: 64px; /* clearance for sticky bottom bar */
  }
}
