/* =============================================
   Mias Çiftliği – Master Stylesheet (React)
   ============================================= */



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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--icon-bar-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background-color: var(--cream-light);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* ─── Typography ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--text-dark);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  margin-bottom: var(--space-md);
  line-height: var(--lh-relaxed);
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ─── Section Base ─── */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-section) 0;
  overflow: hidden;
}

.section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section__inner--reversed {
  direction: rtl;
}

.section__inner--reversed>* {
  direction: ltr;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  letter-spacing: 0.02em;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.btn:hover::before {
  opacity: 1;
}

.btn--primary {
  background: var(--olive);
  color: var(--white);
  box-shadow: var(--shadow-md), 0 4px 15px rgba(85, 107, 47, 0.3);
}

.btn--primary:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 8px 25px rgba(85, 107, 47, 0.35);
}

.btn--gold {
  background: linear-gradient(135deg, var(--honey-dark), var(--honey));
  color: var(--white);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(218, 165, 32, 0.3);
}

.btn--white {
  background: var(--white);
  color: var(--olive-dark);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ─── Section Content ─── */
.section__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.section__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  width: fit-content;
}

.section__title {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
}

.section__text {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  opacity: 0.9;
}

.section__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.section__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-body);
}

.section__feature::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.2);
  font-size: var(--fs-xs);
  flex-shrink: 0;
}

.section__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

::selection {
  background: var(--olive-light);
  color: var(--white);
}


/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  transition: all var(--duration-normal) var(--ease-out);
  background: rgba(255, 248, 220, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 var(--space-xl);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.nav--scrolled {
  background: rgba(255, 248, 220, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: var(--olive-dark);
  z-index: var(--z-nav);
}

.nav__logo-icon {
  font-size: 1.8rem;
}

.nav__logo-text span {
  color: var(--olive-light);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  position: relative;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  padding: var(--space-sm) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--olive);
  border-radius: var(--radius-pill);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--olive-dark);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--shop {
  background: var(--olive);
  color: var(--white) !important;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
}

.nav__link--shop::after {
  display: none;
}

.nav__link--shop:hover,
.nav__link--shop.nav__link--active {
  background: var(--olive-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-circle);
  background: rgba(85, 107, 47, 0.1);
  color: var(--olive-dark);
  font-size: 1.25rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__cart:hover {
  background: var(--olive);
  color: var(--white);
  transform: scale(1.05);
}

.nav__cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--error);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  opacity: 0;
  transform: scale(0);
  transition: all var(--duration-fast) var(--ease-bounce);
}

.nav__cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

.nav__admin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  font-size: 1rem;
  color: var(--text-muted, #888);
  opacity: 0.5;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.nav__admin-link:hover {
  opacity: 1;
  background: rgba(85, 107, 47, 0.08);
  color: var(--olive-dark);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: var(--z-nav);
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: var(--radius-pill);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Icon Bar ─── */
.icon-bar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: calc(var(--z-nav) - 1);
  height: var(--icon-bar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0 var(--space-xl);
  background: rgba(255, 248, 220, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.icon-bar.visible {
  transform: translateY(0);
  opacity: 1;
}

.icon-bar__btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  background: transparent;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.icon-bar__btn:hover,
.icon-bar__btn--active {
  background: var(--olive);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.icon-bar__emoji {
  font-size: 1.1rem;
}


/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-zeytin);
  overflow: hidden;
  padding-top: 120px; /* Menünün arkasında kalmaması için mesafe */
  padding-bottom: 80px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(107, 142, 35, 0.3), transparent 70%),
    radial-gradient(ellipse at 80% 50%, rgba(218, 165, 32, 0.15), transparent 70%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-circle);
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: var(--z-content);
  max-width: 800px;
  padding: 0 var(--space-xl);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xl);
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero__title span {
  display: block;
  background: linear-gradient(135deg, var(--honey-pale), var(--honey));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--fs-h3);
  color: rgba(255, 255, 255, 0.85);
  font-weight: var(--fw-regular);
  margin-bottom: var(--space-2xl);
  font-family: var(--font-body);
  line-height: var(--lh-normal);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
  animation: bounce-subtle 2s infinite;
}

.hero__scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
}

@keyframes bounce-subtle {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}


/* ═══ SECTION THEMES ═══ */
.section--zeytin {
  background: var(--bg-zeytin);
  color: var(--white);
}

.section--zeytin .section__title {
  color: var(--white);
}

