/* ===========================
   KALRO FARM — STYLESHEET
   Earthy, warm, organic luxury
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&family=Bebas+Neue&display=swap');

/* --- VARIABLES --- */
:root {
  --earth: #3b2a1a;
  --soil: #5c3d1e;
  --clay: #8b5e3c;
  --straw: #d4a853;
  --cream: #f5edd6;
  --sage: #6b7c5c;
  --grass: #4a6741;
  --sky: #b8cfe0;
  --white: #fefdf8;
  --dark: #1a1108;
  --wa-green: #25D366;
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--earth);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* =============================================
   INTRO SPLASH ANIMATION
   ============================================= */
#intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--earth);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

#intro-splash.hide {
  animation: splashFadeOut 0.8s 0.3s forwards ease-in-out;
  pointer-events: none;
}

@keyframes splashFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

.splash-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, #5c3d1e 0%, #1a1108 80%);
}

.splash-grass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(to top, #2e4a28, #3a5c32, transparent);
  clip-path: polygon(0 40%, 5% 30%, 12% 42%, 20% 25%, 28% 38%, 36% 20%, 44% 34%, 52% 18%, 60% 32%, 68% 22%, 76% 36%, 84% 24%, 92% 38%, 100% 28%, 100% 100%, 0 100%);
  animation: grassWave 3s ease-in-out infinite alternate;
}

@keyframes grassWave {
  from {
    clip-path: polygon(0 40%, 5% 30%, 12% 42%, 20% 25%, 28% 38%, 36% 20%, 44% 34%, 52% 18%, 60% 32%, 68% 22%, 76% 36%, 84% 24%, 92% 38%, 100% 28%, 100% 100%, 0 100%);
  }

  to {
    clip-path: polygon(0 35%, 5% 42%, 12% 28%, 20% 40%, 28% 22%, 36% 36%, 44% 20%, 52% 38%, 60% 18%, 68% 34%, 76% 24%, 84% 40%, 92% 26%, 100% 36%, 100% 100%, 0 100%);
  }
}

.splash-sun {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #f9d067 30%, #e8a020 70%, transparent 100%);
  box-shadow: 0 0 60px 20px rgba(249, 208, 103, 0.25);
  animation: sunPulse 2.5s ease-in-out infinite;
}

@keyframes sunPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 60px 20px rgba(249, 208, 103, 0.2);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 80px 30px rgba(249, 208, 103, 0.35);
  }
}

/* Animals SVG animations */
.splash-animals {
  position: absolute;
  bottom: 30%;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: flex-end;
}

.splash-cow {
  font-size: clamp(48px, 8vw, 80px);
  animation: cowBob 1.6s ease-in-out infinite;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.splash-cow:nth-child(2) {
  animation-delay: 0.3s;
  font-size: clamp(36px, 6vw, 60px);
}

.splash-cow:nth-child(3) {
  animation-delay: 0.6s;
  font-size: clamp(40px, 7vw, 70px);
}

@keyframes cowBob {

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

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

.splash-birds {
  position: absolute;
  top: 20%;
  left: 10%;
  font-size: 22px;
  animation: birdFly 4s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes birdFly {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(60px, -20px) rotate(5deg);
  }

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

.splash-tagline {
  position: relative;
  text-align: center;
  z-index: 2;
  margin-top: -60px;
}

.splash-tagline .big-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 10vw, 100px);
  color: var(--straw);
  letter-spacing: 4px;
  line-height: 1;
  animation: textReveal 1s 0.4s both;
}

.splash-tagline .sub-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 8px;
  animation: textReveal 1s 0.7s both;
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.splash-progress {
  position: absolute;
  bottom: 8%;
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.splash-progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: var(--straw);
  animation: progressFill 2.8s 0.2s ease forwards;
}

@keyframes progressFill {
  to {
    width: 100%;
  }
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 17, 8, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

#navbar.scrolled {
  background: rgba(26, 17, 8, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--straw);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.nav-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--cream);
  line-height: 1.2;
}

