/* ===========================
   SRI SUDHARANI CASHEWS
   Premium CSS Stylesheet
   =========================== */

:root {
  --green-dark: #1a4a2e;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --green-pale: #d8f3dc;
  --gold: #c9a227;
  --gold-light: #f4d06f;
  --gold-pale: #fdf3c7;
  --cream: #fdf8f0;
  --cream-dark: #f5ede0;
  --brown: #6b4c1e;
  --text-dark: #1a1a1a;
  --text-mid: #3a3a3a;
  --text-light: #6b7280;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

/* ---- FLOATING CASHEWS ---- */
.cashew-float-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cashew-floater {
  position: absolute;
  opacity: 0;
  animation: floatUp var(--duration, 14s) var(--delay, 0s) infinite ease-in-out;
  filter: drop-shadow(0 4px 8px rgba(201,162,39,0.3));
  transform-origin: center;
  user-select: none;
  font-size: var(--size, 28px);
}

@keyframes floatUp {
  0%   { transform: translateY(110vh) rotate(0deg) scale(0.6); opacity: 0; }
  5%   { opacity: var(--op, 0.18); }
  50%  { transform: translateY(40vh) rotate(180deg) scale(1); opacity: var(--op, 0.18); }
  95%  { opacity: var(--op, 0.18); }
  100% { transform: translateY(-20vh) rotate(360deg) scale(0.8); opacity: 0; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 74, 46, 0.96);
  backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.logo-emblem {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-sri {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.logo-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
}

.logo-cashews {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

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

.nav-link {
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.nav-link:hover {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}

.nav-link.nav-cta {
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 600;
}

.nav-link.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,162,39,0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(26,74,46,0.88) 0%,
    rgba(26,74,46,0.70) 40%,
    rgba(26,74,46,0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 720px;
  padding-left: 48px;
  animation: heroFadeIn 1s ease-out both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero-brand {
  color: var(--gold-light);
  font-style: italic;
}

.hero-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(22px, 4vw, 32px);
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #e8b84b);
  color: var(--green-dark);
  box-shadow: 0 4px 20px rgba(201,162,39,0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,162,39,0.6);
}

.btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 500;
}

.badge span { font-size: 16px; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-dot {
  width: 4px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.2); }
}

/* ---- SECTION COMMON ---- */
section { position: relative; z-index: 1; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 48px;
}

.section-title em {
  color: var(--green-mid);
  font-style: italic;
}

/* ---- ABOUT ---- */
.about {
  padding: 100px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-lead {
  font-size: 18px;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.8;
  font-weight: 400;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat { text-align: center; flex: 1; }

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  background: var(--white);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.about-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.about-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- PRODUCTS ---- */
.products {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--green-pale) 0%, var(--cream) 100%);
}

.products .section-label { color: var(--green-mid); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,162,39,0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-pale), var(--gold-pale));
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.roasted-img { filter: brightness(0.9) saturate(1.3); }
.split-img   { filter: brightness(1.05) contrast(1.1); }
.bulk-img    { object-position: center 30%; }

.product-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--gold), #e8b84b);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.product-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tags span {
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(82,183,136,0.3);
}

/* ---- WHY US ---- */
.why-us {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1f5c38 50%, #2d6a4f 100%);
  color: var(--white);
}

.why-us .section-label { color: var(--gold-light); }
.why-us .section-title { color: var(--white); }
.why-us .section-title em { color: var(--gold-light); }

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

.why-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.why-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(201,162,39,0.4);
}

.why-icon {
  font-size: 44px;
  margin-bottom: 16px;
  display: block;
}

.why-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* ---- QUOTE BANNER ---- */
.quote-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gold-pale), var(--cream-dark));
  text-align: center;
}

.quote-content { max-width: 700px; margin: 0 auto; }

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 20px;
  opacity: 0.5;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.6;
  margin-bottom: 20px;
}

.quote-author {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.contact-detail { display: flex; flex-direction: column; }

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  line-height: 1.5;
}

.contact-value:hover { color: var(--gold); }

.contact-person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius-md);
  margin-top: 8px;
}

.person-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold), #e8b84b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--green-dark);
  flex-shrink: 0;
}

.person-info { display: flex; flex-direction: column; }
.person-info strong { color: var(--white); font-size: 16px; font-weight: 700; }
.person-info span  { color: rgba(255,255,255,0.7); font-size: 13px; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201,162,39,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(45,106,79,0.1);
}

.form-note {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--green-mid);
  font-weight: 600;
}

/* ---- FOOTER ---- */
.footer {
  background: linear-gradient(180deg, #111f16 0%, #0a1409 100%);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links-section h4,
.footer-contact-section h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-links-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-section ul a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links-section ul a:hover { color: var(--gold-light); }

.footer-contact-section p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-contact-section a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-section a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-motto { color: var(--gold); font-style: italic; }

/* ---- SCROLL REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — MOBILE FIRST ADJUSTMENTS
   ============================================ */

@media (max-width: 1024px) {
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--green-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 40px rgba(0,0,0,0.3);
    padding: 40px 20px;
    z-index: 999;
  }

  .nav-links.open { right: 0; }

  .nav-link {
    font-size: 17px;
    padding: 12px 32px;
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero-content {
    padding: 100px 24px 60px;
    max-width: 100%;
  }

  .hero-btns { flex-direction: column; }
  .btn       { justify-content: center; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .product-img-wrap { height: 200px; }

  /* Why Us */
  .why-grid { grid-template-columns: 1fr; }

  /* About */
  .about-visual { grid-template-columns: 1fr 1fr; }
  .about-stats  { flex-direction: column; gap: 16px; text-align: center; }
  .stat-divider { width: 40px; height: 1px; }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Contact */
  .contact-form  { padding: 24px 20px; }

  /* Sections */
  .about, .products, .why-us, .contact, .quote-banner { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-badges   { gap: 8px; }
  .badge         { font-size: 12px; padding: 6px 12px; }
  .about-visual  { grid-template-columns: 1fr; }
  .about-card    { padding: 20px; }
  .products-grid { gap: 16px; }
  .logo-brand    { font-size: 17px; }
  .contact-form  { padding: 20px 16px; }

  /* Fewer floating cashews on small screens handled in JS */
}

/* Hamburger open state */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