.section--zeytin .section__feature::before {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section--zeytinyagi {
  background: var(--bg-zeytinyagi);
  color: var(--white);
}

.section--zeytinyagi .section__title {
  color: var(--white);
}

.section--zeytinyagi .section__feature::before {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section--bal {
  background: var(--bg-bal);
  color: var(--text-dark);
}

.section--bal .section__feature::before {
  background: rgba(139, 115, 85, 0.15);
  color: var(--text-dark);
}

.section--yumurta {
  background: var(--bg-yumurta);
  color: var(--text-dark);
}

.section--yumurta .section__feature::before {
  background: rgba(85, 107, 47, 0.15);
  color: var(--olive-dark);
}

.section--kucukbas {
  background: var(--bg-kucukbas);
  color: var(--white);
}

.section--kucukbas .section__title {
  color: var(--white);
}

.section--kucukbas .section__feature::before {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}


/* ═══ ANIMATIONS ═══ */

/* ─── Olive Tree ─── */
.anim-olive-tree {
  position: relative;
  width: 100%;
  height: 630px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.olive-tree__img {
  width: 630px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(44, 36, 24, 0.15));
}

.olive-tree__trunk-layer {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /* clip-path: inset(55% 0 0 0);*/
}

.olive-tree__canopy-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  /*clip-path: inset(0 0 50% 0);*/
  transform-origin: 50% 100%;
  transform:
    rotate(calc(var(--canopy-rotate, 0) * 1deg)) translateX(calc(var(--canopy-shift, 0) * 1px));
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.olive-tree__drops {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

.olive-drop {
  position: absolute;
  width: var(--olive-size, 10px);
  height: calc(var(--olive-size, 10px) * 1.2);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  pointer-events: none;
  filter: blur(0.3px);
  will-change: transform, opacity;
  background: var(--olive-color, radial-gradient(ellipse at 35% 30%, #8FA85A, #556B2F));
  box-shadow: inset -1px -1px 3px rgba(0, 0, 0, 0.2);
}

.olive-drop.falling {
  animation: olive-gravity-fall var(--fall-duration, 1.8s) cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

@keyframes olive-gravity-fall {
  0% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0deg);
  }

  10% {
    opacity: 1;
    transform: translateY(calc(var(--fall-travel, 250px) * 0.02)) translateX(calc(var(--fall-drift, 15px) * 0.2)) rotate(calc(var(--fall-spin, 90deg) * 0.05));
  }

  40% {
    opacity: 1;
    transform: translateY(calc(var(--fall-travel, 250px) * 0.2)) translateX(calc(var(--fall-drift, 15px) * 0.6)) rotate(calc(var(--fall-spin, 90deg) * 0.35));
  }

  70% {
    opacity: 0.9;
    transform: translateY(calc(var(--fall-travel, 250px) * 0.6)) translateX(calc(var(--fall-drift, 15px) * 0.85)) rotate(calc(var(--fall-spin, 90deg) * 0.7));
  }

  100% {
    opacity: 0;
    transform: translateY(var(--fall-travel, 250px)) translateX(var(--fall-drift, 15px)) rotate(var(--fall-spin, 90deg));
  }
}

/* ─── Bottle ─── */
.anim-bottle {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oil-bottle {
  position: relative;
  transform-origin: 70% 80%;
  transition: transform 0.6s var(--ease-out);
  z-index: 2;
}

.oil-bottle__img {
  width: 280px;
  height: auto;
  display: block;
  transition: filter 0.3s ease;
  filter: drop-shadow(0 8px 24px rgba(44, 36, 24, 0.2));
}

.oil-bottle:hover .oil-bottle__img {
  filter: brightness(1.05) contrast(1.05);
}

.oil-drops {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.oil-drop-particle {
  position: absolute;
  width: var(--drop-size, 8px);
  height: var(--drop-size, 8px);
  background: radial-gradient(circle at 35% 35%, #DAA520, #B8960B);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  pointer-events: none;
  filter: blur(0.5px);
  box-shadow: 0 0 6px rgba(218, 165, 32, 0.4);
}

.oil-drop-particle.falling {
  animation: oil-drop-fall var(--drop-duration, 1.2s) var(--ease-out) forwards;
}

@keyframes oil-drop-fall {
  0% {
    opacity: 0.9;
    transform: translateY(0) scale(1) rotate(0deg);
  }

  15% {
    opacity: 1;
    transform: translateY(15px) scale(1.1) rotate(5deg);
  }

  60% {
    opacity: 0.85;
    transform: translateY(calc(var(--drop-travel, 180px) * 0.6)) scale(0.9) rotate(-3deg);
  }

  85% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translateY(var(--drop-travel, 180px)) scale(0.5) rotate(8deg);
  }
}

.oil-stream {
  position: absolute;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, rgba(218, 165, 32, 0.9) 0%, rgba(184, 150, 11, 0.7) 40%, rgba(218, 165, 32, 0.4) 100%);
  border-radius: 2px;
  opacity: 0;
  transform-origin: top center;
  transition: height 0.8s var(--ease-out), opacity 0.4s ease;
  z-index: 1;
  filter: blur(0.3px);
}

.oil-stream.active {
  opacity: 1;
}

.oil-pool {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-70%);
  width: 0;
  height: 0;
  background: radial-gradient(ellipse, rgba(218, 165, 32, 0.5) 0%, rgba(184, 150, 11, 0.3) 40%, rgba(218, 165, 32, 0.1) 70%, transparent 100%);
  border-radius: 50%;
  transition: all 1s var(--ease-out);
  z-index: 0;
}

.oil-pool.active {
  width: 80px;
  height: 16px;
}

/* ─── Beehive ─── */
.anim-beehive {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beehive {
  position: relative;
}

.beehive__body {
  width: 120px;
  height: 140px;
  position: relative;
}

.beehive__ring {
  width: 100%;
  height: 28px;
  background: linear-gradient(180deg, #D2A24C 0%, #B8860B 50%, #8B6914 100%);
  border-radius: 8px;
  margin-bottom: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.beehive__ring:first-child {
  width: 70%;
  margin: 0 auto 2px;
  border-radius: 12px 12px 8px 8px;
}

.beehive__ring:last-child {
  width: 80%;
  margin: 0 auto;
  border-radius: 8px 8px 12px 12px;
}

.beehive__entrance {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 12px;
  background: #3D2A0F;
  border-radius: 50% 50% 0 0;
}

.bee {
  position: absolute;
  width: 18px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bee.active {
  opacity: 1;
  animation: bee-fly 3s ease-in-out infinite;
}

.bee__body {
  width: 14px;
  height: 10px;
  background: repeating-linear-gradient(90deg, #FFD700 0px, #FFD700 3px, #1A1A00 3px, #1A1A00 6px);
  border-radius: 50%;
  position: relative;
}

.bee__wing {
  position: absolute;
  top: -5px;
  width: 8px;
  height: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: wing-flap 0.1s ease-in-out infinite alternate;
}

.bee__wing--left {
  left: 0;
}

.bee__wing--right {
  right: 0;
}

@keyframes wing-flap {
  from {
    transform: rotate(-15deg) scaleY(1);
  }

  to {
    transform: rotate(15deg) scaleY(0.6);
  }
}

@keyframes bee-fly {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(var(--bee-x1, 30px), var(--bee-y1, -20px)) rotate(5deg);
  }

  50% {
    transform: translate(var(--bee-x2, -20px), var(--bee-y2, -40px)) rotate(-3deg);
  }

  75% {
    transform: translate(var(--bee-x3, 15px), var(--bee-y3, -15px)) rotate(2deg);
  }
}

/* ─── Eggs ─── */
.anim-eggs {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  padding-bottom: 40px;
}

.egg {
  width: 50px;
  height: 65px;
  background: linear-gradient(180deg, #FFF8E7 0%, #F5E6C8 40%, #EDD9B3 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.05), var(--shadow-sm);
  position: relative;
  transform-origin: bottom center;
}

.egg.bouncing {
  animation: egg-bounce var(--bounce-speed, 1s) var(--ease-bounce) infinite;
}

.egg:nth-child(1) {
  animation-delay: 0s;
}

.egg:nth-child(2) {
  animation-delay: 0.15s;
}

.egg:nth-child(3) {
  animation-delay: 0.3s;
}

.egg:nth-child(4) {
  animation-delay: 0.45s;
}

.egg:nth-child(5) {
  animation-delay: 0.6s;
}

.egg__spot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(139, 115, 85, 0.15);
  border-radius: 50%;
}

@keyframes egg-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(calc(var(--bounce-height, -40px)));
  }
}

/* ─── Livestock ─── */
.anim-livestock {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 30px;
  padding-bottom: 40px;
}

.sheep {
  position: relative;
  transform-origin: bottom center;
}

.sheep__body {
  width: 70px;
  height: 50px;
  background: radial-gradient(ellipse, #F5F5F0 0%, #E8E4DC 60%, #D5D0C8 100%);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sheep__head {
  position: absolute;
  left: -15px;
  top: 5px;
  width: 30px;
  height: 25px;
  background: linear-gradient(180deg, #3D3028 0%, #2A201A 100%);
  border-radius: 50% 50% 40% 40%;
}

.sheep__ear {
  position: absolute;
  top: 2px;
  width: 10px;
  height: 8px;
  background: #2A201A;
  border-radius: 50%;
}

.sheep__ear--left {
  left: -2px;
  transform: rotate(-20deg);
}

.sheep__ear--right {
  right: -2px;
  transform: rotate(20deg);
}

.sheep__eye {
  position: absolute;
  top: 10px;
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
}

.sheep__eye--left {
  left: 8px;
}

.sheep__eye--right {
  right: 8px;
}

.sheep__legs {
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  margin-top: -3px;
}

.sheep__leg {
  width: 6px;
  height: 25px;
  background: #3D3028;
  border-radius: 0 0 3px 3px;
}

.sheep.hopping {
  animation: sheep-hop var(--hop-speed, 1.2s) var(--ease-bounce) infinite;
}

.sheep:nth-child(odd) {
  animation-delay: 0s;
}

.sheep:nth-child(even) {
  animation-delay: 0.3s;
}

.sheep--goat .sheep__body {
  background: radial-gradient(ellipse, #C4A882 0%, #A08060 60%, #8B6B4A 100%);
}

.sheep--goat .sheep__head {
  background: linear-gradient(180deg, #8B6B4A 0%, #6B4B2A 100%);
}

.sheep--goat .sheep__horn {
  position: absolute;
  top: -8px;
  width: 4px;
  height: 14px;
  background: #D2B48C;
  border-radius: 2px;
}

.sheep--goat .sheep__horn--left {
  left: 6px;
  transform: rotate(-15deg);
}

.sheep--goat .sheep__horn--right {
  right: 6px;
  transform: rotate(15deg);
}

@keyframes sheep-hop {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  30% {
    transform: translateY(calc(var(--hop-height, -25px))) rotate(-3deg);
  }

  50% {
    transform: translateY(calc(var(--hop-height, -25px) * 0.8)) rotate(2deg);
  }

  70% {
    transform: translateY(-5px) rotate(-1deg);
  }
}


/* ═══ SHOP ═══ */
.shop {
  background: var(--cream-light);
  padding: var(--space-section) 0;
  min-height: auto;
}

.shop__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.shop__title {
  font-size: var(--fs-h1);
  color: var(--olive-dark);
  margin-bottom: var(--space-md);
}

.shop__subtitle {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.shop__filters {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  padding: 0 var(--space-md);
}

.shop__filter {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.shop__filter:hover {
  border-color: var(--olive-light);
  color: var(--olive-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.shop__filter--active {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

.shop__filter--active:hover {
  background: var(--olive-dark);
  color: var(--white);
  border-color: var(--olive-dark);
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--cream);
}

.product-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: var(--olive);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  font-size: var(--fs-xs);
  color: var(--olive-light);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.product-card__desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-md);
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  color: var(--olive-dark);
}

.product-card__price small {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-regular);
  font-family: var(--font-body);
}

.product-card__add-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: var(--olive);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  transition: all var(--duration-fast) var(--ease-out);
}

.product-card__add-btn:hover {
  background: var(--olive-dark);
  transform: scale(1.05);
}

.product-card__add-btn.added {
  background: var(--success);
}

/* Cart Sidebar */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.cart__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--text-dark);
}

.cart__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.cart__close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.cart__items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md) var(--space-xl);
}

.cart__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  gap: var(--space-md);
}

.cart__empty-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.cart-item__image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}

.cart-item__info {
  flex: 1;
}

.cart-item__name {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.cart-item__price {
  font-size: var(--fs-small);
  color: var(--olive-dark);
  font-weight: var(--fw-semibold);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  background: var(--cream);
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: background var(--duration-fast) var(--ease-out);
}

.cart-item__qty-btn:hover {
  background: var(--olive);
  color: var(--white);
}

.cart-item__qty {
  font-weight: var(--fw-semibold);
  min-width: 20px;
  text-align: center;
  font-size: var(--fs-small);
}

.cart-item__remove {
  margin-left: auto;
  color: var(--text-light);
  font-size: 1.1rem;
  transition: color var(--duration-fast);
}

.cart-item__remove:hover {
  color: var(--error);
}

.cart__footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border);
  background: var(--cream-light);
}

.cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.cart__total-label {
  font-size: var(--fs-body);
  color: var(--text-body);
}

.cart__total-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: var(--olive-dark);
}

.cart__checkout-btn {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--olive);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  text-align: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.cart__checkout-btn:hover {
  background: var(--olive-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Toast */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  padding: var(--space-md) var(--space-xl);
  background: var(--olive-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-toast);
  transform: translateY(calc(100% + var(--space-xl)));
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-bounce);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}


/* ═══ FARM ═══ */
.farm {
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream-warm) 100%);
  padding: var(--space-section) 0;
  min-height: auto;
}

