/* ═══════════════════════════════════════════════════════════════════
     GLOBAL STYLES — LIVE POULTRY STORE
     Texas Farm Est. 2003 · NPIP Certified
     Complete responsive CSS with hamburger menu
═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
     CSS VARIABLES (THEME COLORS)
═══════════════════════════════════════════════════════════════════ */
:root {
  --forest: #2d4a26;
  --pine: #3a6b2f;
  --sage: #6b8c5c;
  --amber: #c8922a;
  --gold: #c8922a;
  --bark: #8b5e3c;
  --tobacco: #6b4c2a;
  --red: #c14432;
  --purple: #7b5ba6;
  --white: #ffffff;
  --cream: #f7f2e8;
  --parchment: #efe6d5;
  --straw: #e0d5b6;
  --charcoal: #2c2820;
  --mist: #6b6356;
  --ink: #1a1814;
  --fd: 'Playfair Display', serif;
  --fs: 'Source Serif 4', serif;
  --fn: 'DM Sans', sans-serif;
  --t: 0.2s;
  --ease: cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --sh-xs: 0 2px 6px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.08);
  --sh-sm: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  --sh-md: 0 12px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
  --sh-lg: 0 24px 48px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.08);
}

/* ═══════════════════════════════════════════════════════════════════
     RESET & BASE
═══════════════════════════════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fn);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════════
     TYPOGRAPHY
═══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fd);
  font-weight: 900;
  color: var(--forest);
}

a {
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

img {
  max-width: 100%;
  height: auto;
}

/* ═══════════════════════════════════════════════════════════════════
     BUTTONS
═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  font-weight: 700;
  transition: all var(--t) var(--ease);
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-size: 0.85rem;
  padding: 12px 24px;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--bark);
  transform: translateY(-2px);
}

.btn-forest {
  background: var(--forest);
  color: var(--white);
}

.btn-forest:hover {
  background: var(--pine);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--forest);
}

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--pine);
  border: 2px solid var(--pine);
}

.btn-ghost:hover {
  background: var(--pine);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════════
     ANNOUNCEMENT BAR
═══════════════════════════════════════════════════════════════════ */
.ann {
  background: var(--forest);
  color: rgba(247,242,232,0.9);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ann a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.ann a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════
     SITE HEADER & MAIN NAVIGATION
═══════════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}

/* Logo */
.logo-a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-name {
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--forest);
  line-height: 1.2;
}

.logo-name span {
  color: var(--amber);
}

.logo-tag {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

/* Desktop Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--t);
  padding: 8px 0;
  display: inline-block;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--amber);
  border-bottom: 2px solid var(--amber);
}

/* Right side header items */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
}

.nav-phone:hover {
  color: var(--amber);
}

/* Cart */
.cart-wrap {
  position: relative;
}

.cart-btn {
  background: var(--cream);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}

