/* ─── VARIABLES ─── */
:root {
  --green-deep: #1a3d1f;
  --green-mid: #2d6a35;
  --green-light: #4a9456;
  --gold: #c8922a;
  --gold-light: #e8b84b;
  --cream: #f7f3ec;
  --cream-dark: #ede7d9;
  --text: #1c1c1c;
  --text-muted: #5a5a5a;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--green-deep);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 72px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo {
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; color: var(--white);
  white-space: nowrap;
  line-height: 1;
}
.nav-logo-sub { font-size: 1.6rem; font-weight: 300; color: var(--gold-light); }

.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: none; background: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}

/* ─── PAGES ─── */
#app { padding-top: 72px; min-height: calc(100vh - 72px); animation: fadeIn 0.45s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ─── HOME / HERO ─── */
.hero {
  background: var(--green-deep);
  min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero::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='%234a9456' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 4rem 5rem 6rem;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 500; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600; line-height: 1.1;
  color: var(--white); margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-desc {
  font-size: 1rem; line-height: 1.75;
  color: rgba(255,255,255,0.65); max-width: 440px; margin-bottom: 2.5rem;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold); color: var(--green-deep);
  padding: 0.85rem 2rem; border-radius: 4px;
  font-weight: 500; font-size: 0.85rem; letter-spacing: 0.05em;
  text-transform: uppercase; cursor: pointer; border: none;
  transition: all 0.25s; text-decoration: none; width: fit-content;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,146,42,0.35); }

/* ─── HERO SLIDER ─── */
.hero-visual {
  position: relative;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,61,31,0.15) 0%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.slide-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  background: rgba(200,146,42,0.9);
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.slider-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--gold);
  display: flex; justify-content: space-around;
  padding: 2rem 4rem;
}
.stat { text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--green-deep); line-height: 1; }
.stat-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-deep); opacity: 0.75; margin-top: 0.25rem; }

/* ─── HOME ABOUT ─── */
.home-about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 1100px; margin: 5rem auto; padding: 0 2rem;
}
.about-text { padding-right: 4rem; }
.section-label {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-light); font-weight: 500; margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.2;
  color: var(--green-deep); margin-bottom: 1.25rem;
}
.section-body { font-size: 0.95rem; line-height: 1.85; color: var(--text-muted); margin-bottom: 1rem; }
.about-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.about-features li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.5;
}
.about-features li::before { content: '✦'; color: var(--gold); font-size: 0.6rem; margin-top: 0.35rem; flex-shrink: 0; }

.about-cards { display: flex; flex-direction: column; gap: 1rem; }
.about-card {
  background: var(--white);
  border-left: 3px solid var(--green-light);
  padding: 1.5rem 1.75rem; border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.about-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--green-deep); margin-bottom: 0.5rem; }
.about-card p { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); }

/* ─── CROP CATEGORIES ─── */
.crop-categories {
  background: var(--green-deep); padding: 4rem 2rem;
  text-align: center;
}
.crop-categories .section-label { color: var(--gold-light); }
.crop-categories .section-title { color: var(--white); margin-bottom: 2.5rem; }
.categories-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  max-width: 900px; margin: 0 auto;
}
.cat-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 0.65rem 1.5rem; border-radius: 100px;
  font-size: 0.85rem; cursor: pointer;
  transition: all 0.25s;
}
.cat-pill:hover { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }

/* ─── CATALOG PAGE ─── */
.catalog-header {
  background: var(--green-deep);
  padding: 3.5rem 4rem 3rem;
  position: relative; overflow: hidden;
}
.catalog-header::after {
  content: 'CATALOG';
  position: absolute; right: -1rem; top: 50%; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif; font-size: 8rem; font-weight: 700;
  color: rgba(255,255,255,0.04); letter-spacing: 0.1em; pointer-events: none;
}
.catalog-header .section-label { color: var(--gold-light); }
.catalog-header .section-title { color: var(--white); margin-bottom: 0.5rem; }
.catalog-header p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