.farm__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  padding: 0 var(--space-xl);
}

.farm__title {
  font-size: var(--fs-h1);
  color: var(--olive-dark);
  margin-bottom: var(--space-md);
}

.farm__subtitle {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
}

.farm__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.employee-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.employee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive-light), var(--honey));
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

.employee-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.employee-card:hover::before {
  transform: scaleX(1);
}

.employee-card__avatar {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-circle);
  overflow: hidden;
  margin: 0 auto var(--space-lg);
  border: 4px solid var(--cream);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.employee-card:hover .employee-card__avatar {
  transform: scale(1.08);
  border-color: var(--olive-light);
}

.employee-card__emoji {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.employee-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.employee-card__role {
  font-size: var(--fs-small);
  color: var(--olive);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: rgba(85, 107, 47, 0.08);
  border-radius: var(--radius-pill);
  display: inline-block;
}

.employee-card__desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

.employee-card__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.employee-card__stat {
  text-align: center;
}

.employee-card__stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--olive-dark);
}

.employee-card__stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}


/* ═══ CONTACT ═══ */
.contact {
  background: var(--olive-dark);
  color: var(--white);
  padding: var(--space-section) 0;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(107, 142, 35, 0.2), transparent 70%);
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact__title {
  font-size: var(--fs-h1);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.contact__subtitle {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-relaxed);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact__detail-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact__detail-content h4 {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.contact__detail-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
  margin: 0;
}

.contact__form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group__label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.8);
}

