/* ============================================================
   KAGEZI SEEDS — home.css
   ============================================================ */

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0 5%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(20, 48, 30, .2) 0%,
      rgba(20, 48, 30, .4) 60%,
      rgba(20, 48, 30, .8) 100%),
    url('../assets/kagezi-home-hero-image.jpg') center/cover no-repeat;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
}

.hero h1 {
  font-family: var(--font-body);
  /* Main text is sans-serif in Agrovia */
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  max-width: 800px;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 em {
  font-family: var(--font-display);
  /* Generations in Playfair italic */
  font-style: italic;
  color: var(--white);
  /* White in the original */
  font-weight: 400;
}

.hero-sub {
  color: rgba(255, 255, 255, .85);
  font-size: clamp(16px, 2vw, 18px);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer Assets */
.hero-footer-assets {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 5% 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
}

.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 1px;
}

.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 24px 8px 16px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-proof-avatars {
  display: flex;
  margin: 0 4px;
}

.social-proof-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--green-deep);
  margin-left: -10px;
}

.social-proof-avatars img:first-child {
  margin-left: 0;
}

/* ── HOME ABOUT TEASER ── */
#home-about {
  background: var(--white);
}

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

.home-about-img-wrap {
  position: relative;
}

.home-about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.home-about-overlay {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 220px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}

.home-about-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-founded {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--green-deep);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 8px 24px rgba(27, 58, 45, .35);
}

.home-founded-year {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--gold-light);
}

.home-founded-label {
  font-size: 11px;
  opacity: .75;
  margin-top: 2px;
}

.mv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.mv-card {
  background: var(--green-pale);
  border-left: 3px solid var(--green-light);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}

.mv-card h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-mid);
  margin-bottom: 6px;
}

.mv-card p {
  font-size: 14px;
  color: var(--text-mid);
}

/* ── HOME SEEDS PREVIEW ── */
#home-seeds {
  background: var(--cream);
}

.home-seeds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.seed-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s, box-shadow 0.28s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.seed-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(27, 58, 45, .14);
}

.seed-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.seed-card-body {
  padding: 22px 24px 28px;
}

.seed-icon {
  width: 42px;
  height: 42px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.seed-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.seed-card-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

.seed-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.seed-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--green-pale);
  color: var(--green-mid);
  letter-spacing: 0.5px;
}

/* ── HOME PROJECTS PREVIEW ── */
#home-projects {
  background: var(--white);
}

.home-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  text-decoration: none;
  display: block;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 48, 30, .92) 0%, rgba(20, 48, 30, .1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  transition: background 0.3s;
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(20, 48, 30, .97) 0%, rgba(20, 48, 30, .3) 60%);
}

.project-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.project-card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
}

.project-card-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.project-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s;
}

.project-card:hover .project-arrow {
  background: var(--gold);
  color: var(--green-deep);
}

/* ── HOME PRESS PREVIEW ── */
#home-press {
  background: var(--cream);
}

.home-press-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
}

.press-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.25s;
}

.press-card:hover {
  box-shadow: var(--shadow-md);
}

.press-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.press-card-feat .press-card-img {
  height: 260px;
}

.press-card-body {
  padding: 22px 24px 26px;
}

.press-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 8px;
}

.press-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.press-card-feat .press-card-body h3 {
  font-size: 23px;
}

.press-card-body p {
  font-size: 14px;
  color: var(--text-mid);
}

.press-date {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 14px;
}

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

  .home-about-overlay,
  .home-founded {
    display: none;
  }

  .home-about-img-main {
    height: 340px;
  }

  .home-seeds-grid,
  .home-projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-press-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-seeds-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-projects-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 540px) {
  .home-seeds-grid {
    grid-template-columns: 1fr;
  }
}