/* =================================================================
   VAIBHAV AGRO AGENCIES — Stylesheet
   Pure CSS3. Grid + Flexbox + Media Queries only.
   ================================================================= */

/* -----------------------------------------------------------------
   1. RESET & BASE
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  line-height: 1.15;
  font-weight: 600;
  color: var(--forest);
}

/* Visible keyboard focus */
a:focus-visible, .btn:focus-visible, label.nav-burger:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* -----------------------------------------------------------------
   2. DESIGN TOKENS
   ----------------------------------------------------------------- */
:root {
  --forest: #1F2D1F;
  --primary: #0B6B3A;
  --leaf: #F58220;
  --sprout: #F8FCF6;
  --cream: #F8FCF6;
  --white: #FFFFFF;
  --ink: #1F2D1F;
  --ink-soft: rgba(31, 45, 31, 0.72);
  --gold: #F58220;

  --shadow-sm: 0 2px 8px rgba(31, 45, 31, 0.08);
  --shadow-md: 0 10px 30px rgba(31, 45, 31, 0.12);
  --shadow-lg: 0 20px 50px rgba(31, 45, 31, 0.18);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;

  --container-max: 1240px;
  --header-h: 84px;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--sprout); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }
.section-head-light h2 { color: var(--white); }

/* -----------------------------------------------------------------
   3. BUTTONS
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--forest); transform: translateY(-2px); }

.btn-call {
  background: var(--sprout);
  color: var(--forest);
  padding: 11px 24px;
  font-size: 0.88rem;
}
.btn-call:hover { background: var(--leaf); color: var(--white); }
.btn-call-mobile { width: 100%; margin-top: 20px; }

/* -----------------------------------------------------------------
   4. HEADER
   ----------------------------------------------------------------- */
.nav-toggle { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 252, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 45, 31, 0.08);
}

.header-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-nav {
  margin-left: auto;
  margin-right: 40px;
}

.site-nav ul { display: flex; gap: 34px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { color: var(--primary); flex-shrink: 0; display: flex; }
.brand-mark img { width: 110px; height: 110px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.08rem; color: var(--forest); }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }

.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--leaf);
  transition: width 0.25s ease;
}
.site-nav a:hover::after { width: 100%; }

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

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  transition: max-height 0.35s ease;
  border-top: 1px solid rgba(31, 45, 31, 0.08);
}
.mobile-nav ul { padding: 10px 24px; }
.mobile-nav li { border-bottom: 1px solid rgba(31, 45, 31, 0.06); }
.mobile-nav a { display: block; padding: 14px 0; font-weight: 600; }
.mobile-nav .btn-call-mobile { margin: 16px 24px 20px; width: calc(100% - 48px); }

#nav-toggle:checked ~ .site-header .mobile-nav,
#nav-toggle:checked + .site-header .mobile-nav { max-height: 600px; }

/* -----------------------------------------------------------------
   5. HERO
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(31, 45, 31, 0.64) 0%, rgba(31, 45, 31, 0.78) 100%),
    url('image/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(245,130,32,0.25), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
  padding: 60px 24px;
  text-align: center;
  color: var(--white);
}

.hero-emblem { display: flex; justify-content: center; margin-bottom: 18px; }
.hero-emblem svg { transform: rotate(-6deg); }

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--sprout);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-desc {
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 34px;
}

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

/* -----------------------------------------------------------------
   6. ABOUT
   ----------------------------------------------------------------- */
.about { padding: 100px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  width: 500px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge-num { display: block; font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about-badge-label { display: block; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }

.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 26px; max-width: 560px; }

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(31, 45, 31, 0.1);
  font-weight: 600;
  color: var(--forest);
}
.about-points li:last-child { border-bottom: 1px solid rgba(31, 45, 31, 0.1); }
.about-points .dot {
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--leaf);
  margin-top: 7px;
}

/* -----------------------------------------------------------------
   7. PRODUCTS
   ----------------------------------------------------------------- */
.products { padding: 100px 0; background: var(--sprout); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.product-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 7 / 5;
  margin-bottom: 18px;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }

.product-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.product-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* -----------------------------------------------------------------
   8. WHY CHOOSE US
   ----------------------------------------------------------------- */
.why-us {
  padding: 100px 0;
  background: var(--forest);
  background-image: radial-gradient(ellipse at 80% 0%, rgba(245,130,32,0.25), transparent 60%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,130,32,0.15);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.feature-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--forest);
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: rgba(255,255,255,0.75); font-size: 0.92rem; }

/* -----------------------------------------------------------------
   9. GALLERY
   ----------------------------------------------------------------- */
.gallery { padding: 100px 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31,45,31,0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* -----------------------------------------------------------------
   10. CONTACT
   ----------------------------------------------------------------- */
.contact { padding: 100px 0; background: var(--sprout); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.contact-lead { font-weight: 700; color: var(--primary); margin-bottom: 22px; font-size: 1.05rem; }

.contact-list { margin-bottom: 30px; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(31,45,31,0.12);
  font-weight: 600;
}
.contact-list li:last-child { border-bottom: 1px solid rgba(31,45,31,0.12); }
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* -----------------------------------------------------------------
   11. FOOTER
   ----------------------------------------------------------------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,0.8); padding-top: 76px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.brand-footer .brand-mark { color: var(--sprout); }
.brand-footer .brand-name { color: var(--white); }
.brand-footer .brand-sub { color: var(--sprout); }

.footer-brand p { margin-top: 18px; font-size: 0.92rem; max-width: 320px; color: rgba(255,255,255,0.65); }

.footer-links h3, .footer-contact h3 {
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--sprout); }

.footer-contact p { font-size: 0.95rem; margin-bottom: 12px; color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--sprout); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* =================================================================
   12. RESPONSIVE — MEDIA QUERIES
   ================================================================= */

@media (max-width: 1200px) {
  .site-nav ul { gap: 22px; }
}

@media (max-width: 992px) {
  .site-nav { display: none; }
  .nav-burger { display: flex; }
  .mobile-nav { display: block; }

  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-image { max-width: 420px; margin-inline: auto; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map { min-height: 280px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .brand-mark img { width: 60px; height: 60px; }

  .about, .products, .why-us, .gallery, .contact { padding: 70px 0; }
  .site-footer { padding-top: 56px; }

  .hero { min-height: 88vh; }
  .hero-content { padding: 40px 22px; }

  .card-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 576px) {
  .container { padding-inline: 18px; }
  .header-inner { padding-inline: 18px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }

 .about-badge { padding: 14px 16px; bottom: 12px; right: 12px; }
  .about-badge-num { font-size: 1.7rem; }

  .btn-call { display: none; }
}

@media (max-width: 425px) {
  .brand-sub { display: none; }
  .brand-mark img { width: 48px; height: 48px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-content h1 { font-size: 2rem; }
}

@media (max-width: 375px) {
  .header-inner { height: 64px; }
  .brand-name { font-size: 0.98rem; }
  .hero-emblem svg { width: 82px; height: 82px; }
}

@media (min-width: 1600px) {
  :root { --container-max: 1400px; }
  .hero-content { max-width: 860px; }
}