.form-group__input,
.form-group__textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--fs-body);
  transition: all var(--duration-fast) var(--ease-out);
}

.form-group__input::placeholder,
.form-group__textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group__input:focus,
.form-group__textarea:focus {
  border-color: var(--olive-light);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.2);
}

.form-group__textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group__error {
  font-size: var(--fs-xs);
  color: #FF6B6B;
  min-height: 1.2em;
  opacity: 0;
  transform: translateY(-5px);
  transition: all var(--duration-fast) var(--ease-out);
}

.form-group--error .form-group__input,
.form-group--error .form-group__textarea {
  border-color: #FF6B6B;
}

.form-group--error .form-group__error {
  opacity: 1;
  transform: translateY(0);
}

.contact__submit {
  padding: var(--space-md) var(--space-2xl);
  background: linear-gradient(135deg, var(--olive-light), var(--olive));
  color: var(--white);
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  transition: all var(--duration-fast) var(--ease-out);
  align-self: flex-start;
}

.contact__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 142, 35, 0.4);
}

.contact__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}


/* ═══ FOOTER ═══ */
.footer {
  background: #1A2A10;
  padding: var(--space-2xl) 0;
  text-align: center;
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer__logo span {
  color: var(--olive-light);
}

.footer__text {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-small);
  margin: 0;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.footer__link {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
  transition: color var(--duration-fast);
}

.footer__link:hover {
  color: var(--olive-light);
}


/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .section__inner--reversed {
    direction: ltr;
  }

  .section__visual {
    min-height: 300px;
    order: -1;
  }

  .section__content {
    align-items: center;
  }

  .section__features {
    align-items: center;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact__info {
    text-align: center;
    align-items: center;
  }

  .contact__submit {
    align-self: center;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --icon-bar-height: 48px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 248, 220, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-normal) var(--ease-out);
    z-index: calc(var(--z-nav) - 1);
  }

  .nav__menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu .nav__link {
    font-size: var(--fs-h3);
  }

  .icon-bar {
    gap: var(--space-xs);
    padding: 0 var(--space-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .icon-bar::-webkit-scrollbar {
    display: none;
  }

  .icon-bar__btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--fs-xs);
  }

  .section {
    padding: var(--space-3xl) 0;
    min-height: auto;
  }

  .section__inner {
    padding: 0 var(--space-md);
  }

  .hero__content {
    padding: 0 var(--space-md);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .shop__grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md);
    padding: 0 var(--space-md);
  }

  .shop__filters {
    gap: var(--space-xs);
  }

  .shop__filter {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--fs-xs);
  }

  .farm__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
    padding: 0 var(--space-md);
  }

  .cart-sidebar {
    width: 100%;
    max-width: 100vw;
  }

  .contact__inner {
    padding: 0 var(--space-md);
  }

  .contact__form-wrapper {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .section__inner {
    padding: 0 var(--space-md);
    gap: var(--space-lg);
  }

  .section__visual {
    min-height: 220px;
  }

  .hero__badge {
    font-size: var(--fs-xs);
    padding: var(--space-xs) var(--space-md);
  }

  .hero__subtitle {
    font-size: var(--fs-body);
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-small);
  }

  .shop__grid {
    grid-template-columns: 1fr;
  }

  .product-card__image {
    height: 180px;
  }

  .farm__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .employee-card {
    padding: var(--space-lg) var(--space-md);
  }

  .employee-card__avatar {
    width: 80px;
    height: 80px;
  }

  .employee-card__stats {
    gap: var(--space-md);
  }

  .footer__links {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* ═══ FARM STATS ═══ */
.farm-stats-wrapper {
  margin-top: var(--space-4xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(85, 107, 47, 0.2);
  text-align: center;
}

.farm-stats-title {
  font-size: var(--fs-h2);
  color: var(--olive-dark);
  margin-bottom: var(--space-2xl);
}

.farm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-lg);
  justify-content: center;
}

