/* ============================================
   Manju Nature & Soil — Desktop Stylesheet
   ============================================ */

/* ── VARIABLES ── */
:root {
  --green-dark:    #1a4a1a;
  --green-mid:     #2d6a2d;
  --orange:        #d46e2a;
  --orange-tag:    #e8874a;
  --bg-light:      #f5f2ed;
  --text-dark:     #1a2e1a;
  --text-body:     #4a4a4a;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
}

/* ============================================
   NAVIGATION
   ============================================ */

#sanctuary,
#products,
#contact {
    scroll-margin-top: 100px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #326c32;
  display: block;
}
.nav-menu{
    display:none; /* hide initially */
}

.nav-logo-icon {
  width: 30px;
  height:30px;
}

.logo-img{
    width:45px;
    height:45px;
    object-fit:contain;
}

.brand{
    display:flex;
    align-items:center;
    gap:10px;
}

.nav-title {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
}

#menu-toggle{
    display:none;
}

.nav-menu{
    position:absolute;
    top:70px;
    left:20px;
    background:#fff;
    padding:15px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
    min-width:200px;
}

.nav-menu a{
    display:block;
    padding:12px 15px;
    text-decoration:none;
    color:var(--green-dark);
    font-weight:600;
    border-radius:8px;
    transition:all 0.3s ease;
    
}

.nav-menu a:hover{
    background:#f5f2ed;
    color:var(--orange);
}

#menu-toggle:checked + .hamburger + .nav-menu{
    display:block;
}

/* Desktop nav links */
.nav-links a:hover { color: var(--green-dark); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-left{
    display:flex;
    align-items:center;
    gap:12px;
}

.nav-cart {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
}
.nav-cart svg { width: 24px; height: 24px; }

.nav-cta-btn {
  background: var(--green-dark);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s;
}
.nav-cta-btn:hover { background: var(--green-mid); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background-color: #2a4a18;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Gradient overlay — image shows top, fades to cream at bottom */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.06) 40%,
    rgba(245, 242, 237, 0.75) 68%,
    rgba(245, 242, 237, 1.00) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 5% 3rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.hero-text { max-width: 540px; }

.hero-tag {
  display: inline-block;
  background: var(--orange-tag);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Merriweather', serif;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.12;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-width: 46ch;
}

.hero-btn {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.8rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.2s;
}
.hero-btn:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

/* ============================================
   SECTION HEADING
   ============================================ */
.section-heading {
  padding: 3.5rem 5% 1rem;
}

.section-heading h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 0.45rem;
}

.section-underline {
  width: 3rem;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

/* ============================================
   SANCTUARY CARDS — 4 columns on desktop
   ============================================ */
.sanctuary-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 5% 3rem;
}

.s-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.s-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.s-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.s-card-img img,
.s-card-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-card-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(232, 135, 74, 0.92);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.s-card-badge.green {
  background: rgba(45, 106, 45, 0.88);
}

.s-card-body {
  padding: 1.3rem 1.4rem 1.5rem;
}

.s-card-title {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.s-card-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.s-card-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.s-card-link:hover { gap: 0.6rem; }

/* ============================================
   FARM TO TABLE ESSENTIALS
   ============================================ */
/* ============================================
   WHY FAMILIES CHOOSE US
   ============================================ */

.essentials {
  padding: 4rem 5%;
  background: var(--bg-light);
}

.essentials h2 {
  text-align: center;
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 2.5rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.why-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: #eef7e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-family: 'Merriweather', serif;
  color: var(--green-dark);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.why-card p {
  color: var(--text-body);
  line-height: 1.7;
  font-size: 0.95rem;
}


/* Mobile */

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 0 5% 3rem;
}

.contact-card {
  background: var(--green-dark);
  border-radius: 20px;
  padding: 3rem 4rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-left h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.contact-left p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.7;
}

.contact-right { display: flex; flex-direction: column; gap: 0.9rem; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.contact-row svg { opacity: 0.85; flex-shrink: 0; }

.contact-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0.5rem 0;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.s-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.s-circle:hover {
  transform: translateY(-4px);
}

.whatsapp{
    background:#25D366;
}

.facebook {
  background: #1877F2;
}

.instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%
  );
}

.twitter {
  background: #000;
}

.telegram{
    background:#229ED9;
}


/* ============================================
   FOOTER
   ============================================ */

footer {
  background: #fff;
  padding: 3rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-dark);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green-dark); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-body);
  opacity: 0.6;
}



/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {

  /* Show hamburger on mobile */
  .hamburger{
      display:flex;
  }

  /* Hide desktop navigation on mobile */
  .nav-links,
  .nav-right{
      display:none;
  }

  /* Navigation */
  nav{
    padding:1rem;
  }

  .logo-img{
    width:45px;
    height:45px;
  }

  .nav-title{
    font-size:0.95rem;
  }

  /* Hero */
  .hero{
    height:500px;
  }

  .hero-content{
    padding:2rem 1.5rem;
  }

  .hero-title{
    font-size:2rem;
  }

  .hero-desc{
    font-size:0.9rem;
  }

  .hero-btn{
    padding:0.8rem 1.5rem;
  }

  /* Sanctuary Cards */
  .sanctuary-list{
    grid-template-columns:1fr;
  }

  /* Why Choose Us */
  .why-grid{
    grid-template-columns:1fr;
  }

  .why-card{
    padding:1.5rem;
  }

  /* Contact */
  .contact-card{
    grid-template-columns:1fr;
    padding:2rem;
  }

  /* Footer */
  footer{
    flex-direction:column;
    text-align:center;
  }

  .footer-links{
    flex-direction:column;
    gap:1rem;
  }

  .social-row{
    justify-content:center;
  }

  /* Mobile dropdown */
  .nav-menu{
      position:absolute;
      top:70px;
      left:15px;
      display:none;
      background:#fff;
      padding:15px;
      border-radius:10px;
      box-shadow:0 5px 15px rgba(0,0,0,0.15);
      z-index:999;
  }

  #menu-toggle:checked + .hamburger + .nav-menu{
      display:block;
  }
}
