@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

:root {
  --mango: #F5A623;
  --mango-dark: #E07B39;
  --leaf: #2D5016;
  --leaf-light: #4a7c2f;
  --cream: #FFF8EC;
  --cream-dark: #F5EDD8;
  --bark: #7B3F00;
  --text: #2C1810;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; }

.brand-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--leaf);
}

.telugu {
  font-family: 'Noto Serif Telugu', 'Playfair Display', serif;
  color: var(--mango-dark);
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(255, 248, 236, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(44, 24, 16, 0.08);
}

.nav-logo {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.btn-preorder {
  background: var(--leaf);
  color: white !important;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.2s !important;
}

.btn-preorder:hover {
  background: var(--mango-dark) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  background: var(--cream);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 8rem 4rem 4rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mango-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  color: var(--leaf);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #5a3e2b;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: var(--mango);
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--mango-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 123, 57, 0.35);
}

.btn-secondary {
  color: var(--leaf);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--leaf);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: var(--leaf);
  color: white;
}

.hero-art {
  position: absolute;
  right: -2%;
  top: 0;
  bottom: 0;
  width: 55%;
  opacity: 0.18;
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 44%;
  max-width: 500px;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(44, 24, 16, 0.12));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-12px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--mango-dark);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Section Shared ── */
section { padding: 6rem 2rem; }

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mango-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--leaf);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* ── Story ── */
#story {
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.story-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #5a3e2b;
  margin-bottom: 1.2rem;
}

.story-text .highlight {
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--leaf);
  border-left: 3px solid var(--mango);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  line-height: 1.5;
}

.story-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.story-image-wrap img {
  width: 90%;
  max-width: 440px;
  border-radius: 2px;
  filter: drop-shadow(0 30px 80px rgba(44, 24, 16, 0.15));
}

.story-badge {
  position: absolute;
  bottom: -1rem;
  left: 0;
  background: var(--mango);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.3);
}

/* ── Quality Badges ── */
#quality {
  background: var(--leaf);
  padding: 4rem 2rem;
}

.quality-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.quality-title {
  text-align: center;
  color: var(--mango);
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.badge-icon {
  width: 72px;
  height: 72px;
  background: rgba(245, 166, 35, 0.15);
  border: 1.5px solid rgba(245, 166, 35, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform 0.3s;
}

.badge-item:hover .badge-icon { transform: scale(1.1); }

.badge-label {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── Process ── */
#process {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process-inner .section-title,
.process-inner .section-eyebrow { text-align: center; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--mango) 0%, var(--leaf) 100%);
  opacity: 0.3;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  position: relative;
}

.process-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 32px rgba(44, 24, 16, 0.12);
  position: relative;
  z-index: 1;
}

.process-img.placeholder {
  background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.process-number {
  width: 28px;
  height: 28px;
  background: var(--mango);
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  position: absolute;
  top: 4px;
  right: calc(50% - 82px);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
}

.process-step h3 {
  font-size: 1.05rem;
  color: var(--leaf);
}

.process-step p {
  font-size: 0.875rem;
  color: #7a5c3e;
  line-height: 1.6;
}

/* ── Mango Varieties ── */
#varieties {
  background: var(--cream-dark);
}

.varieties-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.varieties-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.varieties-header p {
  color: #7a5c3e;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.varieties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.variety-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.variety-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(44, 24, 16, 0.12);
}

.variety-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.variety-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, #FFF3CD 0%, #FFE082 100%);
}

.variety-body {
  padding: 1.5rem;
}

.variety-tag {
  display: inline-block;
  background: rgba(245, 166, 35, 0.15);
  color: var(--mango-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.variety-body h3 {
  font-size: 1.3rem;
  color: var(--leaf);
  margin-bottom: 0.5rem;
}

.variety-body .telugu-name {
  font-size: 0.95rem;
  color: var(--mango-dark);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.variety-body p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #7a5c3e;
  margin-bottom: 1rem;
}

.variety-attrs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.attr {
  font-size: 0.75rem;
  color: var(--leaf);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
}

.variety-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f0e8d8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coming-tag {
  font-size: 0.8rem;
  color: var(--mango-dark);
  font-weight: 700;
}

.watch-link {
  font-size: 0.8rem;
  color: #c00;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.watch-link:hover { color: #900; }

/* ── CTA Banner ── */
#cta {
  background: var(--leaf);
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem;
  text-align: center;
}

.cta-art {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  color: var(--mango);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-title em {
  color: var(--mango);
  font-style: italic;
}

.cta-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: white;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

/* ── Footer ── */
footer {
  background: #1a0f0a;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo { height: 56px; width: auto; margin-bottom: 1rem; }

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--mango); }

.footer-copy {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
}

/* ── Swiper badges override ── */
.badges-swiper { padding-bottom: 2.5rem !important; }
.badges-swiper .swiper-slide { display: flex; justify-content: center; }
.badges-pagination .swiper-pagination-bullet { background: rgba(245,166,35,0.5); }
.badges-pagination .swiper-pagination-bullet-active { background: var(--mango); }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ── Mango leaf divider ── */
.leaf-divider {
  text-align: center;
  padding: 0.5rem;
  color: var(--mango);
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  opacity: 0.5;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  #navbar { padding: 1rem; }
  .nav-links { display: none; }

  .hero-content { padding: 7rem 1.5rem 3rem; max-width: 100%; }
  .hero-title { font-size: 2.6rem; }
  .hero-logo { display: none; }
  .hero-art { opacity: 0.07; right: -20%; width: 80%; }

  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-image-wrap { order: -1; }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps::before { display: none; }

  .varieties-grid { grid-template-columns: 1fr; }

  section { padding: 4rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .badges-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .process-steps { grid-template-columns: 1fr; }
}