.farm-stat-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: all var(--duration-normal) var(--ease-out);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

.farm-stat-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.farm-stat-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--olive-light);
}

.farm-stat-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.farm-stat-card__value {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--olive-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.farm-stat-card__label {
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

/* =============================================
   CV Modal (Popup)
   ============================================= */

.cv-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-xl);
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.cv-modal-overlay.open {
  opacity: 1;
}

.cv-modal {
  background: var(--white);
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cv-modal-overlay.open .cv-modal {
  transform: scale(1);
}

.cv-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast);
  z-index: 10;
}

.cv-modal__close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  transform: rotate(90deg);
}

.cv-modal__content {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.cv-modal__left {
  flex: 0 0 40%;
  background: linear-gradient(135deg, var(--cream-soft), var(--cream-warm));
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-modal__avatar-container {
  width: 360px;
  height: 360px;
  border-radius: var(--radius-circle);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cv-modal__placeholder {
  font-size: 5rem;
  color: var(--text-muted);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-zeytin);
}

.cv-modal__right {
  flex: 1;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cv-modal__name {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: var(--olive-dark);
  margin-bottom: var(--space-xs);
  line-height: 1.1;
}

.cv-modal__role {
  font-size: var(--fs-md);
  color: var(--olive);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xl);
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(85, 107, 47, 0.08);
  /* olive-light */
  border-radius: var(--radius-pill);
  width: fit-content;
}

.cv-modal__section {
  margin-bottom: var(--space-lg);
}

.cv-modal__section:last-child {
  margin-bottom: 0;
}

.cv-modal__subtitle {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-weight: var(--fw-bold);
}

.cv-modal__desc {
  font-size: var(--fs-body);
  color: var(--text-dark);
  line-height: var(--lh-relaxed);
}

.cv-modal__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cv-modal__list li {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-body);
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
}

.cv-modal__icon {
  margin-right: var(--space-sm);
  font-size: 1.2rem;
}

.cv-modal__stats {
  display: flex;
  gap: var(--space-xl);
  background: var(--bg-light);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.cv-modal__stat {
  display: flex;
  flex-direction: column;
}

.cv-modal__stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--olive-dark);
}

