/* ============================================
   CHIVO DADDY — WESTERN THEME CSS
   ============================================ */

:root {
  --rust:      #C0392B;
  --gold:      #F0A500;
  --gold-dark: #C8860A;
  --tan:       #D4A96A;
  --cream:     #FAF3E0;
  --brown:     #5C3D1E;
  --dark:      #1A0A00;
  --sky:       #4A90D9;
  --green:     #2E7D32;
  --shadow:    rgba(0,0,0,0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cabin', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name, .hero-title, .badge-main {
  font-family: 'Rye', serif;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: var(--brown);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 12px var(--shadow);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon { font-size: 1.6rem; }

.brand-name {
  font-family: 'Rye', serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  letter-spacing: 0.03em;
}

.nav-links a:hover { color: var(--gold); }

.btn-nav {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.1s !important;
}

.btn-nav:hover {
  background: var(--rust) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #1A0A00 0%, #3B1F0A 40%, #5C3D1E 70%, #8B5E3C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 4rem;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Dust texture overlay */
.hero-dust {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(192,57,43,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(240,165,0,0.12) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Horizon line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-eyebrow {
  color: var(--tan);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.9;
  color: #fff;
  text-shadow: 4px 4px 0 var(--rust), 8px 8px 20px rgba(0,0,0,0.5);
  margin-bottom: 0.3rem;
}

.hero-title .gold {
  color: var(--gold);
  text-shadow: 4px 4px 0 var(--gold-dark), 8px 8px 20px rgba(0,0,0,0.5);
}

.hero-tagline {
  color: var(--tan);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1.2rem 0 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Rye', serif;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: 3px solid var(--gold-dark);
  box-shadow: 4px 4px 0 var(--gold-dark);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gold-dark);
  background: #ffd44d;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: 'Rye', serif;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: 3px solid var(--tan);
  transition: background 0.15s, color 0.15s;
}

.btn-secondary:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}

/* ---- Hero Video Frame ---- */
.hero-art {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame {
  position: relative;
  /* Wanted-poster tilt */
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.video-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Outer gold border layer */
.video-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: var(--gold);
  border-radius: 4px;
  z-index: -1;
  box-shadow:
    0 0 0 4px var(--gold-dark),
    0 0 0 8px var(--brown),
    0 0 0 12px var(--gold),
    0 8px 40px rgba(0,0,0,0.6),
    0 0 60px rgba(240,165,0,0.25);
}

/* Inner dark mat */
.video-frame::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--brown);
  border-radius: 3px;
  z-index: -1;
}

/* Corner ornaments */
.video-frame-corners { pointer-events: none; }

.vfc {
  position: absolute;
  font-size: 1.2rem;
  color: var(--gold);
  z-index: 2;
  line-height: 1;
  text-shadow: 0 0 8px rgba(240,165,0,0.8);
}
.vfc.tl { top: 4px;  left: 5px;  }
.vfc.tr { top: 4px;  right: 5px; }
.vfc.bl { bottom: 32px; left: 5px;  }
.vfc.br { bottom: 32px; right: 5px; }

/* The video itself */
.hero-video {
  display: block;
  width: 240px;          /* fixed width; height auto from 9:16 ratio */
  height: 426px;         /* 240 × (16/9) = 426 — fills the vertical frame */
  object-fit: cover;
  border-radius: 2px;
  background: var(--dark);
}

/* Caption bar — like a wanted poster label */
.video-frame-label {
  background: var(--rust);
  color: var(--gold);
  font-family: 'Rye', serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-align: center;
  padding: 0.35rem 0.5rem;
  border-top: 2px solid var(--gold-dark);
  text-shadow: 1px 1px 0 var(--dark);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--tan);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  background: var(--rust);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
  padding: 0.6rem 0;
}

.ticker {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker span {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--cream);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23D4A96A' opacity='0.3'/%3E%3C/svg%3E");
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

/* Badge */
.about-badge-wrap {
  display: flex;
  justify-content: center;
}

.about-badge {
  position: relative;
  width: 260px;
  height: 260px;
}

.badge-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0%, var(--rust) 25%, var(--gold) 50%, var(--rust) 75%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--brown), 0 0 40px rgba(240,165,0,0.4);
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.badge-inner {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--brown);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: spin-slow 20s linear infinite reverse;
  border: 4px solid var(--tan);
}