.catalog-filter {
  background: var(--white);
  padding: 1rem 4rem;
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
  border-bottom: 1px solid var(--cream-dark);
  position: sticky; top: 72px; z-index: 50;
}
.filter-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-right: 0.5rem; }
.filter-btn {
  padding: 0.4rem 1rem; border-radius: 100px;
  border: 1px solid var(--cream-dark); background: none;
  font-size: 0.78rem; cursor: pointer; color: var(--text-muted);
  transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.filter-btn:hover, .filter-btn.active { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }

.catalog-body { padding: 3rem 4rem; }
.crop-section { margin-bottom: 4rem; }
.crop-section-header {
  display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 2px solid var(--cream-dark);
}
.crop-section-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-deep); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.crop-section-title { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; color: var(--green-deep); }
.crop-section-badge { background: var(--gold); color: var(--green-deep); font-size: 0.65rem; font-weight: 500; padding: 0.2rem 0.6rem; border-radius: 100px; letter-spacing: 0.06em; text-transform: uppercase; margin-left: auto; }

/* ─── CATALOG GROUP DIVIDER ─── */
.catalog-group-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 2.5rem;
}
.catalog-group-divider::before {
  content: '';
  display: block;
  width: 5px;
  height: 1.75rem;
  background: var(--gold);
  border-radius: 3px;
  flex-shrink: 0;
}
.catalog-group-divider span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.catalog-group-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
}

/* ─── LUCIDE ICONS ─── */
.card-icon, .section-icon, .about-icon, .contact-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
}
.section-icon {
  width: 24px;
  height: 24px;
  color: var(--white);
}
.about-icon {
  width: 32px;
  height: 32px;
  color: var(--green-light);
}
.contact-icon {
  width: 28px;
  height: 28px;
  color: var(--green-light);
}
.contact-icon-full {
  color: var(--gold-light);
}
.card-icon {
  color: var(--green-light);
  margin-right: 0.35rem;
}
.cat-pill i, .cat-pill svg {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  display: inline-block;
}

/* ─── PRODUCT CARD PLACEHOLDER (no image) ─── */
.product-card-placeholder {
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
  height: 210px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-card-placeholder::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='%234a9456' fill-opacity='0.15'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.product-card-placeholder svg {
  width: 48px;
  height: 48px;
  color: rgba(255,255,255,0.25);
  position: relative;
  z-index: 1;
}

/* ─── PRODUCT CARDS ─── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.product-card {
  background: var(--white); border-radius: 10px;
  padding: 1.5rem; border: 1px solid var(--cream-dark);
  transition: all 0.25s; position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--green-light);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.product-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }
.product-card:hover::before { transform: scaleX(1); }

/* ─── PRODUCT CARD IMAGE ─── */
.product-img-wrap {
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
  height: 210px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  position: relative;
  background: var(--cream-dark);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}
.product-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(26, 61, 31, 0.18));
  pointer-events: none;
}

.product-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--green-deep); margin-bottom: 0.25rem; }
.product-code { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.08em; margin-bottom: 1rem; text-transform: uppercase; }
.product-specs { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.product-spec { display: flex; justify-content: space-between; font-size: 0.8rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--cream-dark); }
.product-spec:last-child { border-bottom: none; padding-bottom: 0; }
.spec-key { color: var(--text-muted); font-weight: 400; }
.spec-val { color: var(--text); font-weight: 500; text-align: right; max-width: 55%; }
.product-tag {
  display: inline-block; margin-top: 1rem;
  background: rgba(74,148,86,0.1); color: var(--green-mid);
  font-size: 0.68rem; padding: 0.25rem 0.6rem; border-radius: 4px; letter-spacing: 0.05em;
}

