/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  overflow-x: hidden;
}

a { text-decoration: none; }

/* ===== NAVBAR ===== */
.navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(253, 252, 250, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #254c1f 0%, #2e5f26 40%, #3d7a32 70%, #5fa050 100%);
}

.hero-bg {
  background: url('https://images.pexels.com/photos/6790074/pexels-photo-6790074.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  opacity: 0.18;
}

.hero-dots {
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero-wave path {
  fill: #fdfcfa;
}

/* ===== BUTTONS ===== */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-primary {
  background: #ffffff;
  color: #2e5f26;
}

.cta-primary:hover {
  background: #f0f7e8;
}

.cta-secondary {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.cta-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
}

/* ===== CARDS ===== */
.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: #f0f7e8;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ===== REASON CARDS ===== */
.reason-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.reason-icon {
  width: 56px;
  height: 56px;
  background: #f0f7e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ===== GALLERY ===== */
.gallery-item {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-img {
  transition: transform 0.4s ease;
  aspect-ratio: 500/350;
  display: block;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

/* ===== FORM ===== */
.input-field {
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
  background: #fafafa;
}

.input-field:focus {
  border-color: #3d7a32;
  box-shadow: 0 0 0 3px rgba(61,122,50,0.1);
  background: #fff;
}

.input-field::placeholder {
  color: #aaa;
}

.btn-submit {
  background: #2e5f26;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.btn-submit:hover {
  background: #254c1f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,95,38,0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.success-message {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
  .gallery-img { transition: none; }
  .gallery-item:hover .gallery-img { transform: none; }
  .btn-hero:hover, .btn-submit:hover { transform: none; }
  .card:hover, .reason-card:hover { transform: none; }
}

/* ===== MOBILE MENU ===== */
.mobile-nav-link {
  display: block;
  text-align: left;
  color: #2e5f26;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: #5fa050;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .card {
    padding: 1.5rem;
  }
}
