/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #0a3d1f;
  --green-mid: #1a6b3a;
  --green-bright: #2db560;
  --green-light: #e6f7ed;
  --gold: #f0b429;
  --text-dark: #111;
  --text-muted: #555;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: #f5f5f5;
  line-height: 1.6;
}

header {
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-bright);
  max-width: 220px;
  line-height: 1.2;
}

nav ul { list-style: none; display: flex; gap: 1.5rem; }

nav ul li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
nav ul li a:hover { color: var(--green-bright); }

.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, #145228 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; max-width: 700px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--green-bright);
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.hero h3 {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  background: var(--green-bright);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: #25a050; transform: translateY(-2px); }

.about {
  background: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.about-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.box {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.box i { font-size: 2.5rem; color: var(--green-mid); margin-bottom: 1rem; display: block; }
.box h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.5rem; }
.box p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.products { padding: 4rem 2rem; background: #f0f4f1; }

.products h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 2.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 8px 32px rgba(0,0,0,0.14); }

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--green-light);
}

.product-card-body { padding: 1.25rem; }
.product-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.4rem; }
.product-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.product-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-mid);
}
.product-card .card-arrow i { font-size: 0.8rem; transition: transform 0.2s; }
.product-card:hover .card-arrow i { transform: translateX(4px); }

.green-army {
  background: var(--green-dark);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.green-army h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--green-bright);
  margin-bottom: 0.5rem;
}

.green-army h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.green-army p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

footer {
  background: #050f09;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 3rem 2rem;
}

footer h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-bright);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

footer p { font-size: 0.85rem; margin-bottom: 1.5rem; line-height: 1.8; }

.socials { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }

.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.socials a:hover { background: var(--green-bright); color: var(--white); border-color: var(--green-bright); }

/* ===== DETAIL PAGES ===== */
.detail-page { background: #f5f5f5; min-height: 100vh; }

.detail-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 3rem 2rem 2.5rem;
}

.detail-hero .back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.88rem; margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.detail-hero .back-link:hover { color: var(--white); }

.detail-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--green-bright);
  margin-bottom: 0.5rem;
}

.detail-hero p {
  font-size: 1rem; color: rgba(255,255,255,0.8);
  max-width: 600px; line-height: 1.7;
}

.detail-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.detail-img {
  width: 100%; max-height: 380px;
  object-fit: cover; border-radius: var(--radius);
  margin-bottom: 2.5rem;
  background: var(--green-light);
  box-shadow: var(--shadow);
}

.detail-section { margin-bottom: 2.5rem; }

.detail-section h2 {
  font-size: 1.3rem; font-weight: 700;
  color: var(--green-dark); margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--green-light);
}

.detail-section p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0.75rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 4px solid var(--green-bright);
}
.feature-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.3rem; }
.feature-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.contact-cta {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}
.contact-cta h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--green-bright); }
.contact-cta p { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }

@media (max-width: 640px) {
  header { padding: 0 1rem; }
  .logo { font-size: 0.8rem; max-width: 140px; }
  nav ul { gap: 0.75rem; }
  nav ul li a { font-size: 0.78rem; }
  .hero, .about, .products, .green-army, footer { padding-left: 1rem; padding-right: 1rem; }
  .detail-body { padding: 2rem 1rem; }
}