/* ═══════════════════════════════════════════════════════════════════════
   Chicken Country — Promo Website Styles
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --color-header-bg: #3B1E08;
  --color-brown: #5C2E0A;
  --color-wood: #8B4513;
  --color-wheat: #D4A017;
  --color-cream: #FDF6E3;
  --color-green: #3B6E3B;
  --color-light-green: #6AA84F;
  --color-game-green: #1E3D1E;
  --color-dark-text: #2D1B0E;
  --color-gold-border: #C8A94A;
  --color-wood-light: #C8641A;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Vollkorn', serif;
  color: var(--color-cream);
  background: var(--color-header-bg);
  overflow-x: hidden;
}

/* ── Typography ───────────────────────────────────────────────────────── */
.font-display { font-family: 'Rye', cursive; }
.font-body { font-family: 'Vollkorn', serif; }

.hero-heading {
  font-family: 'Rye', cursive;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-cream);
  text-shadow: 0 2px 20px rgba(212, 160, 23, 0.6), 0 4px 40px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-family: 'Vollkorn', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-gold-border);
  font-weight: 500;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-wheat);
}

.section-heading {
  font-family: 'Rye', cursive;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-cream);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-wheat), var(--color-wood-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('images/hero_bg.webp') center/cover no-repeat, var(--color-header-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,30,8,0.75) 0%, rgba(59,30,8,0.4) 50%, rgba(59,30,8,0.7) 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--color-green), var(--color-light-green));
  color: var(--color-cream);
  font-family: 'Rye', cursive;
  font-size: 1rem;
  border-radius: 12px;
  border: 2px solid var(--color-light-green);
  box-shadow: 0 5px 15px rgba(59,110,59,0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59,110,59,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(180deg, var(--color-wood), var(--color-brown));
  color: var(--color-cream);
  font-family: 'Rye', cursive;
  font-size: 0.9rem;
  border-radius: 10px;
  border: 2px solid var(--color-gold-border);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.farm-card {
  background: rgba(92,46,10,0.6);
  border: 2px solid var(--color-gold-border);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.farm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212,160,23,0.15), 0 4px 12px rgba(0,0,0,0.3);
  border-color: var(--color-wheat);
}

/* ── Tabs ──────────────────────────────────────────────────────────────── */
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-family: 'Rye', cursive;
  font-size: 0.9rem;
  color: var(--color-gold-border);
  border-bottom: 3px solid transparent;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--color-wheat);
  border-bottom-color: var(--color-wheat);
}

/* ── Device Mockup ────────────────────────────────────────────────────── */
.device-frame {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid var(--color-dark-text);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 2px var(--color-gold-border);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.section-dark {
  background: var(--color-header-bg);
}

.section-brown {
  background: var(--color-brown);
}

.section-green {
  background: linear-gradient(135deg, var(--color-game-green), var(--color-green));
}

.cta-section {
  position: relative;
  background: url('images/cta_bg.webp') center/cover no-repeat, linear-gradient(135deg, var(--color-brown), var(--color-header-bg));
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,30,8,0.85), rgba(30,61,30,0.7));
  pointer-events: none;
}

.footer-section {
  position: relative;
  background: url('images/footer_bg.webp') center/cover no-repeat, var(--color-dark-text);
}

.footer-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45,27,14,0.88);
  pointer-events: none;
}

/* ── Dividers ─────────────────────────────────────────────────────────── */
.sunflower-divider {
  display: block;
  margin: 0 auto;
  max-width: 300px;
  height: auto;
  opacity: 0.85;
}

/* ── Swiper overrides ─────────────────────────────────────────────────── */
.swiper-pagination-bullet {
  background: var(--color-gold-border) !important;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: var(--color-wheat) !important;
  opacity: 1;
}
.swiper-button-next, .swiper-button-prev {
  color: var(--color-wheat) !important;
}

/* ── Screenshot thumbs ────────────────────────────────────────────────── */
.thumb-btn {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--color-wheat);
  opacity: 1;
  box-shadow: 0 0 12px rgba(212,160,23,0.4);
}

/* ── Form ──────────────────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(92,46,10,0.5);
  border: 2px solid var(--color-gold-border);
  border-radius: 10px;
  color: var(--color-cream);
  font-family: 'Vollkorn', serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-wheat);
  box-shadow: 0 0 10px rgba(212,160,23,0.2);
}

.form-input::placeholder {
  color: var(--color-gold-border);
  opacity: 0.7;
}

/* ── Legal pages ──────────────────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.legal-content h1 {
  font-family: 'Rye', cursive;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.legal-content h2 {
  font-family: 'Rye', cursive;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--color-wheat);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-family: 'Vollkorn', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-gold-border);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: rgba(253,246,227,0.85);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content li {
  color: rgba(253,246,227,0.85);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--color-wheat);
  text-decoration: underline;
  transition: color 0.2s;
}

.legal-content a:hover {
  color: var(--color-wood-light);
}

/* ── Privacy acceptance button (required by privacy plugin) ───────────── */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 1.5rem;
  background: linear-gradient(to top, var(--color-header-bg) 60%, transparent);
}

.privacy-accept-btn.hidden {
  display: none;
}

.accept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-green), var(--color-light-green));
  color: var(--color-cream);
  font-family: 'Rye', cursive;
  font-size: 1.1rem;
  border-radius: 14px;
  border: 2px solid var(--color-light-green);
  box-shadow: 0 5px 20px rgba(59,110,59,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,110,59,0.6);
}

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.9);
  cursor: pointer;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}

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

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { min-height: 90vh; }
  .device-frame { max-width: 220px; }
}

/* ── Multi-step form ──────────────────────────────────────────────────── */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-brown);
  border: 2px solid var(--color-gold-border);
  transition: all 0.3s;
}

.step-dot.active {
  background: var(--color-wheat);
  box-shadow: 0 0 8px rgba(212,160,23,0.5);
}

.step-line {
  width: 40px;
  height: 2px;
  background: var(--color-gold-border);
  opacity: 0.4;
}
