/* Basic responsive styling for Balaji Farm Feeds */
:root{
  --green:#0b7a43;
  --accent:#ff8c1a;
  --muted:#666;
  --maxwidth:1000px;
  --navcolor:#823525;
  --white:#fff
}
*{box-sizing:border-box;}
body{color: var(--navcolor);font-family: "Roboto", sans-serif; font-size: 16px;  line-height: 1.5; background:#fafafa;}
p{color: var(--muted); }
h1,h3,h2, li{color: var(--navcolor);}
li{margin-bottom:8px; font-size: 14px; color: var(--muted); text-align: start;}
.wrap{max-width:var(--maxwidth); margin:0 auto; padding:0px; color:var(--white)}
.header-inner{display:flex; align-items:center; justify-content:space-between}
.site-header{background:var(--white); color:#fff; padding:12px 0}
.logo{height:105px}
.main-nav a{color:var(--navcolor); margin-left:18px; text-decoration:none; font-weight:600;}
.hero{background:linear-gradient(90deg, rgba(11,122,67,0.06), rgba(255,140,26,0.04)); padding:36px 0; display:flex; align-items:center}
.hero-inner{display:flex; gap:30px; align-items:center}
.hero-text h1{margin:0; font-size:32px}
.tagline{margin:8px 0 16px; color:var(--muted)}
.hero-image{width:320px; max-width:40%}
.features{display:flex; gap:18px; margin-top:20px; flex-wrap:wrap}
.feature-card{background:#fff; padding:18px; border-radius:10px; text-align:center; flex:1; min-width:220px; box-shadow:0 6px 20px rgba(0,0,0,0.06)}
.feature-card img{height:55%;}

.btn{display:inline-block; background:var(--navcolor); color:#fff; padding:10px 16px; border-radius:8px; text-decoration:none; font-weight:600;margin-top: 10px;}
.btn.small{padding: 8px 87px;
    font-size: 14px;
    margin-bottom: 20px;}
.about-preview{margin-top:28px; background:#fff; padding:20px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.04); display: flex;}
.about-preview .intro-text h2{color: var(--navcolor);}
.cta{text-align: center;
    background: antiquewhite;
    padding: 34px 0;}
.cta .btn.whatsapp{background:#25D366}
.products{
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px;
}
.products .product-grid{display:flex; gap:20px; flex-wrap:wrap; margin-top:20px}
.product-card{background:#fff; border-radius:10px; padding:14px; max-width:320px; box-shadow:0 6px 18px rgba(0,0,0,0.04); text-align:center}
.product-card img{width:100%; height:180px; object-fit:cover; border-radius:8px}
.site-footer{background:#bf695738; color:#fff; padding:18px; margin-top:40px; text-align:center}
.whatsapp-float{position:fixed; right:18px; bottom:18px; background:#25D366; width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; text-decoration:none; font-size:24px; box-shadow:0 6px 18px rgba(0,0,0,0.15)}
.contact-page .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px}
.contact-form{background:#fff; padding:18px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.04)}
.contact-form label{display:block; margin-top:10px; font-weight:600;color: var(--navcolor);}
.contact-form input, .contact-form select, .contact-form textarea{width:100%; padding:10px; margin-top:6px; border-radius:6px; border:1px solid #e6e6e6}
.muted{color:var(--muted); font-size:13px}

.top-header{background:var(--navcolor); color:#fff; font-size:14px; padding:6px 0; text-align:center}
.top-header a{color:#fff; text-decoration:none; font-weight:600}
.top-header p{margin:0; font-size:14px; color: var(--white);} 
@media (max-width:800px){
  .hero-inner{flex-direction:column; text-align:center}
  .hero-image{max-width:80%}
  .contact-page .contact-grid{grid-template-columns:1fr}
}





/* Header base styles */
.site-header {
  padding: 10px 20px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}



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

.main-nav a {
  color: var(--navcolor);
  text-decoration: none;
  font-weight: bold;
}

/* Hamburger menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--navcolor);
  border-radius: 2px;
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 50%;
    left: 30%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: white;
  background:var(--navcolor);
  padding: 20px;
  border-radius: 10px;
  min-width:30%;
}

.overlay h2 {
  font-size: 2.0rem;
  margin-bottom: 10px;
  margin-top:0;
  color:var(--white);
}

.overlay p {
  font-size: 1.0rem;
  margin-bottom: 10px;
  margin-top:0;
}
.overlay p{
  color:var(--white)
}

.overlay .btn {
  background: var(--accent);
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* Nav buttons */
.hero-carousel .prev,
.hero-carousel .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
}

.hero-carousel .prev { left: 20px; }
.hero-carousel .next { right: 20px; }

/* Mobile styles */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--white);
    margin-top: 10px;
    padding: 10px 0;
  }

  .main-nav a {
    padding: 5px;
    display: block;
   border-bottom: 1px solid #edeaea;
  }

  .main-nav.active {
    display: flex;
  }

  .overlay h2 { font-size: 1.5rem; }
  .overlay p { font-size: 1rem; }
  .overlay .btn { padding: 10px 15px; font-size: 0.9rem; }
  .hero-carousel { height: 60vh; }
  .about-preview {flex-direction:column; gap: 20px;}
  .overlay { left: 50%; min-width: 80%; }
  .product-card{max-width:100%;}
}