.nav-logo .logo-text span {
  display: block;
  font-size: 10px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 3px;
  color: var(--straw);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--straw);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover {
  color: var(--straw);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-wa {
  background: var(--wa-green);
  color: white !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition) !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav-wa::after {
  display: none !important;
}

.nav-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
  color: white !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: 0.3s;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(26, 17, 8, 0.98);
  backdrop-filter: blur(16px);
  padding: 24px 40px;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-10px);
  opacity: 0;
  transition: 0.3s;
}

.nav-mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.nav-mobile .nav-wa {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
}

/* =============================================
   HERO
   ============================================= */
#hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26, 17, 8, 0.78) 0%, rgba(26, 17, 8, 0.35) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 0 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 83, 0.2);
  border: 1px solid rgba(212, 168, 83, 0.5);
  color: var(--straw);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '●';
  font-size: 8px;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--straw);
}

.hero-subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(245, 237, 214, 0.78);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--straw);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.35);
}

.btn-primary:hover {
  background: #e8b84b;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(245, 237, 214, 0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cream);
}

.btn-wa {
  background: var(--wa-green);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.hero-stats {
  position: absolute;
  bottom: 50px;
  right: 60px;
  display: flex;
  gap: 30px;
  z-index: 2;
}

.stat-item {
  text-align: center;
  color: var(--cream);
}

.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--straw);
  line-height: 1;
}

.stat-item .lbl {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
}

.hero-dots {
  position: absolute;
  bottom: 55px;
  left: 60px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: 0.3s;
}

.hero-dot.active {
  background: var(--straw);
  transform: scale(1.3);
}

/* =============================================
   SECTION COMMON
   ============================================= */
section {
  padding: 90px 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  color: var(--earth);
}

.section-title em {
  font-style: italic;
  color: var(--clay);
}

.section-subtitle {
  color: var(--clay);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 12px;
  font-weight: 300;
  max-width: 560px;
}

/* =============================================
   ABOUT
   ============================================= */
#about {
  background: var(--cream);
  padding: 200px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-main-img {
  border-radius: 20px;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-main-img:hover {
  transform: scale(1.02);
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--earth);
  color: var(--cream);
  padding: 22px 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.about-badge-card .big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--straw);
  line-height: 1;
}

.about-badge-card .small {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
}

.about-text {
  padding-left: 10px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-pillar {
  background: white;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--earth);
}

.pillar-text p {
  font-size: 12px;
  color: var(--clay);
  margin-top: 3px;
  line-height: 1.5;
}

/* =============================================
   PRODUCTS / LIVESTOCK
   ============================================= */
#products {
  background: var(--white);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid #ddd;
  font-size: 13px;
  font-weight: 500;
  background: white;
  color: var(--clay);
  transition: 0.3s;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--earth);
  border-color: var(--earth);
  color: var(--cream);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.35s, box-shadow 0.35s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.product-img-wrap img {
  height: 100%;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--straw);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-info {
  padding: 18px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--earth);
}

.product-breed {
  font-size: 12px;
  color: var(--sage);
  margin-top: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-stats {
  display: flex;
  gap: 12px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.product-stat {
  font-size: 11px;
  color: var(--clay);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 20px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--grass);
  margin: 10px 0 14px;
}

.product-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--clay);
}

.product-actions {
  display: flex;
  gap: 8px;
}

.btn-order {
  flex: 1;
  background: var(--wa-green);
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.3s;
}

.btn-order:hover {
  background: #1da851;
}

.btn-enquire {
  flex: 1;
  background: var(--cream);
  color: var(--earth);
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.3s;
}

.btn-enquire:hover {
  background: var(--straw);
  color: var(--dark);
}

/* =============================================
   SERVICES
   ============================================= */
#services {
  background: var(--earth);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#services .section-title {
  color: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 24px;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--straw);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  font-size: 38px;
  margin-bottom: 18px;
}

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: rgba(245, 237, 214, 0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-wa {
  background: rgba(37, 211, 102, 0.15);
  color: var(--wa-green);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.service-wa:hover {
  background: var(--wa-green);
  color: white;
}

/* =============================================
   GALLERY
   ============================================= */
#gallery {
  background: var(--cream);
}

.gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  height: 220px;
  transition: transform 0.5s ease, filter 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.06);
}

