/*
Theme Name: CCC 2026 - Carolinas Chili Championship
Theme URI: https://carolinaschilichampionship.com
Author: Carolinas Chili Championship
Author URI: https://carolinaschilichampionship.com
Description: Official WordPress theme for the Carolinas Chili Championship 2026 event website. Features brand colors, Anton/Open Sans/Pacifico fonts, sponsorship packages, cook team registration, vendor info, photo gallery, and event schedule.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ccc2026
Tags: event, nonprofit, one-page, custom-colors, custom-logo, featured-images, full-width-template
*/

/* ============================================================
   CCC 2026 Brand Variables
   Primary:   #D7263D  (Chili Red)
   Secondary: #7DB248  (Pepper Green)
   Accent:    #C45C1A  (Burnt Orange)
   Dark:      #1A1A1A
   Cream:     #F7F2EB
   ============================================================ */

:root {
  --ccc-red:    #D7263D;
  --ccc-green:  #7DB248;
  --ccc-orange: #C45C1A;
  --ccc-dark:   #1A1A1A;
  --ccc-cream:  #F7F2EB;
  --ccc-gray:   #666666;
  --font-heading: 'Anton', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --font-accent:  'Pacifico', cursive;
}

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

body {
  font-family: var(--font-body);
  background: var(--ccc-cream);
  color: var(--ccc-dark);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ccc-red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ccc-dark);
}

.pacifico { font-family: var(--font-accent); }