.cv-modal__stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Modal Responsive */
@media (max-width: 768px) {
  .cv-modal {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }

  .cv-modal__content {
    flex-direction: column;
  }

  .cv-modal__left {
    padding: var(--space-xl);
    flex: none;
  }

  .cv-modal__avatar-container {
    width: 230px;
    height: 230px;
  }

  .cv-modal__right {
    padding: var(--space-xl);
    text-align: center;
    align-items: center;
  }

  .cv-modal__role {
    margin: 0 auto var(--space-xl);
  }

  .cv-modal__list li {
    justify-content: center;
  }

  .cv-modal__stats {
    justify-content: center;
    width: 100%;
  }
}

/* =============================================
   Auth Popup & Nav Auth Button
   ============================================= */

/* ─── Nav Auth Button ─── */
.nav__auth-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--olive-dark);
  background: rgba(85, 107, 47, 0.08);
  border: 1px solid rgba(85, 107, 47, 0.15);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.nav__auth-btn:hover {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ─── User Button (Logged In) ─── */
.nav__user-menu {
  position: relative;
}

.nav__user-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 4px 12px 4px 4px;
  border-radius: var(--radius-pill);
  background: rgba(85, 107, 47, 0.08);
  border: 1px solid rgba(85, 107, 47, 0.15);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__user-btn:hover {
  background: rgba(85, 107, 47, 0.15);
  box-shadow: var(--shadow-sm);
}

.nav__user-avatar {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-circle);
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  overflow: hidden;
}

.nav__user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav__user-name {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--olive-dark);
}

/* ─── User Dropdown ─── */
.nav__user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: auth-slide-in 0.25s var(--ease-out);
  z-index: 999;
}

.nav__user-dropdown-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__user-dropdown-header strong {
  font-size: var(--fs-body);
  color: var(--text-dark);
}

.nav__user-dropdown-header span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.nav__user-dropdown-btn {
  display: block;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-size: var(--fs-small);
  color: var(--error);
  font-weight: var(--fw-medium);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.nav__user-dropdown-btn:hover {
  background: rgba(231, 76, 60, 0.06);
}

/* ─── Auth Popup ─── */
.auth-popup {
  position: fixed;
  top: var(--nav-height);
  right: var(--space-xl);
  width: 380px;
  background: var(--white);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: 0 20px 60px rgba(44, 36, 24, 0.18), 0 4px 16px rgba(44, 36, 24, 0.08);
  border: 1px solid var(--border);
  border-top: none;
  overflow: hidden;
  z-index: 1100;
  animation: auth-slide-in 0.35s var(--ease-out);
}

@keyframes auth-slide-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-popup__inner {
  padding: var(--space-xl);
}

/* ─── Tabs ─── */
.auth-popup__tabs {
  display: flex;
  gap: 4px;
  background: rgba(85, 107, 47, 0.06);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: var(--space-xl);
}

.auth-popup__tab {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.auth-popup__tab--active {
  background: var(--white);
  color: var(--olive-dark);
  box-shadow: var(--shadow-sm);
}

.auth-popup__tab:not(.auth-popup__tab--active):hover {
  color: var(--text-body);
}

/* ─── Form ─── */
.auth-popup__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.auth-popup__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.auth-popup__field label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-popup__field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  color: var(--text-dark);
  background: var(--cream-light);
  transition: all var(--duration-fast) var(--ease-out);
}

.auth-popup__field input::placeholder {
  color: var(--text-light);
}

.auth-popup__field input:focus {
  outline: none;
  border-color: var(--olive);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.1);
}

