/* Global Styles */
:root {
  --primary: #1f6f43;
  --primary-dark: #165030;
  --secondary: #2f3c56;
  --accent: #2f6236;
  --text: #1f2a44;
  --text-light: #56627a;
  --bg: #f5f7f9;
  --bg-light: #ffffff;
  --border: #cfd6e0;
  --muted: #f5f7f2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

/* Navigation */
.navbar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 111, 67, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: #1f2a44;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 60, 86, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(31, 111, 67, 0.05), rgba(47, 98, 54, 0.02));
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Mission Section */
.mission {
  padding: 80px 24px;
  background: var(--bg-light);
}

.mission h2 {
  font-size: 36px;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text);
}

.mission-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Features Section */
.features {
  padding: 80px 24px;
  background: var(--bg);
}

.features h2 {
  font-size: 36px;
  margin-bottom: 48px;
  text-align: center;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Farms Preview */
.farms-preview {
  padding: 80px 24px;
  background: var(--bg-light);
}

.farms-preview h2 {
  font-size: 36px;
  margin-bottom: 16px;
  text-align: center;
  color: var(--text);
}

.section-intro {
  text-align: center;
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 48px;
}

.farms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.farm-card {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.farm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

.farm-card-content {
  padding: 24px;
}

.farm-card-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.farm-card-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: var(--muted);
}

.cta-section .btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-section .btn-secondary:hover {
  background: white;
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: white;
  padding: 48px 24px 24px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 32px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-section h4 {
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .nav-menu {
    gap: 16px;
    font-size: 14px;
  }

  .mission h2,
  .features h2,
  .farms-preview h2,
  .cta-section h2 {
    font-size: 28px;
  }

  .features-grid,
  .farms-grid {
    grid-template-columns: 1fr;
  }
}