.cart-btn:hover {
  background: var(--straw);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Button (hidden on desktop) */
.ham-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.ham-btn span {
  width: 24px;
  height: 2px;
  background: var(--forest);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════
     BREADCRUMB
═══════════════════════════════════════════════════════════════════ */
.breadcrumb {
  background: var(--cream);
  padding: 12px 0;
  font-size: 0.75rem;
}

.breadcrumb a {
  color: var(--pine);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════════
     SHIPPING BAND
═══════════════════════════════════════════════════════════════════ */
.ship-band {
  background: var(--pine);
  padding: 32px 0;
  color: var(--white);
}

.ship-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.ship-cp h2 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.ship-cp p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.ship-bts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════
     NEWSLETTER SECTION
═══════════════════════════════════════════════════════════════════ */
.nl-sec {
  background: var(--cream);
  padding: 48px 0;
  text-align: center;
}

.nl-in {
  max-width: 500px;
  margin: 0 auto;
}

.nl-in h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.nl-in p {
  color: var(--mist);
  margin-bottom: 24px;
}

.nlf {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.nlf input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid var(--straw);
  border-radius: 50px;
  font-family: var(--fn);
  outline: none;
}

.nlf input:focus {
  border-color: var(--sage);
}

.nlf button {
  background: var(--forest);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t);
}

.nlf button:hover {
  background: var(--pine);
}

.nl-note {
  font-size: 0.7rem;
  margin-top: 16px;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════════
     FOOTER
═══════════════════════════════════════════════════════════════════ */
footer {
  background: var(--forest);
  color: rgba(247,242,232,0.7);
  padding: 48px 0 24px;
  margin-top: 0;
}

.fgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.fdesc {
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 16px 0;
  max-width: 250px;
}

.fph {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 16px;
}

.fsoc {
  display: flex;
  gap: 12px;
}

.fsb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: background var(--t);
}

.fsb:hover {
  background: var(--gold);
}

.fcol h4 {
  color: var(--white);
  font-family: var(--fd);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.fcol ul {
  list-style: none;
}

.fcol ul li {
  margin-bottom: 10px;
}

.fcol ul li a {
  color: rgba(247,242,232,0.7);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color var(--t);
}

.fcol ul li a:hover {
  color: var(--gold);
}

.fbot {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.7rem;
}

.fbdgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.fbdg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: rgba(247,242,232,0.5);
}

/* ═══════════════════════════════════════════════════════════════════
     UTILITY CLASSES
═══════════════════════════════════════════════════════════════════ */
.section {
  padding: 60px 0;
}

.sec-hdr {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.sh2 {
  font-family: var(--fd);
  font-size: 2rem;
  font-weight: 900;
  color: var(--forest);
  margin-bottom: 12px;
}

.slead {
  font-size: 0.95rem;
  color: var(--mist);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastFade {
  0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
  10% { opacity: 1; transform: translateX(-50%) translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Toast notification */
.toast-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 1000;
  box-shadow: var(--sh-lg);
  animation: toastFade 3s ease forwards;
}

/* ═══════════════════════════════════════════════════════════════════
     RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .main-nav ul {
    gap: 18px;
  }
  
  .main-nav ul li a {
    font-size: 0.85rem;
  }
  
  .nav-phone {
    font-size: 0.75rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Show hamburger button */
  .ham-btn {
    display: flex;
  }
  
  /* Mobile navigation (slide from right) */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--sh-lg);
    padding: 80px 24px 24px;
    transition: right 0.3s ease-in-out;
    z-index: 99;
    overflow-y: auto;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav ul li {
    border-bottom: 1px solid var(--straw);
  }
  
  .main-nav ul li a {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 0;
    display: block;
    width: 100%;
  }
  
  .main-nav ul li a:hover,
  .main-nav ul li a.active {
    border-bottom: none;
    color: var(--gold);
  }
  
  /* Hide phone number in header on mobile (visible in mobile menu if needed) */
  .nav-phone {
    display: none;
  }
  
  /* Adjust logo size */
  .logo-img {
    width: 40px;
    height: 40px;
  }
  
  .logo-name {
    font-size: 1rem;
  }
  
  .logo-tag {
    font-size: 0.5rem;
  }
  
  .nav-right {
    gap: 10px;
  }
  
  .cart-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .btn-forest {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
  
  .container {
    padding: 0 16px;
  }
  
  /* Footer mobile */
  .fgrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .fdesc {
    max-width: 100%;
  }
  
  /* Shipping band mobile */
  .ship-in {
    flex-direction: column;
    text-align: center;
  }
  
  .ship-cp h2 {
    font-size: 1.1rem;
  }
}

/* Hamburger animation when open */
.ham-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ham-btn.active span:nth-child(2) {
  opacity: 0;
}

.ham-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Small mobile */
@media (max-width: 480px) {
  .main-nav {
    width: 85%;
  }
  
  .logo-copy {
    display: none;
  }
  
  .logo-img {
    width: 36px;
    height: 36px;
  }
  
  .sh2 {
    font-size: 1.5rem;
  }
}