.auth-popup__error {
  padding: var(--space-sm) var(--space-md);
  background: rgba(231, 76, 60, 0.08);
  color: var(--error);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  text-align: center;
}

.auth-popup__submit {
  width: 100%;
  padding: 14px;
  background: var(--olive);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  margin-top: var(--space-xs);
}

.auth-popup__submit:hover:not(:disabled) {
  background: var(--olive-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.auth-popup__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-popup__forgot {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--olive);
  font-weight: var(--fw-medium);
  transition: color var(--duration-fast);
}

.auth-popup__forgot:hover {
  color: var(--olive-dark);
}

/* ─── Divider ─── */
.auth-popup__divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.auth-popup__divider::before,
.auth-popup__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── Social Buttons ─── */
.auth-popup__social {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.auth-popup__social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  border: 1.5px solid;
}

.auth-popup__social-btn--google {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--border);
}

.auth-popup__social-btn--google:hover {
  border-color: #4285F4;
  background: rgba(66, 133, 244, 0.04);
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.15);
}

.auth-popup__social-btn--facebook {
  background: #1877F2;
  color: var(--white);
  border-color: #1877F2;
}

.auth-popup__social-btn--facebook:hover {
  background: #166FE5;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

/* ─── Auth Popup Responsive ─── */
@media (max-width: 768px) {
  .auth-popup {
    right: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .nav__auth-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--fs-xs);
  }

  .nav__user-name {
    display: none;
  }
}

/* ═══ SOCIAL SIDEBAR (Instagram & Random Farm Card) ═══ */
.social-sidebar {
  position: fixed;
  top: calc(50% + 30px);
  right: 0;
  transform: translateY(-50%) translateX(0);
  z-index: 80; /* Below Navbar (100) and popups, but above content (10) */
  display: flex;
  align-items: center;
  transition: transform 0.4s var(--ease-bounce);
  pointer-events: none;
}

.social-sidebar.closed {
  transform: translateY(-50%) translateX(100%);
}

.social-sidebar__divider {
  border: 0;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(162, 193, 28, 0.1), rgba(162, 193, 28, 0.4), rgba(162, 193, 28, 0.1));
  margin: 5px 0;
  width: 100%;
}

.social-sidebar__toggle-open {
  position: absolute;
  left: -48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: -4px 0 12px rgba(0,0,0,0.05);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s;
}
.social-sidebar__toggle-open:hover {
  background: var(--cream);
}

.social-sidebar__content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 280px;
  box-shadow: -8px 0 30px rgba(0,0,0,0.1);
  pointer-events: auto;
  position: relative;
}

.social-sidebar__close {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  color: var(--text-muted);
  font-size: 1.2rem;
  background: transparent;
  transition: all 0.2s;
}
.social-sidebar__close:hover {
  background: var(--cream);
  color: var(--text-dark);
}

.social-widget__title {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  color: var(--olive-dark);
  margin-bottom: var(--space-sm);
  text-align: center;
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--cream);
}

/* Insta Widget */
.insta-widget {
  display: flex;
  flex-direction: column;
}
.insta-widget__post {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  margin-bottom: var(--space-sm);
}
.insta-widget__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.insta-widget__post:hover .insta-widget__img {
  transform: scale(1.05);
}
.insta-widget__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.insta-widget__post:hover .insta-widget__overlay {
  opacity: 1;
}
.insta-widget__icon {
  color: var(--white);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
}
.insta-widget__btn {
  display: block;
  text-align: center;
  padding: var(--space-xs) 0;
  border-radius: var(--radius-md);
  color: var(--white);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  text-decoration: none;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  transition: transform 0.2s, box-shadow 0.2s;
}
.insta-widget__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

/* Random Farm Widget */
.random-farm-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--cream-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
}
.random-farm-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-circle);
  overflow: hidden;
  margin-bottom: var(--space-sm);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.random-farm-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  color: var(--text-dark);
  margin-bottom: 2px;
}
.random-farm-card__role {
  font-size: var(--fs-xs);
  color: var(--olive);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}