/* ─── ABOUT PAGE ─── */
.about-hero {
  background: var(--green-deep); padding: 4rem 6rem;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center;
}
.about-hero .section-label { color: var(--gold-light); }
.about-hero .section-title { color: var(--white); font-size: clamp(2rem,4vw,3rem); }
.about-hero p { color: rgba(255,255,255,0.6); line-height: 1.8; font-size: 0.95rem; margin-top: 1rem; }
.about-hero-aside {
  background: rgba(255,255,255,0.06); border-radius: 12px;
  padding: 2rem; border: 1px solid rgba(255,255,255,0.1);
}
.quote-mark { font-family: 'Cormorant Garamond', serif; font-size: 4rem; color: var(--gold); line-height: 0.5; margin-bottom: 1rem; display: block; }
.about-hero-aside blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.6; }
.about-hero-aside cite { display: block; margin-top: 1rem; font-size: 0.75rem; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; }

.about-sections { max-width: 1100px; margin: 4rem auto; padding: 0 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.about-section-card {
  background: var(--white); border-radius: 12px; padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.about-section-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.about-section-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--green-deep); margin-bottom: 0.75rem; }
.about-section-card p { font-size: 0.9rem; line-height: 1.8; color: var(--text-muted); }

.about-chairman { background: var(--cream-dark); padding: 4rem 6rem; }
.about-chairman .section-label { color: var(--green-light); }
.about-chairman .section-title { color: var(--green-deep); margin-bottom: 1.5rem; }
.chairman-body { font-size: 0.95rem; line-height: 1.9; color: var(--text-muted); max-width: 700px; }

/* ─── CONTACT PAGE ─── */
.contact-hero {
  background: var(--green-deep); padding: 4rem 6rem 3rem;
}
.contact-hero .section-label { color: var(--gold-light); }
.contact-hero .section-title { color: var(--white); }
.contact-hero p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 0.5rem; }

.contact-body { max-width: 1000px; margin: 3rem auto; padding: 0 4rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-card {
  background: var(--white); border-radius: 12px; padding: 2rem 2.25rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid var(--cream-dark);
}
.contact-card-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.contact-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--green-deep); margin-bottom: 0.5rem; }
.contact-card p, .contact-card a { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); text-decoration: none; }
.contact-card a:hover { color: var(--green-light); }
.contact-card.full { grid-column: span 2; background: var(--green-deep); color: var(--white); }
.contact-card.full h4 { color: var(--gold-light); }
.contact-card.full p { color: rgba(255,255,255,0.6); }

/* ─── FOOTER ─── */
footer {
  background: #111c12; padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
}
footer p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
footer .footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1rem; color: var(--gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; height: 64px; }
  .nav-logo-img { width: 36px; height: 36px; }
  .nav-logo-text { font-size: 1.15rem; }
  .nav-logo-sub { font-size: 1.15rem; }
  .nav-links { gap: 0; }
  .nav-link { padding: 0.4rem 0.5rem; font-size: 0.72rem; }
  #app { padding-top: 64px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem 1.5rem; }
  .hero-visual { height: 280px; position: relative; }
  .stats-bar { padding: 1.5rem 1rem; gap: 1rem; }
  .home-about { grid-template-columns: 1fr; padding: 0 1.5rem; margin: 3rem auto; }
  .about-text { padding-right: 0; margin-bottom: 2rem; }
  .catalog-header { padding: 2.5rem 1.5rem; }
  .catalog-filter { padding: 0.75rem 1.5rem; top: 64px; }
  .catalog-body { padding: 2rem 1.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2rem; }
  .about-sections { grid-template-columns: 1fr; padding: 0 1.5rem; }
  .about-chairman { padding: 3rem 1.5rem; }
  .contact-hero { padding: 3rem 1.5rem 2rem; }
  .contact-body { grid-template-columns: 1fr; padding: 0 1.5rem 3rem; }
  .contact-card.full { grid-column: span 1; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem; }
}
