/* ============================================
   HOME PAGE - Specific Styles
   ============================================ */

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1e5c3a 50%, var(--green-mid) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(64,145,108,.25) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' 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='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-text { color: var(--white); }
.hero-text .tag { background: rgba(244,160,36,.2); color: var(--accent); border: 1px solid rgba(244,160,36,.3); }
.hero-text h1 { color: var(--white); margin: .8rem 0 1.2rem; line-height: 1.1; }
.hero-accent { color: var(--accent); }
.hero-text p  { color: rgba(255,255,255,.8); font-size: 1.1rem; line-height: 1.8; max-width: 480px; margin-bottom: 2rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat { display: flex; flex-direction: column; }
.stat-big { font-size: 1.6rem; font-weight: 700; font-family: var(--font-display); color: var(--accent); }
.hero-stat span:last-child { font-size: .85rem; color: rgba(255,255,255,.65); }

/* --- Hero Visual --- */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-graphic {
  font-size: 12rem;
  opacity: .15;
  filter: drop-shadow(0 0 40px rgba(116,198,157,.4));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.hero-card-float {
  position: absolute;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  padding: .75rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  animation: float 4s ease-in-out infinite;
}
.hero-card-float small { opacity: .7; font-weight: 400; display: block; }
.hero-card-1 { top: 20%;  left: 5%;  animation-delay: .3s; }
.hero-card-2 { bottom: 28%; right: 0%; animation-delay: .9s; }
.hero-card-3 { bottom: 10%; left: 15%; animation-delay: 1.5s; }

/* --- Categories --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}
.cat-seeds      { background: #edf7f1; }
.cat-fertilizer { background: #f0f4e8; }
.cat-equipment  { background: #fdf3e7; }
.cat-workers    { background: #e8f4fd; }

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.cat-seeds:hover      { border-color: var(--green-light); }
.cat-fertilizer:hover { border-color: #a8c878; }
.cat-equipment:hover  { border-color: var(--accent); }
.cat-workers:hover    { border-color: #74b8e0; }

.cat-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.cat-card h3 { color: var(--green-dark); margin-bottom: .4rem; }
.cat-card p  { font-size: .85rem; color: var(--text-light); margin-bottom: 1rem; flex: 1; }
.cat-link    { font-size: .85rem; font-weight: 600; color: var(--green-mid); }

/* --- Why Section --- */
.section-why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-md);
  background: var(--cream);
  transition: box-shadow var(--transition);
}
.why-item:hover { box-shadow: var(--shadow-sm); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-item h3 { color: var(--green-dark); margin-bottom: .5rem; font-size: 1.05rem; }

.bg-cream-alt { background: var(--cream-dark); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta-content h2 { color: var(--white); margin-bottom: .75rem; }
.cta-content p  { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-visual  { display: none; }
  .hero-ctas    { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
  .hero-stats      { gap: 1.5rem; }
}
