/* =====================================================
   Chicken Road Grill Fest — styles.css
   ===================================================== */

:root {
  --fire: #E8420A;
  --ember: #C93B00;
  --gold: #F5A623;
  --cream: #FDF6EC;
  --charcoal: #1A1208;
  --smoke: #4A3F35;
  --light-smoke: #7A6F65;
  --white: #FFFFFF;
  --border: rgba(232,66,10,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1280px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::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(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  background: rgba(26,18,8,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,166,35,0.15);
  transition: background var(--transition);
}
.navbar.scrolled { background: rgba(26,18,8,0.97); }
.nav-brand {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-links {
  display: flex; gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--fire);
  color: var(--white) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--ember) !important; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/photos/01-02-unique-chicken-grill-029.jpg') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(26,18,8,0.72) 0%, rgba(232,66,10,0.28) 60%, rgba(26,18,8,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 7rem 1.5rem 3rem;
  max-width: 900px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.35);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 2.4rem;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--fire);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(232,66,10,0.4);
}
.btn-primary:hover {
  background: var(--ember);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,66,10,0.5);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(245,166,35,0.1);
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll svg { opacity: 0.5; }
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ---- MARQUEE ---- */
.marquee-strip {
  background: var(--fire);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 0;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 2.5rem;
}
.marquee-item .dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ---- SECTIONS ---- */
section { padding: 6rem 1.5rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1.2rem; color: var(--charcoal); }
.section-title span { color: var(--fire); }
.section-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--smoke);
  max-width: 640px;
  margin-bottom: 3rem;
}

/* ---- BENTO GRID ---- */
.bento {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 240px;
  gap: 1.25rem;
}
.bento-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26,18,8,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,18,8,0.14); }
.bento-card img { width: 100%; height: 100%; object-fit: cover; }
.bento-card .card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,18,8,0.75) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 1.5rem;
}
.bento-card .card-label {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
}
.bento-card.large { grid-column: span 7; grid-row: span 2; }
.bento-card.tall  { grid-column: span 5; grid-row: span 2; }
.bento-card.wide  { grid-column: span 6; }
.bento-card.small { grid-column: span 4; }
.bento-card.text-card {
  grid-column: span 5;
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem;
  background: var(--charcoal);
}
.bento-card.text-card .card-title {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 900;
  color: var(--gold); margin-bottom: 0.75rem;
}
.bento-card.text-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.7; }

/* ---- PROGRAM ---- */
.program { background: var(--charcoal); }
.program .section-label { color: var(--gold); }
.program .section-title { color: var(--white); }
.program .section-lead { color: rgba(255,255,255,0.6); }
.tabs-nav {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.tab-btn:hover { border-color: var(--gold); color: var(--gold); }
.tab-btn.active {
  background: var(--fire);
  border-color: var(--fire);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.program-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), background var(--transition);
}
.program-card:hover {
  border-color: rgba(232,66,10,0.4);
  background: rgba(232,66,10,0.06);
}
.program-card .pc-icon {
  width: 48px; height: 48px;
  background: rgba(232,66,10,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.program-card h3 { color: var(--white); margin-bottom: 0.5rem; }
.program-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.65; }

/* ---- GALLERY ---- */
.gallery { background: var(--cream); }
.masonry {
  columns: 3;
  column-gap: 1.25rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item .photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(26,18,8,0.7) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}
.masonry-item:hover .photo-caption { opacity: 1; }

/* ---- FAQ ---- */
.faq { background: var(--white); }
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--fire); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(232,66,10,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.faq-item.open .faq-icon { background: var(--fire); transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 1.25rem; }
.faq-answer p { color: var(--smoke); line-height: 1.75; font-size: 0.96rem; }

/* ---- CONTACT ---- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 2px 20px rgba(26,18,8,0.08);
  border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 0.5rem; color: var(--charcoal); }
.form-note { font-size: 0.88rem; color: var(--light-smoke); margin-bottom: 1.5rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.35rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.92rem; color: var(--charcoal);
  background: #fafafa; outline: none; transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--fire); }
.form-field textarea { resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-check input[type="checkbox"] { width: auto; margin-top: 0.15rem; flex-shrink: 0; }
.form-check label { font-size: 0.82rem; color: var(--charcoal); }
.form-check label a { color: var(--fire); }
.form-submit { margin-top: 0.5rem; width: 100%; justify-content: center; }
.form-success { margin-top: 1rem; font-size: 0.9rem; color: #2d7a2d; font-weight: 600; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 2px 20px rgba(26,18,8,0.08);
  border: 1px solid var(--border);
}
.contact-card h3 { margin-bottom: 1.75rem; color: var(--charcoal); }
.contact-row {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-row:last-child { margin-bottom: 0; }
.ci-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(232,66,10,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--fire);
}
.ci-info .ci-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--light-smoke); margin-bottom: 0.25rem;
}
.ci-info .ci-val { font-size: 0.95rem; color: var(--charcoal); font-weight: 500; }
.ci-info .ci-val a { color: var(--fire); }
.legal-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.legal-card h3 { color: var(--white); margin-bottom: 1.5rem; }
.legal-row { margin-bottom: 0.9rem; }
.legal-row .l-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.2rem;
}
.legal-row .l-val { font-size: 0.92rem; color: rgba(255,255,255,0.75); }

/* ---- STICKY CTA BAR ---- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(26,18,8,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(245,166,35,0.2);
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.sticky-cta-text strong { color: var(--gold); }
.sticky-cta-actions { display: flex; gap: 0.75rem; align-items: center; }
.sticky-dismiss {
  background: none; border: none; color: rgba(255,255,255,0.35);
  cursor: pointer; font-size: 1.2rem; padding: 0.2rem;
  transition: color var(--transition);
}
.sticky-dismiss:hover { color: var(--white); }

/* ---- FOOTER ---- */
footer {
  background: var(--charcoal);
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .fb-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* ---- UTILITY ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .bento-card.large { grid-column: span 12; grid-row: span 1; }
  .bento-card.tall  { grid-column: span 12; }
  .bento-card.wide  { grid-column: span 12; }
  .bento-card.small { grid-column: span 6; }
  .bento-card.text-card { grid-column: span 12; }
  .masonry { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(26,18,8,0.98);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-hamburger { display: flex; }
  .bento-card.small { grid-column: span 12; }
  .masonry { columns: 1; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .sticky-cta { flex-direction: column; text-align: center; }
  section { padding: 4rem 1.25rem; }
}
