/*
Theme Name: RAAB Enterprises
Theme URI: https://raabpoultry.com
Author: RAAB Enterprises
Description: Single-page marketing theme for RAAB Enterprises, live poultry supplier since 1983. Phone numbers, contact names, address and the grower video are editable under Appearance > Customize > RAAB Site Content.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raab
*/

:root {
  --green: #1e3a1e;
  --green-mid: #2e5c2e;
  --gold: #c8922a;
  --gold-light: #e8b84b;
  --cream: #f5f0e6;
  --warm-white: #faf7f2;
  --rust: #8b3a1c;
  --dark: #1a1208;
  --text: #2c2010;
  --text-muted: #6b5c42;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
}

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #fff; padding: 0.8rem 1.4rem;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
}

/* NAV */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(30,58,30,0.97);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  border-bottom: 2px solid var(--gold);
}
.nav-brand {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-brand span { color: #fff; font-weight: 400; font-style: italic; font-size: 0.9rem; display: block; letter-spacing: 0.12em; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

/* Hamburger, hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.45);
  width: 46px; height: 44px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,38,18,0.88) 0%, rgba(20,38,18,0.65) 55%, rgba(20,38,18,0.25) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 6%;
  max-width: 750px;
  animation: fadeUp 1s ease-out both;
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}
.hero-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 600; margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: #fff; line-height: 1.1; margin-bottom: 1.2rem;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero-motto {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--gold-light); margin-bottom: 1.2rem; letter-spacing: 0.01em;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.82); line-height: 1.7;
  max-width: 520px; margin-bottom: 2.4rem; font-weight: 300;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: #fff; text-decoration: none;
  padding: 0.95rem 2rem; min-height: 48px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.1s;
  font-family: 'Barlow', sans-serif;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff; text-decoration: none;
  padding: 0.95rem 2rem; min-height: 48px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.55); cursor: pointer;
  transition: border-color 0.2s, color 0.2s; font-family: 'Barlow', sans-serif;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* STATS */
.stats-bar {
  background: var(--green); padding: 1.8rem 6%;
  display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
  border-bottom: 3px solid var(--gold);
}
.stat { text-align: center; color: #fff; }
.stat-num {
  font-family: 'Libre Baskerville', serif; font-size: 2rem;
  color: var(--gold-light); display: block; line-height: 1; margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); font-weight: 500;
}

/* SECTIONS */
section { padding: 6rem 6%; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.7rem;
}
h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  color: var(--green); line-height: 1.2; margin-bottom: 1.2rem;
}
.section-intro {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 620px; line-height: 1.8; font-weight: 300;
}

/* ABOUT */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; display: block; }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: #fff; padding: 1.2rem 1.6rem;
  font-family: 'Libre Baskerville', serif; font-size: 0.95rem;
  text-align: center; line-height: 1.4;
}
.about-img-badge strong { display: block; font-size: 1.8rem; }
.about-text p {
  font-size: 1.02rem; line-height: 1.85; color: var(--text-muted);
  margin-bottom: 1.2rem; font-weight: 300;
}
.about-text p strong { color: var(--text); font-weight: 600; }
.checkmarks { margin-top: 1.8rem; }
.check-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  margin-bottom: 0.8rem; font-size: 0.95rem; color: var(--text); font-weight: 400;
}
.check-icon {
  width: 20px; height: 20px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.check-icon svg { width: 11px; height: 11px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* BIRDS */
.products { background: var(--cream); }
.products-header { max-width: 1200px; margin: 0 auto 3.5rem; }
.birds-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
.bird-card {
  background: #fff; overflow: hidden; border-bottom: 3px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; cursor: default;
}
.bird-card:hover {
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.bird-card-img { height: 220px; overflow: hidden; }
.bird-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.bird-card:hover .bird-card-img img { transform: scale(1.05); }
.bird-card-body { padding: 1.3rem 1.5rem 1.5rem; }
.bird-tag {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.5rem;
}
.bird-card-body h3 {
  font-family: 'Libre Baskerville', serif; font-size: 1.3rem;
  color: var(--green); margin-bottom: 0.6rem;
}
.bird-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

/* PRODUCT LIST */
.product-list-section { background: var(--green); }
.product-list-section h2 { color: #fff; }
.product-list-section .section-label { color: var(--gold-light); }
.product-list-section .section-intro { color: rgba(255,255,255,0.72); }
.product-columns {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem; max-width: 1200px; margin: 2.5rem auto 0;
  list-style: none;
}
.product-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 1rem; background: rgba(255,255,255,0.07);
  border-left: 3px solid var(--gold); font-size: 0.92rem;
  color: rgba(255,255,255,0.88); font-weight: 400; letter-spacing: 0.02em;
  transition: background 0.2s;
}
.product-item:hover { background: rgba(255,255,255,0.13); }
.product-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* GROWOUT */
.growout-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.growout-img img { width: 100%; height: 460px; object-fit: cover; object-position: center; display: block; }
.growout-content p {
  font-size: 1.02rem; line-height: 1.85; color: var(--text-muted);
  margin-bottom: 1.2rem; font-weight: 300;
}
.growout-highlight {
  background: var(--cream); border-left: 4px solid var(--gold);
  padding: 1.3rem 1.5rem; margin: 2rem 0; font-size: 1.05rem;
  font-style: italic; color: var(--green);
  font-family: 'Libre Baskerville', serif; line-height: 1.6;
}
.cta-phone {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 1rem 1.8rem; min-height: 56px;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.04em;
  margin-top: 1rem; transition: background 0.2s;
}
.cta-phone:hover { background: var(--green-mid); }
.cta-phone svg { width: 18px; height: 18px; stroke: var(--gold-light); fill: none; stroke-width: 2; flex-shrink: 0; }
.cta-phone small {
  display: block; font-size: 0.72rem; color: rgba(255,255,255,0.65);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; margin-top: 1px;
}

/* CONTACT */
.contact-section { background: var(--cream); text-align: center; padding: 5rem 6%; }
.contact-section h2 { margin-bottom: 0.6rem; }
.contact-section .section-intro { margin: 0 auto 3rem; text-align: center; }
.contact-cards {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
  max-width: 920px; margin: 0 auto;
}
.contact-card {
  background: #fff; flex: 1; min-width: 280px; max-width: 420px;
  padding: 2.5rem 2rem; border-top: 4px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07); text-align: left;
}
.contact-card-icon {
  width: 44px; height: 44px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem;
}
.contact-card-icon svg { width: 20px; height: 20px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; }
.contact-card h3 {
  font-family: 'Libre Baskerville', serif; font-size: 1.25rem;
  color: var(--green); margin-bottom: 0.5rem;
}
.contact-card p {
  font-size: 0.92rem; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 1.5rem; font-weight: 300;
}
/* Tap targets: min 48px on every phone link */
.phone-link {
  display: flex; align-items: center; min-height: 48px;
  font-size: 1.5rem; font-family: 'Libre Baskerville', serif;
  color: var(--green); text-decoration: none; font-weight: 700;
  margin-bottom: 0.2rem; letter-spacing: 0.02em; transition: color 0.2s;
}
.phone-link:hover { color: var(--gold); }
.contact-role { font-size: 0.82rem; color: var(--text-muted); }
.contact-secondary { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.75rem; list-style: none; }
.contact-secondary li { list-style: none; }
.contact-secondary a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--green); text-decoration: none; font-weight: 500;
}
.contact-secondary a:hover { color: var(--gold); text-decoration: underline; }
.contact-address { font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; font-style: normal; }

/* DELIVERY */
.delivery-banner { background: var(--gold); padding: 2.2rem 6%; text-align: center; }
.delivery-banner p { font-size: 1.05rem; color: #fff; font-weight: 400; letter-spacing: 0.02em; }
.delivery-banner strong { font-weight: 700; }
.delivery-banner a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* FOOTER */
footer.site-footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 3rem 6% 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  font-family: 'Libre Baskerville', serif; font-size: 1.2rem;
  color: var(--gold-light); margin-bottom: 0.8rem;
}
.footer-about { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.5); font-weight: 300; }
.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1rem; font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.footer-col li a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-col li a:hover { color: var(--gold-light); }
/* Footer phone links need the same 44px tap target as the rest of the site. */
.footer-col li a[href^="tel:"] {
  display: inline-flex; align-items: center; min-height: 44px;
}
.footer-bottom { font-size: 0.8rem; color: rgba(255,255,255,0.35); text-align: center; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid, .growout-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-badge { right: 0; bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { gap: 2rem; }
  section { padding: 4rem 5%; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(30,58,30,0.99);
    flex-direction: column; gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 2px solid var(--gold);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex; align-items: center; min-height: 52px;
    padding: 0 6%; font-size: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; transform: none; }
  .hero-content { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
