/* ==========================================================================
   Eggland Modern Poultry & Farm - Custom Styles
   Designed by Visual Chapter
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-linen: #FDFBF7;
  --color-oat: #F4F0E8;
  --color-forest: #132E24;
  --color-forest-light: #1E4537;
  --color-yolk: #E87A1E;
  --color-yolk-amber: #F59E0B;
  --color-emerald: #2D6A4F;
  --color-eggshell: #E8E2D5;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-linen);
  color: #2D3748;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Header */
.glass-nav {
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 226, 213, 0.6);
  transition: all 0.3s ease;
}

.glass-nav.scrolled {
  box-shadow: 0 10px 30px rgba(19, 46, 36, 0.06);
}

/* Floating Badges Animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(7px);
  }
}

.animate-float-1 {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-2 {
  animation: floatReverse 6s ease-in-out infinite 1s;
}

.animate-float-3 {
  animation: floatSlow 7s ease-in-out infinite 2s;
}

/* Infinite Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Custom Range Slider for Calculator */
input[type="range"].yolk-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #E8E2D5;
  border-radius: 9999px;
  outline: none;
  transition: background 0.2s;
}

input[type="range"].yolk-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E87A1E;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232, 122, 30, 0.4);
  border: 3px solid #FFF;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

input[type="range"].yolk-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #D9690D;
}

input[type="range"].yolk-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E87A1E;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232, 122, 30, 0.4);
  border: 3px solid #FFF;
}

/* Custom Card Hover Effects */
.card-hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.card-hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(19, 46, 36, 0.08);
}

/* Pulse indicator */
@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(45, 106, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 106, 79, 0);
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2D6A4F;
  display: inline-block;
  animation: pulseGreen 2s infinite;
}

/* Smooth Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

.accordion-content.open {
  max-height: 350px;
  opacity: 1;
}