.badge-title { color: var(--tan); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.badge-main  { color: var(--gold); font-family: 'Rye', serif; font-size: 1.5rem; line-height: 1.1; }
.badge-sub   { color: var(--tan); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.3rem; }

.badge-star {
  position: absolute;
  top: -10px; right: 20px;
  font-size: 2.5rem;
  color: var(--gold);
  text-shadow: 0 0 12px var(--gold);
}

/* About Text */
.section-eyebrow {
  color: var(--rust);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.about-text p {
  color: #4a3520;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--brown);
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  border-bottom: 4px solid var(--gold);
  min-width: 100px;
}

.stat-num {
  font-family: 'Rye', serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tan);
  margin-top: 0.25rem;
}

/* ============================================
   GOATS SECTION
   ============================================ */
.goats-section {
  background: linear-gradient(180deg, #3B1F0A 0%, #5C3D1E 100%);
  position: relative;
  overflow: hidden;
}

.goats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M0 50 Q25 20 50 50 Q75 80 100 50' stroke='rgba(240,165,0,0.06)' fill='none' stroke-width='2'/%3E%3C/svg%3E");
}

.center { text-align: center; }

.goats-section .section-eyebrow { color: var(--tan); }
.goats-section .section-title   { color: var(--gold); }

.section-lead {
  color: var(--tan);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.goat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.goat-card {
  background: var(--cream);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  position: relative;
  border: 3px solid var(--tan);
  box-shadow: 6px 6px 0 var(--brown);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.goat-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--brown);
}

.goat-card.featured {
  border-color: var(--gold);
  box-shadow: 6px 6px 0 var(--gold-dark);
  transform: translateY(-8px);
}

.goat-card.featured:hover {
  transform: translate(-3px, -12px);
  box-shadow: 9px 9px 0 var(--gold-dark);
}

.card-badge {
  display: inline-block;
  background: var(--brown);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.card-badge.glow {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 0 12px rgba(240,165,0,0.5);
}

.card-emoji {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
}

.card-name {
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 0.75rem;
}

.card-desc {
  color: #5a3e28;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.card-features li {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.2rem 0;
}

.btn-card {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  font-family: 'Rye', serif;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  border: 2px solid #a02c1f;
  box-shadow: 3px 3px 0 #a02c1f;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #a02c1f;
}

.goat-card.featured .btn-card {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold-dark);
  box-shadow: 3px 3px 0 var(--gold-dark);
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  background: var(--cream);
  position: relative;
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 6px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.why-item:hover { transform: translateY(-4px); }

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.why-item h4 {
  font-family: 'Rye', serif;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.why-item p {
  color: #5a3e28;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--rust);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '🤠';
  position: absolute;
  top: -30px; left: -30px;
  font-size: 15rem;
  opacity: 0.05;
}

.testimonials-section .section-eyebrow { color: var(--tan); }
.testimonials-section .section-title   { color: #fff; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.testimonial-text {
  color: #fff;
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-text::before { content: '"'; font-size: 2rem; line-height: 0; vertical-align: -0.5rem; color: var(--gold); }

.testimonial-name {
  color: var(--tan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: linear-gradient(180deg, var(--cream) 0%, #e8d5b0 100%);
}

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

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

/* Form */
.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  border: 3px solid var(--tan);
  box-shadow: 6px 6px 0 var(--brown);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--tan);
  border-radius: 4px;
  font-family: 'Cabin', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rust);
}

/* Turnstile captcha */
.turnstile-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.btn-submit {
  width: 100%;
  background: var(--rust);
  color: #fff;
  font-family: 'Rye', serif;
  font-size: 1.1rem;
  padding: 0.85rem;
  border: none;
  border-radius: 4px;
  border-bottom: 4px solid #a02c1f;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  letter-spacing: 0.05em;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(1px);
  border-bottom-width: 2px;
}

.form-note {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  min-height: 1.4rem;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  background: var(--brown);
  color: var(--cream);
  padding: 1.2rem 1.5rem;
  border-radius: 6px;
  border-left: 4px solid var(--gold);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon { font-size: 1.5rem; flex-shrink: 0; }

.contact-card h4 {
  font-family: 'Rye', serif;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--tan);
  line-height: 1.5;
}

.chivo-quote {
  background: var(--gold);
  color: var(--dark);
  padding: 1.5rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  position: relative;
}

.chivo-quote::before {
  content: '"';
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: 1.5rem;
  left: 1rem;
  opacity: 0.15;
  font-family: 'Rye', serif;
}

.chivo-quote p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.chivo-quote span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  border-top: 4px solid var(--gold);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer .brand-name {
  font-size: 1.6rem;
}

.footer-tagline {
  color: var(--tan);
  font-size: 0.9rem;
}

.footer-copy {
  color: #6b5040;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid        { grid-template-columns: 1fr; text-align: center; }
  .about-badge-wrap  { margin-bottom: 1rem; }
  .stat-row          { justify-content: center; }
  .goat-cards        { grid-template-columns: 1fr; }
  .goat-card.featured { transform: none; }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid   { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .hero               { text-align: center; flex-direction: column; }
  .hero-cta-group     { justify-content: center; }
  .hero-art           { display: flex; }
  .hero-video         { width: 180px; height: 320px; }
  .video-frame        { transform: rotate(0deg); }
}

@media (max-width: 640px) {
  .nav-links         { display: none; }
  .nav-links.open    { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--brown); padding: 1rem; gap: 1rem; border-bottom: 3px solid var(--gold); }
  .hamburger         { display: block; }
  .why-grid          { grid-template-columns: 1fr; }
  .contact-form      { padding: 1.5rem; }
}

/* ============================================
   UTILITIES
   ============================================ */
.gold { color: var(--gold); }

/* Woodgrain divider */
.section + .section {
  position: relative;
}
