/*
Theme Name: Aunera Farm v5
Theme URI: https://aunerafarm.com/
Author: Aunera Farm
Author URI: https://aunerafarm.com/
Description: Custom WordPress theme shell for Aunera Farm.
Version: 5.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: aunera-farm-v5
*/

:root {
  --aunerafarm-primary: #0f2e23;
  --aunerafarm-primary-foreground: #f8faf9;
  --aunerafarm-gold: #d4af37;
  --aunerafarm-muted: #f4f5f4;
  --aunerafarm-card: #ffffff;
  --aunerafarm-border: #e5e7eb;
  --aunerafarm-forest-light: #1e4939;
}

body {
  color: #111827;
  background-color: #ffffff;
}

a {
  text-decoration: none;
}

.bg-primary {
  background-color: var(--aunerafarm-primary);
}

.text-primary-foreground {
  color: var(--aunerafarm-primary-foreground);
}

.text-gold {
  color: var(--aunerafarm-gold);
}

.bg-muted {
  background-color: var(--aunerafarm-muted);
}

.bg-card {
  background-color: var(--aunerafarm-card);
}

.border-border {
  border-color: var(--aunerafarm-border);
}

.border-forest-light {
  border-color: var(--aunerafarm-forest-light);
}

.bg-primary\/95 {
  background-color: rgb(15 46 35 / 95%);
}

.text-primary-foreground\/80 {
  color: rgb(248 250 249 / 80%);
}

.text-primary-foreground\/70 {
  color: rgb(248 250 249 / 70%);
}

.text-primary-foreground\/50 {
  color: rgb(248 250 249 / 50%);
}

.text-foreground {
  color: #111827;
}

.text-primary {
  color: var(--aunerafarm-primary);
}

.text-muted-foreground {
  color: #6b7280;
}

.bg-primary-foreground\/10 {
  background-color: rgb(248 250 249 / 10%);
}

.bg-primary\/10 {
  background-color: rgb(15 46 35 / 10%);
}

.border-primary-foreground\/10 {
  border-color: rgb(248 250 249 / 10%);
}

.hover\:bg-forest-light:hover {
  background-color: var(--aunerafarm-forest-light);
}

.hover\:text-primary-foreground:hover {
  color: var(--aunerafarm-primary-foreground);
}

.hover\:text-gold:hover {
  color: var(--aunerafarm-gold);
}

.font-display {
  font-family: "Poppins", "Inter", Arial, sans-serif;
}

.text-gradient-gold {
  background: linear-gradient(90deg, #f2d476 0%, #d4af37 50%, #b68f1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#primary-menu-desktop,
#primary-menu-mobile,
#footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

#primary-menu-desktop li a {
  color: rgb(248 250 249 / 80%);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

#primary-menu-desktop li.current-menu-item a,
#primary-menu-desktop li.current_page_item a,
#primary-menu-desktop li a:hover {
  color: var(--aunerafarm-gold);
}

#primary-menu-mobile li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--aunerafarm-primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

#primary-menu-mobile li.current-menu-item a,
#primary-menu-mobile li.current_page_item a {
  color: var(--aunerafarm-gold);
  background-color: var(--aunerafarm-forest-light);
}

#primary-menu-mobile li a:hover {
  color: var(--aunerafarm-gold);
  background-color: var(--aunerafarm-forest-light);
}

#footer-menu li a {
  font-size: 0.875rem;
  color: rgb(248 250 249 / 70%);
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#footer-menu li a:hover,
#footer-menu li.current-menu-item a,
#footer-menu li.current_page_item a {
  color: var(--aunerafarm-primary-foreground);
}

.fade-in-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-counter {
  display: inline-block;
  min-width: 2ch;
}

.aunerafarm-mobile-menu-panel {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.aunerafarm-mobile-menu-panel.is-open {
  max-height: 28rem;
  opacity: 1;
  visibility: visible;
}

body.admin-bar #aunerafarm-site-nav {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar #aunerafarm-site-nav {
    top: 46px;
  }
}