.gallery-item.tall img {
  height: 454px;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.wide img {
  height: 220px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 17, 8, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
}

#lightbox.open {
  display: flex;
}

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: white;
  font-size: 32px;
  background: none;
  line-height: 1;
}

/* =============================================
   REVIEWS / RATINGS
   ============================================= */
#reviews {
  background: var(--white);
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.reviews-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 4px;
}

.review-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  color: var(--straw);
  opacity: 0.2;
  line-height: 1;
}

.review-stars {
  color: var(--straw);
  font-size: 16px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--clay);
  font-style: italic;
  margin-bottom: 20px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--earth);
}

.reviewer-meta {
  font-size: 12px;
  color: var(--sage);
  margin-top: 2px;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.reviews-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--earth);
  color: var(--cream);
  font-size: 20px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-nav button:hover {
  background: var(--straw);
  color: var(--dark);
}

.reviews-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: 0.3s;
}

.reviews-dot.active {
  background: var(--earth);
  transform: scale(1.3);
}

/* =============================================
   BREED ADVISOR
   ============================================= */
#advisor {
  background: var(--cream);
}

.advisor-wrap {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.advisor-side {
  background: var(--earth);
  color: var(--cream);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.advisor-side .section-title {
  color: var(--cream);
  margin-bottom: 12px;
}

.advisor-side p {
  color: rgba(245, 237, 214, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.advisor-animals {
  font-size: 50px;
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.advisor-form {
  padding: 48px 40px;
}

.advisor-step {
  margin-bottom: 28px;
}

.advisor-step label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--earth);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 9px 18px;
  border-radius: 50px;
  border: 1.5px solid #e0d8cc;
  font-size: 13px;
  font-weight: 500;
  background: white;
  color: var(--clay);
  cursor: pointer;
  transition: 0.25s;
}

.chip.selected {
  background: var(--earth);
  border-color: var(--earth);
  color: var(--cream);
}

.chip:hover:not(.selected) {
  border-color: var(--clay);
}

.advisor-result {
  background: var(--cream);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  border-left: 4px solid var(--straw);
  display: none;
}

.advisor-result.show {
  display: block;
}

.advisor-result h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--earth);
  margin-bottom: 8px;
}

.advisor-result p {
  font-size: 13px;
  color: var(--clay);
  line-height: 1.6;
}

.advisor-result .result-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-advisor {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: var(--earth);
  color: var(--cream);
  transition: 0.3s;
}

.btn-advisor:hover {
  background: var(--soil);
}

/* =============================================
   CONTACT / CTA
   ============================================= */
#contact {
  background: var(--earth);
  color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-form-side h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--cream);
  margin-bottom: 12px;
}

.contact-form-side p {
  color: rgba(245, 237, 214, 0.65);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(245, 237, 214, 0.65);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--straw);
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.form-group select option {
  background: var(--earth);
  color: var(--cream);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-info-side {
  padding-top: 10px;
}

.contact-info-side h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--straw);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--straw);
  margin-bottom: 4px;
}

.contact-val {
  font-size: 15px;
  color: var(--cream);
}

.contact-val a {
  color: var(--cream);
  transition: color 0.3s;
}

.contact-val a:hover {
  color: var(--straw);
}

.wa-big-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--wa-green);
  color: white;
  padding: 18px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 30px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

.wa-big-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45);
}

.wa-big-btn .wa-icon {
  font-size: 28px;
}

.wa-big-btn .wa-text {
  line-height: 1.2;
}

.wa-big-btn .wa-text small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark);
  color: rgba(245, 237, 214, 0.5);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--cream);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-brand .socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-brand .socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: 0.3s;
}

.footer-brand .socials a:hover {
  background: var(--straw);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(245, 237, 214, 0.5);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--straw);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

/* =============================================
   FLOATING WA BUTTON
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 6px 40px rgba(37, 211, 102, 0.7);
  }
}

.wa-float:hover {
  transform: scale(1.12);
}

.wa-float-tooltip {
  position: fixed;
  bottom: 36px;
  right: 96px;
  background: var(--dark);
  color: var(--cream);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 800;
}

.wa-float:hover+.wa-float-tooltip {
  opacity: 1;
}

/* =============================================
   STOCK ALERT BANNER
   ============================================= */
