/* ============================================
   Pahadi Roots — Stylesheet
   Mobile-first, clean, warm & earthy
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --saffron: #D4760A;
  --saffron-light: #E8943A;
  --brown: #5C3D2E;
  --brown-light: #7A5A4A;
  --cream: #FFF8F0;
  --cream-dark: #F5EBDD;
  --green: #2D5016;
  --green-light: #3D6B1E;
  --white: #FFFFFF;
  --shadow: 0 2px 12px rgba(92, 61, 46, 0.1);
  --shadow-hover: 0 4px 20px rgba(92, 61, 46, 0.18);
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--brown);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--saffron);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--saffron-light);
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 600;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation --- */
.nav {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(92, 61, 46, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--saffron);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--brown);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--saffron);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--brown);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #3a2a1a 0%, #5C3D2E 50%, #2D5016 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 40px 20px;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--saffron-light);
}

.hero-tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 12px;
  font-weight: 300;
}

.hero-tagline-hindi {
  font-size: 1rem;
  opacity: 0.7;
  font-style: italic;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--saffron);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--saffron-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 118, 10, 0.35);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(45, 80, 22, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--saffron);
  border: 2px solid var(--saffron);
}

.btn-outline:hover {
  background: var(--saffron);
  color: var(--white);
  transform: translateY(-2px);
}

/* WhatsApp button */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: 1.05rem;
  padding: 16px 40px;
}

.btn-whatsapp:hover {
  background: #20BD5A;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  width: 20px;
  height: 20px;
}

/* --- Story Snippet (Home) --- */
.story-snippet {
  padding: 80px 20px;
  text-align: center;
  background: var(--white);
}

.story-snippet h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--brown);
}

.story-snippet p {
  max-width: 650px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  color: var(--brown-light);
}

.story-snippet .read-more {
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- Marquee Product --- */
.marquee-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.marquee-product-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  background: var(--cream-dark);
}

.marquee-product-body {
  padding: 32px 32px 32px 0;
}

.marquee-product-body h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.marquee-product-body p {
  font-size: 0.95rem;
  color: var(--brown-light);
  margin-bottom: 12px;
}

.marquee-product-body .product-price {
  font-size: 1.4rem;
}

.marquee-product-body .btn {
  margin-top: 8px;
}

.marquee-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .marquee-product {
    grid-template-columns: 1fr;
  }

  .marquee-product-body {
    padding: 24px;
  }

  .marquee-product-body h3 {
    font-size: 1.3rem;
  }
}

/* --- Products Section --- */
.products-section {
  padding: 80px 20px;
}

.products-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.products-section h2 {
  margin-bottom: 20px;
}

.products-section h2 + p {
  text-align: center;
  color: var(--brown-light);
  margin-bottom: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 85%;
  background: var(--cream-dark);
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.product-origin {
  font-size: 0.85rem;
  color: var(--brown-light);
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--brown-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 16px;
}

.product-card-body .btn {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--brown);
  color: var(--cream);
  padding: 28px 20px;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  background: var(--brown);
  color: var(--cream);
  padding: 48px 20px 28px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.footer-brand h3 span {
  color: var(--saffron-light);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--saffron-light);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--cream);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--saffron-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 248, 240, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- Product Detail Page --- */
.product-detail {
  padding: 60px 20px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.product-detail-img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--cream-dark);
  min-height: 350px;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.product-detail-info .product-origin {
  font-size: 1rem;
  margin-bottom: 20px;
}

.product-detail-info .product-price {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.weight-options {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.weight-option {
  padding: 8px 20px;
  border: 2px solid var(--cream-dark);
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  background: var(--white);
  color: var(--brown);
  transition: all var(--transition);
  font-weight: 500;
}

.weight-option:hover,
.weight-option.active {
  border-color: var(--saffron);
  background: var(--saffron);
  color: var(--white);
}

.product-description {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--cream-dark);
}

.product-description p {
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--brown-light);
}

/* --- Product Gallery --- */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
}

.product-thumbnails .thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all var(--transition);
}

.product-thumbnails .thumb:hover,
.product-thumbnails .thumb.active {
  border-color: var(--saffron);
  opacity: 1;
}

/* --- Story / Heritage Section --- */
.heritage-section {
  padding: 80px 20px;
  background: var(--white);
}

.heritage-section .container {
  max-width: 750px;
}

.heritage-section h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  text-align: center;
}

.heritage-section p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  color: var(--brown-light);
}

.gi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--saffron);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--saffron);
  margin-top: 8px;
}

/* --- Recipe Section --- */
.recipe-section {
  padding: 80px 20px;
  background: var(--cream);
}

.recipe-section .container {
  max-width: 750px;
}

.recipe-section h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  text-align: center;
}

.recipe-steps {
  list-style: none;
  counter-reset: step;
}

.recipe-steps li {
  counter-increment: step;
  padding: 16px 0 16px 52px;
  position: relative;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.98rem;
  color: var(--brown-light);
}

.recipe-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 16px;
  width: 34px;
  height: 34px;
  background: var(--saffron);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

/* --- About Page --- */
.about-hero {
  padding: 80px 20px;
  background: var(--white);
  text-align: center;
}

.about-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.about-hero .tagline {
  font-size: 1.15rem;
  color: var(--brown-light);
}

.about-story {
  padding: 60px 20px 80px;
}

.about-story .container {
  max-width: 700px;
}

.about-story p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--brown-light);
  line-height: 1.8;
}

.about-story .highlight {
  font-size: 1.2rem;
  color: var(--brown);
  font-weight: 600;
  border-left: 4px solid var(--saffron);
  padding-left: 20px;
  margin: 32px 0;
}

.about-mission {
  padding: 60px 20px;
  background: var(--cream-dark);
  text-align: center;
}

.about-mission h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.about-mission p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--brown-light);
}

/* --- Contact Section --- */
.contact-section {
  padding: 60px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  border-radius: 50px;
  box-shadow: var(--shadow);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brown);
  transition: all var(--transition);
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: var(--saffron);
}

.contact-link svg {
  width: 20px;
  height: 20px;
}

/* --- Back Link --- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--brown-light);
}

.back-link:hover {
  color: var(--saffron);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(92, 61, 46, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav .container {
    position: relative;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail-info h1 {
    font-size: 1.7rem;
  }

  .trust-bar .container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .weight-options {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .btn-whatsapp {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* --- Placeholder images (remove when real photos are added) --- */
.placeholder-img {
  background: linear-gradient(135deg, var(--cream-dark) 0%, #e6d5c3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
  font-size: 0.85rem;
  font-style: italic;
}
