/* Clean, ordered, premium earthy theme - mobile-first */
:root{
  --green: #2e6b3b;
  --gold: #d9a800;
  --cream: #fbf6ec;
  --text: #2b2b2b;
  --muted: #60605f;
  --card: #ffffff;
  --shadow: 0 8px 24px rgba(16,24,16,0.08);
  --radius: 12px;
  --container: 1100px;
  --wa: #25d366;
  --accent: #2E7D32;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Poppins', sans-serif;
  background:var(--cream);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

/* Container */
.container{max-width:var(--container);margin:0 auto;padding:0 16px}

/* Header */
.site-header{position:sticky;top:0;background:linear-gradient(180deg,var(--green),#24522b);color:#fff;z-index:1000}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:56px;height:56px;border-radius:8px;object-fit:cover;background:#fff}
.brand-text h1{font-family:'Playfair Display', serif;margin:0;font-size:1.15rem}
.brand-text .tag{margin:0;font-size:0.78rem;opacity:0.95}

/* Nav */
.main-nav{display:flex; flex-wrap: wrap;align-items:center;gap:12px}
.nav-link{color:#fff;text-decoration:none;padding:6px 8px;border-radius:8px;font-weight:600}
.nav-link.active, .nav-link:hover{background:rgba(255,255,255,0.06);border-bottom:3px solid var(--gold)}
.nav-toggle{display:none;background:transparent;border:0;color:#fff;font-size:1.2rem}

/* HERO */
.hero{padding:36px 0; 
 background-image: linear-gradient(rgba(0, 0, 0, 0.5),
                                       rgba(0, 0, 0, 0.5)),
       url("../images/groundnut_hero_01.jpg");
       background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
.hero-inner{display:flex;flex-direction:column;gap:18px;align-items:center;}
.hero-copy{text-align:center;max-width:720px;}
.display-title{font-family:'Playfair Display', serif;font-size:1.55rem;margin:0 0 8px;color:#fff}
.lead{margin:0 0 14px;color:rgba(255,255,255,0.95)}
.hero-ctas{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.hero-image img{width:260px;border-radius:14px;box-shadow:var(--shadow);object-fit:cover}

/* Buttons */
.btn{display:inline-block;padding:10px 18px;border-radius:999px;text-decoration:none;font-weight:700;cursor:pointer;border:0}
.btn-primary{background:var(--green);color:#fff}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,0.12)}
.btn-secondary{background:var(--gold);color:#2b2b2b}

/* Sections */
.section{padding:28px 0}
.section-title{font-family:'Playfair Display', serif;font-size:1.1rem;margin:0 0 6px;color:var(--green)}
.section-sub{color:var(--muted);margin:6px 0 14px}

/* FEATURE GRID */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:12px;
}
.feature-card{
  background:var(--card);
  border-radius:12px;
  padding:16px;
  box-shadow:var(--shadow);
  display:flex;
  gap:12px;
  align-items:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover{transform:translateY(-6px)}
.feature-ico{width:48px;height:48px;display:flex;align-items:center;justify-content:center}

/* PRODUCTS */
:root {
  --card: #fff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --muted: #666;
  --accent: #2E7D32;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Product Card */
.product-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  cursor: pointer;
  transform: translateY(0);
}

/* Hover Animation */
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

/* Card Body */
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body h3 {
  font-size: 1.2rem;
  color: #2a2a2a;
  margin-bottom: 4px;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Button Styling */
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #43A047, #1B5E20);
  transform: scale(1.05);
}

/* Card Actions */
.card-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
}

/* center helper */
.center{text-align:center;margin-top:16px}

/* ABOUT */
.about-grid{display:grid;grid-template-columns:1fr;gap:12px;align-items:center}
.about-image img{width:100%;border-radius:10px;box-shadow:var(--shadow);object-fit:cover}

/* CONTACT */
.contact-section{display:flex;flex-wrap:wrap;gap:12px;margin:0 auto}
.contact-card{
              background:#fff;
              padding:12px;
              width: 320px;
              text-align: left;
              border-radius:10px;
              box-shadow:var(--shadow);
              text-align:center
              }
@media (max-width: 600px) {
  .contact-card{ 
    width: 100%; 
  }
}

/* FOOTER */
.site-footer{background:linear-gradient(180deg,#24522b,var(--green));color:#fff;padding:18px 0;text-align:center;margin-top:18px}

/* WhatsApp */
.whatsapp-float{position:fixed;right:16px;bottom:16px;background:var(--wa);padding:10px;border-radius:50%;box-shadow:0 12px 30px rgba(37,211,102,0.12)}
.whatsapp-float img{width:40px;height:40px;display:block}

/* Modal */
.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.45);align-items:center;justify-content:center;padding:20px;z-index:2000}
.modal-dialog{background:#fff;border-radius:12px;max-width:520px;width:100%;box-shadow:var(--shadow);overflow:hidden}
.modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #f1f1f1}
.modal-body{padding:14px 18px;max-height:60vh;overflow:auto}
.modal-footer{display:flex;gap:10px;justify-content:flex-end;padding:12px 18px;border-top:1px solid #f1f1f1}
.modal-close{background:transparent;border:0;font-size:18px;cursor:pointer}

/* Cart items */
.cart-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px dashed #eee}
.cart-item .left{display:flex;gap:12px;align-items:center}
.cart-item img{width:56px;height:56px;object-fit:cover;border-radius:8px}
.qty-controls{display:flex;gap:6px;align-items:center}
.qty-controls button{width:30px;height:30px;border-radius:6px;border:1px solid #ddd;background:#fff;cursor:pointer}

/* Add more select */
.add-more{display:flex;gap:8px;align-items:center;margin-top:12px}

/* Animations */
.animate-up{opacity:0;transform:translateY(10px);will-change:transform,opacity}
.animate-item{opacity:0;transform:translateY(8px)}
.in-view{animation:fadeUp .55s ease forwards}
@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

/* Responsive */
@media(min-width:720px){
  .hero-inner{flex-direction:row;align-items:center;justify-content:space-between}
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .about-grid{grid-template-columns:1fr 1fr}
  .feature-grid{grid-template-columns:repeat(4,1fr)}
}
