:root {
  --color-primary: #2e7d32;
  --color-primary-dark: #1b5e20;
  --color-accent: #f2a900;
  --color-ink: #1f2937;
  --color-muted: #6b7280;
  --color-bg: #ffffff;
  --color-bg-soft: #f3f8f2;
  --color-border: #dde8db;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(27, 94, 32, 0.1);
  --font-en: 'Poppins', system-ui, sans-serif;
  --font-hi: 'Noto Sans Devanagari', 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

body.lang-hi {
  font-family: var(--font-hi);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo { width: 48px; height: 44px; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-name { font-size: 1.15rem; color: var(--color-primary-dark); }

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-weight: 600;
  color: var(--color-ink);
  transition: color 0.2s;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover { background: var(--color-primary); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-bg-soft), #fff);
  padding: 72px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 16px;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

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

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow);
}

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

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

/* Sections */
section { padding: 64px 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  margin-bottom: 40px;
}

/* Products */
.products-section { background: var(--color-bg-soft); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.product-card:hover { transform: translateY(-4px); }

.product-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #f4f4f4;
  padding: 10px;
}

.product-info { padding: 18px; }

.product-info h3 { margin: 0 0 8px; font-size: 1.05rem; }

.product-desc {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin: 0 0 12px;
}

.product-price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin: 0;
}

/* About */
.about-section p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* Contact */
.contact-section { background: var(--color-bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-icon { font-size: 1.6rem; }

.contact-item h4 { margin: 0 0 4px; }

.contact-item p { margin: 0; color: var(--color-muted); }

.contact-item a:hover { color: var(--color-primary); }

/* Footer */
.site-footer {
  padding: 24px 0;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--color-border);
}

/* Mobile */
@media (max-width: 780px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    transition: max-height 0.25s ease;
  }

  .main-nav.open { max-height: 300px; }

  .main-nav a {
    padding: 14px 20px;
    border-top: 1px solid var(--color-border);
  }

  .nav-toggle { display: flex; }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #14110d;
    color: #f2ece2;
  }
  .site-header, .product-card, .contact-item, .main-nav { background: #1d1913; }
  .products-section, .contact-section { background: #17140f; }
  .hero { background: linear-gradient(135deg, #1d1913, #14110d); }
  .color-border, .site-header, .site-footer { border-color: #332c22; }
}