.random-farm-card__desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-sm);
}
.random-farm-card__btn {
  padding: 4px 16px;
  background: var(--olive);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  transition: all 0.2s;
}
.random-farm-card__btn:hover {
  background: var(--olive-dark);
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .social-sidebar__content {
    width: 240px;
    padding: var(--space-md);
  }
}

@media (max-width: 768px) {
  .social-sidebar {
    display: none;
  }
}

/* ═══ FARM GALLERY ═══ */
.farm-gallery {
  margin-top: var(--space-3xl);
}

.farm-gallery__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--olive-dark);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.farm-gallery__preview-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: 900px;
  margin: 0 auto var(--space-lg);
}

.farm-gallery__preview {
  position: relative;
  flex: 1;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.farm-gallery__preview.fading {
  opacity: 0;
  transform: scale(0.97);
}

.farm-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.farm-gallery__preview:hover .farm-gallery__img {
  transform: scale(1.03);
}

.farm-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

.farm-gallery__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--olive-dark);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.farm-gallery__arrow:hover {
  background: var(--olive);
  color: var(--white);
  transform: scale(1.1);
}

.farm-gallery__thumbs {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding: var(--space-xs) 0;
  max-width: 900px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--earth-light) transparent;
}

.farm-gallery__thumbs::-webkit-scrollbar {
  height: 6px;
}

.farm-gallery__thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.farm-gallery__thumbs::-webkit-scrollbar-thumb {
  background: var(--earth-light);
  border-radius: 3px;
}

.farm-gallery__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s;
  padding: 0;
  background: none;
}

.farm-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.farm-gallery__thumb:hover {
  opacity: 1;
  transform: scale(1.08);
  border-color: var(--olive-light);
}

.farm-gallery__thumb.active {
  opacity: 1;
  border-color: var(--olive);
  box-shadow: 0 0 0 2px rgba(85, 107, 47, 0.3);
}

.farm-gallery__counter {
  text-align: center;
  margin-top: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

@media (max-width: 768px) {
  .farm-gallery__preview-wrapper {
    gap: var(--space-xs);
  }

  .farm-gallery__arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  .farm-gallery__thumb {
    width: 64px;
    height: 44px;
  }
}

/* ═══ GOAT GAME ═══ */
.game-teaser {
  text-align: center;
  padding: var(--space-md) 0;
  background: rgba(255, 248, 220, 0.4);
  border-bottom: 1px solid var(--border);
}

.game-teaser__btn {
  font-size: var(--fs-small);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 30px;
}

.goat-game-wrapper {
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
  margin-bottom: 40px;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: var(--olive-dark);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: var(--fs-small);
}

.game-close-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s;
}

.game-close-btn:hover {
  background: rgba(255,255,255,0.1);
}

.game-area {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(to bottom, #dbe9f4, #f4f1ea);
  user-select: none;
  cursor: pointer;
}

.game-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: var(--earth-light);
  border-top: 4px solid var(--earth);
  z-index: 5;
}

.game-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.game-goat {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  will-change: transform;
}

.game-ob {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  will-change: transform;
  display: flex;
  align-items: flex-end;
}

.game-ob.honey {
  font-size: 2rem;
  line-height: 1;
}

.game-bg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  will-change: transform;
}

.game-bg.cloud {
  opacity: 0.7;
}

.game-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(3px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.game-overlay h2 {
  font-family: var(--font-heading);
  color: var(--olive-dark);
  font-size: 2rem;
  margin-bottom: 10px;
}

.game-overlay p {
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Marquee Gallery */
.game-gallery-marquee {
  background: var(--white);
  padding: 10px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  display: flex;
}

.game-gallery-marquee__inner {
  display: flex;
  gap: 15px;
  animation: scrollMarquee 40s linear infinite;
  padding-left: 15px;
}

.game-gallery__img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .game-area {
    height: 200px !important;
  }
}
/* ─── Gallery Carousel ─── */
.gallery-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream);
    box-shadow: var(--shadow-md);
}

.gallery-carousel__main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--text-dark);
}

.gallery-carousel__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-carousel__prev,
.gallery-carousel__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.gallery-carousel__prev:hover,
.gallery-carousel__next:hover {
    background: rgba(255,255,255,0.9);
}

.gallery-carousel__prev { left: 10px; }
.gallery-carousel__next { right: 10px; }

.gallery-carousel__thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    background: var(--white);
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.gallery-carousel__thumb {
    flex: 0 0 calc(20% - 8px);
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.gallery-carousel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-carousel__thumb:hover {
    opacity: 0.8;
}

.gallery-carousel__thumb.active {
    opacity: 1;
    border-color: var(--olive);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-carousel__thumb {
        flex: 0 0 calc(33.333% - 8px);
    }
}