.stock-banner {
  background: var(--straw);
  color: var(--dark);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.stock-banner a {
  text-decoration: underline;
  margin-left: 8px;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .advisor-wrap {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-slide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .hero-stats {
    right: 24px;
    bottom: 30px;
    gap: 16px;
  }

  .hero-stats .stat-item .num {
    font-size: 20px;
  }

  .hero-dots {
    left: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.tall img,
  .gallery-item img {
    height: 160px;
  }

  .review-slide {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-badge-card {
    right: 0;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    display: none;
  }

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

/* =============================================
   STOCK POPUP (replaces banner)
   ============================================= */
#stock-popup {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  background: #1a2e1a;
  border: 1px solid #4a6741;
  border-left: 4px solid #6ab04c;
  border-radius: 12px;
  padding: 14px 16px 14px 14px;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transform: translateX(360px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  pointer-events: none;
}

#stock-popup.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

.stock-popup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.stock-popup-icon {
  font-size: 18px;
}

.stock-popup-title {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6ab04c;
}

#stock-popup-dismiss {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s;
}

#stock-popup-dismiss:hover {
  color: #fff;
}

.stock-popup-body {
  font-size: 13px;
  color: rgba(245, 237, 214, 0.9);
  line-height: 1.4;
  margin-bottom: 10px;
}

.stock-popup-cta {
  display: inline-block;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.2s;
}

.stock-popup-cta:hover {
  background: #1ebe5a;
}

/* =============================================
   PRODUCT CARD — description & age
   ============================================= */
.product-description {
  font-size: 12.5px;
  color: rgba(60, 45, 20, 0.75);
  line-height: 1.5;
  margin: 6px 0 8px;
}

.product-age-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.product-age-icon {
  font-size: 11px;
}

.product-age-text {
  font-size: 11px;
  color: rgba(60, 45, 20, 0.55);
  font-weight: 500;
}

.product-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: inherit;
}

.product-img-wrap:hover .product-view-overlay {
  opacity: 1;
}

.product-view-overlay span {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 14px;
  border-radius: 20px;
}

.btn-details {
  background: #f5edd6;
  border: 1.5px solid #c8a96e;
  color: #5c3d1e;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-details:hover {
  background: #e8d8b0;
  transform: translateY(-1px);
}

/* =============================================
   PRODUCT DETAIL MODAL
   ============================================= */
#product-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#product-modal.open {
  opacity: 1;
  pointer-events: all;
}

#product-modal.open .modal-inner {
  transform: translateY(0) scale(1);
}

.modal-inner {
  background: #fefcf5;
  border-radius: 18px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 28px;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

#product-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f0e8d0;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5c3d1e;
  transition: background 0.2s;
  z-index: 2;
}

#product-modal-close:hover {
  background: #dfd0a8;
}

.modal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

@media(max-width:600px) {
  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-inner {
    padding: 20px 16px;
  }
}

.modal-img-side {
  position: relative;
}

.modal-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}

.modal-img-side .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a2e1a;
  margin-bottom: 4px;
  line-height: 1.2;
}

.modal-breed {
  font-size: 12px;
  color: #6b7c5c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.modal-description {
  font-size: 13.5px;
  color: rgba(60, 45, 20, 0.8);
  line-height: 1.55;
  margin-bottom: 12px;
}

.modal-age-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  color: rgba(60, 45, 20, 0.6);
  font-weight: 500;
}

.modal-stats {
  margin-bottom: 12px;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #4a6741;
}

.modal-price-note {
  font-size: 12px;
  color: rgba(60, 45, 20, 0.55);
}

.modal-details-body {
  background: #f5edd6;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.detail-row {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12.5px;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  min-width: 80px;
  font-weight: 600;
  color: #5c3d1e;
}

.detail-value {
  color: rgba(60, 45, 20, 0.8);
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-actions a {
  flex: 1;
  text-align: center;
  min-width: 120px;
}

/* =============================================
   HERO STATS — smooth counter animation
   ============================================= */
.stat-item .num {
  transition: none;
  display: inline-block;
}

/* Remove old stock-banner styles if present */
.stock-banner {
  display: none !important;
}
