/* ========================================
   Queen City BBQ Co. — Charlotte, NC
   Dark & Gold Smokehouse Aesthetic
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Barlow:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-dark: #0a0a08;
  --bg-section: #141210;
  --bg-card: #1c1a16;
  --gold: #c9a84c;
  --gold-light: #e8d08c;
  --gold-dim: #8a7434;
  --ember: #c0392b;
  --cream: #f5f0e8;
  --smoke: #2a2620;
  --text: #d4cfc5;
  --text-light: #a09888;
  --font-display: 'Cinzel', serif;
  --font-body: 'Barlow', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-dark);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 6px 6px;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 0;
}

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--cream);
  line-height: 1.2;
  letter-spacing: 0.04em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }

.gold-text { color: var(--gold); }
.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- Gold Divider --- */
.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
  border: none;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: background var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  height: 48px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 8, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1rem; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 8, 0.7) 0%,
    rgba(10, 10, 8, 0.5) 40%,
    rgba(10, 10, 8, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-crown {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  animation: fadeSlideDown 0.8s ease forwards;
  opacity: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(201, 168, 76, 0.3);
  animation: fadeSlideUp 0.8s 0.2s ease forwards;
  opacity: 0;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: var(--text);
  margin-top: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeSlideUp 0.8s 0.4s ease forwards;
  opacity: 0;
}

.hero-cta-group {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.6s ease forwards;
  opacity: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--gold-light);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

/* --- Intro Band --- */
.intro-band {
  background: var(--bg-section);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.intro-item {
  padding: 2rem 1rem;
}
.intro-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.intro-item h3 {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.intro-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .intro-grid { grid-template-columns: 1fr; }
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  pointer-events: none;
}
.about-text p {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image img { height: 280px; }
}

/* --- Services / Menu Cards --- */
.services-section { background: var(--bg-section); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-dim));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.service-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Catering Menu Table --- */
.menu-section { background: var(--bg-dark); }

.menu-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
}
.menu-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
}
.menu-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid rgba(201, 168, 76, 0.3);
}
.menu-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  color: var(--text);
  font-size: 0.95rem;
}
.menu-table tr:hover td { background: rgba(201, 168, 76, 0.04); }

.menu-price {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.menu-note {
  background: rgba(201, 168, 76, 0.06);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  border-radius: 0 4px 4px 0;
}

/* --- Catering Pricing Packages --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}
.pricing-card .price-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pricing-card .price-desc {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

/* --- Contact Info Bar --- */
.contact-bar {
  background: var(--bg-section);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.contact-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.contact-bar-item h3 {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-bar-item p {
  color: var(--text);
  font-size: 0.95rem;
}
.contact-bar-item a {
  color: var(--cream);
}
.contact-bar-item a:hover {
  color: var(--gold);
}

/* --- Contact Form --- */
.contact-section { background: var(--bg-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info-side h3 {
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.contact-detail p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.1rem;
  transition: all var(--transition);
}
.social-link:hover, .social-link:focus-visible {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --- Map Embed --- */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.15);
  margin-top: 2rem;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.5) contrast(1.1);
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-section);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 8rem 0 3rem;
  text-align: center;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  position: relative;
  color: var(--gold);
}

/* --- Animations --- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveals */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Smoke Texture Overlay --- */
.smoke-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* --- Noise Grain --- */
.grain::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* --- Alert/Success Messages --- */
.form-success {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  color: var(--gold);
  display: none;
  margin-top: 1rem;
}

/* --- Lists inside content --- */
.content-list {
  list-style: none;
  padding: 0;
}
.content-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
}
.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* --- Image Gallery on About --- */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.about-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

/* --- Sides Grid --- */
.sides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.side-item {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
}
.side-item:hover { border-color: rgba(201, 168, 76, 0.3); }
