/* AgroHidro Nusantara - Functional Agriculture & Microgreen Nutrition Styling */
:root {
  --leaf-green: #4D7C0F;
  --leaf-dark: #365314;
  --solar-gold: #CA8A04;
  --gold-light: #FEF08A;
  --bg-sprout: #F7FEE7;
  --bg-card: #FFFFFF;
  --text-dark: #1A2E05;
  --text-muted: #4B5563;
  --border-green: #D9F99D;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg-sprout); color: var(--text-dark); line-height: 1.65; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Top notification */
.agro-topbar { background: var(--leaf-dark); color: #ECFCCB; font-size: 0.82rem; padding: 8px 0; border-bottom: 2px solid var(--solar-gold); }
.agro-topbar-flex { display: flex; justify-content: space-between; align-items: center; }

/* Header */
.agro-header { background: #FFFFFF; border-bottom: 1px solid var(--border-green); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(77,124,15,0.05); }
.header-row { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.agro-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.agro-logo-icon { width: 40px; height: 40px; border-radius: 8px; }
.brand-title { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 800; color: var(--leaf-green); letter-spacing: -0.5px; }
.brand-title span { color: var(--solar-gold); }
.brand-sub { font-size: 0.72rem; color: var(--text-muted); display: block; font-family: var(--font-body); }
.agro-nav { display: flex; gap: 24px; list-style: none; align-items: center; }
.agro-nav a { text-decoration: none; color: #374151; font-size: 0.92rem; font-weight: 600; transition: color 0.2s; }
.agro-nav a:hover, .agro-nav a.active { color: var(--leaf-green); }
.btn-gold { background: var(--leaf-green); color: #FFFFFF; padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 0.88rem; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s; }
.btn-gold:hover { background: var(--leaf-dark); }

/* Hero */
.agro-hero { background: linear-gradient(135deg, #365314 0%, #4D7C0F 100%); color: #FFFFFF; padding: 60px 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.agro-badge { background: rgba(202,138,4,0.3); color: #FEF08A; border: 1px solid rgba(254,240,138,0.5); padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; display: inline-block; margin-bottom: 14px; }
.hero-title { font-family: var(--font-heading); font-size: 2.7rem; color: #FFFFFF; line-height: 1.2; margin-bottom: 16px; font-weight: 800; }
.hero-desc { color: #ECFCCB; font-size: 1.05rem; margin-bottom: 24px; line-height: 1.65; }
.hero-img { width: 100%; height: 350px; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.25); border: 2px solid rgba(255,255,255,0.15); }

/* Section & Cards */
.agro-section { padding: 60px 0; }
.agro-heading { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.agro-heading h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--leaf-green); margin-bottom: 10px; font-weight: 800; }
.agro-heading p { color: var(--text-muted); font-size: 0.98rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.agro-card { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-green); padding: 24px; box-shadow: 0 4px 15px rgba(77,124,15,0.03); transition: transform 0.2s, box-shadow 0.2s; }
.agro-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(77,124,15,0.08); }
.agro-card img { width: 100%; height: 210px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.agro-card h3 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--leaf-dark); margin-bottom: 8px; font-weight: 700; }
.agro-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* Interactive Calculator */
.calc-wrapper { background: #FFFFFF; border-radius: 14px; border: 2px solid var(--leaf-green); padding: 34px; margin: 40px 0; box-shadow: 0 6px 20px rgba(77,124,15,0.06); }
.calc-wrapper h3 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--leaf-green); margin-bottom: 8px; font-weight: 800; }
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.calc-field label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 6px; color: var(--text-dark); }
.calc-field select, .calc-field input { width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid #CBD5E1; font-family: inherit; font-size: 0.92rem; }
.calc-result-box { background: #F7FEE7; border-left: 4px solid var(--solar-gold); padding: 18px; border-radius: 8px; margin-top: 20px; display: none; }

/* Footer */
.agro-footer { background: var(--leaf-dark); color: #ECFCCB; padding: 50px 0 24px; font-size: 0.86rem; border-top: 3px solid var(--solar-gold); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; margin-bottom: 30px; }
.footer-cols h4 { color: #FFFFFF; font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 14px; font-weight: 700; }
.footer-cols ul { list-style: none; }
.footer-cols ul li { margin-bottom: 8px; }
.footer-cols ul a { color: #ECFCCB; text-decoration: none; }
.footer-cols ul a:hover { color: #FFFFFF; }
.agro-copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.78rem; color: #D9F99D; }

/* Modal */
.agro-modal-layer { position: fixed; inset: 0; background: rgba(0,0,0,0.65); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.agro-modal-box { background: #FFFFFF; border-radius: 12px; max-width: 500px; width: 100%; padding: 32px; position: relative; }
.agro-modal-close { position: absolute; top: 16px; right: 18px; font-size: 1.5rem; border: none; background: transparent; cursor: pointer; color: #64748B; }

/* Cookie */
.agro-cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--leaf-dark); color: #F7FEE7; padding: 12px 0; z-index: 999; font-size: 0.84rem; border-top: 2px solid var(--solar-gold); }
.cookie-flex { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 768px) {
  .hero-grid, .grid-3, .grid-2, .footer-cols, .calc-inputs { grid-template-columns: 1fr; }
  .agro-nav { display: none; }
}
