/*
Theme Name: Hungry Ducks LLC
Theme URI: https://hungryducks.us
Author: Hungry Ducks LLC
Description: Fresh organic eggs from cage-free chickens and ducks in Princess Anne, MD. Converted from GoDaddy Airo template.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hungry-ducks-llc
Tags: farm, organic, green, one-page, custom-menu, featured-images
*/

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --dark-green:    #0d4a2e;
  --mid-green:     #1a6b42;
  --light-green:   #e8f0eb;
  --accent-green:  #b8d4c0;
  --red:           #cc0000;
  --red-dark:      #aa0000;
  --gold:          #b8860b;
  --cream:         #f5f0e8;
  --bg-light:      #f0f0f0;
  --dark-bg:       #1a1a1a;
  --text-dark:     #1a1a1a;
  --text-body:     #444444;
  --text-muted:    #666666;
  --border-light:  rgba(255,255,255,0.2);
  --font-serif:    Georgia, 'Times New Roman', serif;
  --font-sans:     Arial, Helvetica, sans-serif;
  --container:     1100px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: #fff;
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ============================================================
   Header
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.site-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}
.site-logo .brand-name {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* Desktop nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.primary-nav a {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.primary-nav a:hover { opacity: 1; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0.5rem;
}
.mobile-toggle svg { width: 24px; height: 24px; display: block; }

/* Mobile menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  max-width: 1280px;
  margin-inline: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 0;
  opacity: 0.9;
}
.mobile-nav a:hover { opacity: 1; }

@media (max-width: 767px) {
  .primary-nav { display: none; }
  .mobile-toggle { display: block; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--dark-green);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,74,46,0.72);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 800px;
}
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-content p {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.btn-order {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background 0.2s;
}
.btn-order:hover { background: var(--red-dark); }

/* ============================================================
   Pricing Section
   ============================================================ */
.section-pricing {
  background: var(--cream);
  padding: 5rem 1.5rem;
}
.section-pricing h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: bold;
  color: var(--red);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
}
.pricing-layout {
  display: flex;
  flex-direction: column-reverse;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .pricing-layout { flex-direction: row-reverse; align-items: center; }
  .pricing-cards  { flex: 0 0 55%; }
  .pricing-image  { flex: 0 0 45%; }
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}
.price-card {
  background: #fff;
  border-left: 5px solid var(--dark-green);
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}
.price-card .size {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: bold;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-card .amount {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1;
}
.price-card .unit {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.pricing-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  margin: 0 auto;
}

/* ============================================================
   Benefits Strip
   ============================================================ */
.section-benefits {
  background: var(--bg-light);
  padding: 3.5rem 1.5rem;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: var(--container);
  margin-inline: auto;
}
.benefit-item {
  border-left: 5px solid var(--dark-green);
  padding: 0.5rem 0 0.5rem 1.25rem;
}
.benefit-item p {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--red);
  text-transform: uppercase;
  line-height: 1.5;
}

/* ============================================================
   Gallery
   ============================================================ */
.section-gallery {
  background: var(--dark-bg);
  padding: 4rem 1.5rem;
}
.section-gallery h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-gallery .subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
  margin-bottom: 2.5rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  padding: 1rem 0.75rem 0.6rem;
}
.gallery-caption span {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
}

/* ============================================================
   How to Order
   ============================================================ */
.section-order {
  background: var(--light-green);
  padding: 5rem 1.5rem;
}
.order-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.section-order h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: bold;
  color: var(--dark-green);
  margin-bottom: 1.5rem;
}
.order-card {
  background: #fff;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.order-phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.order-phone-row svg {
  color: var(--dark-green);
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.order-phone-row p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-dark);
}
.order-phone-row a {
  color: var(--dark-green);
  font-weight: bold;
}
.order-closed {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #444;
}
.order-note {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   Footer
   ============================================================ */
#site-footer {
  background: var(--dark-green);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.footer-col .icon-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.footer-col .icon-row svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px; height: 16px;
}
.footer-col address,
.footer-col p,
.footer-col a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.footer-col a:hover { color: #fff; }
.footer-col .hours-bold { font-weight: bold; color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p,
.footer-bottom a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Admin bar / generic page
   ============================================================ */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }

.page-hero {
  background: var(--dark-green);
  padding: 48px 0;
}
.page-hero h1 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: bold;
}
.page-content-wrap {
  padding: 60px 0;
  max-width: 800px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
}
.page-content-wrap h2, .page-content-wrap h3 {
  font-family: var(--font-serif);
  color: var(--dark-green);
  margin: 1.5em 0 0.5em;
}
