/* ==========================================================================
   YOVEL EAST — Ultra-Modern Corporate Site (Updated Brand Colors)
   ========================================================================== */

:root {
  --green: #4a8f1c;
  --green-dark: #2f5d16;
  --yellow: #f4d03f;
  --purple: #311356;
  --bg: #f9fafb;
  --text: #1f2937;
  --white: #ffffff;
  --muted: #6b7280;
  --border: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.25, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 {
  font-size: clamp(40px, 7vw, 72px);
}
h2.section-title {
  font-size: clamp(32px, 5vw, 46px);
  margin-bottom: 20px;
}
h2.section-title.left {
  text-align: left;
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}
.light {
  color: var(--white);
}
.section-eyebrow.light {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Candid Image Filter ---------- */
.candid-img {
  filter: contrast(0.95) saturate(0.85) sepia(0.08);
  transition:
    filter 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.tile:hover .candid-img,
.farm-card:hover .candid-img {
  filter: contrast(1.05) saturate(1) sepia(0);
  transform: scale(1.04);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s var(--ease);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--yellow);
  color: #111;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(244, 208, 63, 0.35);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--white);
}
.nav.scrolled .logo {
  color: var(--text);
}
.logo-mark {
  background: var(--green);
  color: var(--white);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
}
.logo-text {
  font-size: 24px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  transition: 0.2s;
  opacity: 0.9;
}
.nav.scrolled .nav-links a {
  color: var(--text);
  opacity: 0.7;
}
.nav.scrolled .nav-links a:hover {
  opacity: 1;
  color: var(--green);
}

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 200;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--white);
  margin: 5px auto;
  transition: all 0.3s var(--ease);
}
.nav.scrolled .hamburger span {
  background: var(--text);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
  backdrop-filter: blur(1px) saturate(1.05);
  -webkit-backdrop-filter: blur(1px) saturate(1.05);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 100px 24px 0;
}
.hero-logo {
  display: block;
  width: min(85vw, 520px);
  height: auto;
  margin: 0 auto 32px;
  padding: 20px 30px;
  border-radius: 20px;
  filter: brightness(0) invert(1);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-tagline {
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0.9;
}
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-down span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scroll 1.8s infinite;
}
@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(16px);
    opacity: 0;
  }
}

/* ---------- Sections & Layouts ---------- */
.section {
  padding: 120px 0;
}
.section-white {
  background: var(--white);
}
.section-light {
  background: var(--bg);
}
.section-green {
  background: var(--purple);
  color: var(--white);
}
.centered {
  text-align: center;
}
.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.col-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.stat {
  text-align: left;
}
.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  font-family: "Poppins", sans-serif;
}
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Vision & Mission */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.vm-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.vm-vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--green);
}
.vm-mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--purple);
} /* Mission card uses Purple */
.vm-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: transform 0.4s var(--ease);
}
.vm-vision .vm-icon {
  background: rgba(74, 143, 28, 0.1);
  color: var(--green);
} /* rgba based on #4A8F1C */
.vm-mission .vm-icon {
  background: rgba(90, 45, 130, 0.1);
  color: var(--purple);
} /* rgba based on #5A2D82 */
.vm-card:hover .vm-icon {
  transform: scale(1.1) rotate(5deg);
}
.vm-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vm-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.vm-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 20px;
  font-weight: 600;
}
.vm-mission .vm-subtitle {
  color: var(--purple);
}
.vm-text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}
.vm-accent {
  height: 4px;
  width: 40px;
  margin: 0 auto;
  border-radius: 2px;
}
.vm-vision .vm-accent {
  background: var(--green);
}
.vm-mission .vm-accent {
  background: var(--purple);
}

/* Core Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.value-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
}
.value-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}
.value-card h3 {
  font-size: 15px;
  font-weight: 600;
}

/* History & Lists */
.history-list {
  margin-top: 24px;
}
.history-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: var(--muted);
  font-size: 16px;
}
.history-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 14px;
  height: 2px;
  background: var(--green);
}

.check-list li {
  padding: 14px 0 14px 36px;
  position: relative;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child {
  border-bottom: none;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  border: 1px solid var(--border);
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(74, 143, 28, 0.08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.service p {
  color: var(--muted);
  font-size: 15px;
}

/* Masonry */
.masonry {
  column-count: 3;
  column-gap: 24px;
  margin-top: 40px;
}
.tile {
  break-inside: avoid;
  margin-bottom: 24px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  border: 1px solid var(--border);
}
.tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.tile-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
}
.tile-tall .tile-img {
  height: 320px;
}
.tile-body {
  padding: 24px;
}
.tile-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.tile-body p {
  color: var(--muted);
  font-size: 14px;
}

/* Farms */
.farms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.farm-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  border: 1px solid var(--border);
}
.farm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.farm-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #f0f0f0;
}
.farm-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Location badge */
.location-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--green);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(90, 45, 130, 0.3);
}
.farm-body {
  padding: 32px;
}
.farm-body h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.farm-body p {
  color: var(--muted);
}

/* CTA & Contact */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 120px 0;
  text-align: center;
  color: var(--white);
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.contact-item {
  background: var(--bg);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s var(--ease);
  border: 1px solid var(--border);
}
.contact-item:hover {
  transform: translateY(-4px);
  background: rgba(74, 143, 28, 0.04);
  border-color: rgba(74, 143, 28, 0.1);
}
.contact-item h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 12px;
  font-weight: 600;
}
.contact-item p {
  color: var(--text);
  font-size: 15px;
}

/* Footer */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-logo {
  color: var(--white);
  margin-bottom: 20px;
}
.footer-tag {
  font-size: 14px;
  opacity: 0.7;
  max-width: 300px;
  padding-top: 20px;
}
.footer h4 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}
.footer ul li {
  padding: 6px 0;
  font-size: 14px;
}
.footer ul li a {
  opacity: 0.8;
  transition: 0.2s;
}
.footer ul li a:hover {
  color: var(--yellow);
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Scroll to Top Button ---------- */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow);
  z-index: 99;
}

.scroll-to-top:hover {
  background: var(--green-dark);
  transform: translateY(10px);
  box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 960px) {
  .section {
    padding: 80px 0;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .col-image img {
    height: 400px;
  }
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .masonry {
    column-count: 2;
  }
  .farms-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 24px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.4s var(--ease);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    color: var(--text) !important;
    font-size: 18px;
    opacity: 1;
  }
  .hamburger {
    display: block;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }
  .masonry {
    column-count: 1;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding-top: 80px;
  }
  .contact-info {
    grid-template-columns: 1fr;
  }
  .scroll-to-top {
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
  }
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}