/* ── Container ── */
.ccc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn-chili {
  display: inline-block;
  background: var(--ccc-red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-chili:hover { background: #b51e31; color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-chili:active { transform: scale(0.97); }

.btn-green {
  display: inline-block;
  background: var(--ccc-green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-green:hover { background: #6a9a3c; color: #fff; text-decoration: none; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; text-decoration: none; }

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--ccc-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: 2px solid var(--ccc-dark);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-outline-dark:hover { background: rgba(0,0,0,0.08); color: var(--ccc-dark); text-decoration: none; }

/* ── Section Labels ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ccc-green);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── Navbar ── */
.ccc-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ccc-red);
  padding: 0.75rem 0;
}
.ccc-navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ccc-navbar .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.ccc-navbar .nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.ccc-navbar .nav-logo-text {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
}
.ccc-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.ccc-navbar .nav-links a {
  color: #ccc;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.ccc-navbar .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Dropdown */
.ccc-navbar .nav-dropdown { position: relative; }
.ccc-navbar .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  min-width: 160px;
  padding: 0.5rem 0;
  z-index: 100;
}
.ccc-navbar .nav-dropdown:hover .nav-dropdown-menu,
.ccc-navbar .nav-dropdown-menu:hover { display: block; }
.ccc-navbar .nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #ccc;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ccc-navbar .nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Mobile menu toggle */
.ccc-navbar .nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .ccc-navbar .nav-links { display: none; }
  .ccc-navbar .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #1a1a1a; padding: 1rem; gap: 0.25rem; }
  .ccc-navbar .nav-toggle { display: block; }
  .ccc-navbar .nav-dropdown-menu { position: static; display: block; background: transparent; border: none; padding: 0 0 0 1rem; }
}

/* ── Hero ── */
.ccc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #1a1a1a;
  overflow: hidden;
  padding-top: 80px;
}
.ccc-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.ccc-hero .hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}
.ccc-hero .hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ccc-red);
  margin-bottom: 1rem;
}
.ccc-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.ccc-hero .hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Countdown */
.ccc-countdown {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.ccc-countdown .cd-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}
.ccc-countdown .cd-block {
  background: var(--ccc-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.ccc-countdown .cd-sep {
  color: var(--ccc-red);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  align-self: center;
  margin-bottom: 1.5rem;
}

/* Hero buttons */
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Event Details Card */
.hero-details-card {
  background: rgba(247,242,235,0.97);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 360px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hero-details-card h3 {
  font-family: var(--font-heading);
  color: var(--ccc-red);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.hero-details-card .detail-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.hero-details-card .detail-label {
  font-weight: 700;
  color: var(--ccc-dark);
  min-width: 60px;
}

/* ── Sections ── */
.ccc-section { padding: 5rem 0; }
.ccc-section-dark { background: var(--ccc-dark); color: #fff; }
.ccc-section-dark h2, .ccc-section-dark h3 { color: #fff; }
.ccc-section-red { background: var(--ccc-red); color: #fff; }
.ccc-section-red h2, .ccc-section-red h3 { color: #fff; }
.ccc-section-green { background: var(--ccc-green); color: #fff; }
.ccc-section-green h2, .ccc-section-green h3 { color: #fff; }
.ccc-section-cream { background: var(--ccc-cream); }

/* ── Nav Cards (Quick Links) ── */
.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.nav-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border-top: 4px solid var(--ccc-green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.nav-card .card-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--ccc-red);
  margin-bottom: 0.5rem;
}
.nav-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.nav-card p { font-size: 0.875rem; color: var(--ccc-gray); }

/* ── Experience Cards ── */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.experience-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--ccc-green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.experience-card .exp-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.experience-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.experience-card p { font-size: 0.875rem; color: var(--ccc-gray); }

/* ── Event Schedule Image Block ── */
.ccc-schedule-image-block {
  max-width: 760px;
  margin: 0 auto;
  background: var(--ccc-dark);
  border: 3px solid var(--ccc-red);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}
.ccc-schedule-image {
  display: block;
  width: 100%;
  height: auto;
}
.ccc-schedule-image-placeholder {
  background: var(--ccc-dark);
  border: 3px solid var(--ccc-red);
  border-radius: 16px;
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #aaa;
  font-size: 0.95rem;
}
.ccc-schedule-coming,
.ccc-schedule-soon {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 5rem);
  letter-spacing: 0.04em;
  line-height: 1;
}
.ccc-schedule-coming { color: var(--ccc-red); }
.ccc-schedule-soon { color: #fff; margin-bottom: 1.5rem; }
.ccc-schedule-note {
  max-width: 700px;
  margin: 1rem auto 0;
  color: var(--ccc-gray);
  font-size: 0.875rem;
}

/* ── Sponsor Tiers ── */
.sponsor-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}
.sponsor-card-header {
  padding: 1.5rem 2rem;
  color: #fff;
}
.sponsor-card-header .pkg-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.sponsor-card-header h3 { font-size: 1.8rem; color: #fff; margin-bottom: 0.5rem; }
.sponsor-card-header .price { font-family: var(--font-heading); font-size: 2rem; color: #fff; }
.sponsor-card-body { padding: 2rem; }
.sponsor-card-body ul { list-style: none; margin: 1rem 0; }
.sponsor-card-body ul li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--ccc-gray);
  border-bottom: 1px solid #f0f0f0;
}
.sponsor-card-body ul li::before { content: "› "; color: var(--ccc-red); font-weight: 700; }

/* ── FAQ Accordion ── */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.2); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question .faq-icon { font-size: 1.25rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.faq-answer.open { max-height: 400px; }
.faq-answer-inner { padding: 0 0 1.25rem; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(215,38,61,0.6);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.ccc-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.ccc-lightbox.open { display: flex; }
.ccc-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.ccc-lightbox .lb-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none;
}
.ccc-lightbox .lb-prev, .ccc-lightbox .lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 2.5rem; cursor: pointer; background: none; border: none;
  padding: 1rem;
}
.ccc-lightbox .lb-prev { left: 1rem; }
.ccc-lightbox .lb-next { right: 1rem; }

/* ── Past Sponsors ── */
.past-sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.sponsor-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ── Contact Cards ── */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.contact-card h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

/* ── Footer ── */
.ccc-footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}
.ccc-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.ccc-footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ccc-red);
  margin-bottom: 1rem;
}
.ccc-footer ul { list-style: none; }
.ccc-footer ul li { margin-bottom: 0.5rem; }
.ccc-footer ul li a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.ccc-footer ul li a:hover { color: #fff; }
.ccc-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.ccc-footer .footer-legal a { color: rgba(255,255,255,0.5); margin: 0 0.5rem; }
.ccc-footer .footer-legal a:hover { color: #fff; }
.ccc-footer .social-links { display: flex; gap: 1rem; }
.ccc-footer .social-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; font-weight: 600; }
.ccc-footer .social-links a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .ccc-footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ccc-hero h1 { font-size: 3rem; }
  .hero-btns { flex-direction: column; }
  .ccc-countdown .cd-block { width: 64px; height: 64px; font-size: 2rem; }
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex-wrap-gap { display: flex; flex-wrap: wrap; gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
