/* The Juice Stalk - Custom Premium Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&family=Outfit:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-forest: #143d22;
  --primary-green: #184a28;
  --accent-leaf: #7ea834;
  --accent-lime: #84cc16;
  --bg-cream: #fafcf8;
  --bg-card: #ffffff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Montserrat', sans-serif;
}

.font-condensed {
  font-family: 'Outfit', 'Montserrat', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #84cc16;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #184a28;
}

/* Floating animation for badge */
@keyframes softFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(1.5deg);
  }
}

.animate-soft-float {
  animation: softFloat 4s ease-in-out infinite;
}

/* Product Card Hover */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(20, 61, 34, 0.1), 0 8px 10px -6px rgba(20, 61, 34, 0.05);
}

.hero-gradient {
  background: radial-gradient(circle at 85% 30%, rgba(232, 245, 233, 0.8) 0%, rgba(250, 252, 248, 0.6) 45%, rgba(255, 255, 255, 1) 75%);
}

.cta-banner-bg {
  background: linear-gradient(135deg, #184a28 0%, #1e5832 60%, #143d22 100%);
}

.footer-bg {
  background-color: #0e2918;
}

.active-tab {
  background-color: #184a28 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(24, 74, 40, 0.25);
}

/* Active Nav link indicator */
.nav-link.active-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 4px;
  height: 2.5px;
  background-color: #184a28;
  border-radius: 2px;
}

/* Marquee Smooth Rightward Scrolling */
@keyframes marqueeScrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.animate-marquee-right {
  display: flex;
  width: max-content;
  animation: marqueeScrollRight 28s linear infinite;
  will-change: transform;
}

.animate-marquee-right:hover {
  animation-play-state: paused;
}

.marquee-mask {
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}


/* Full-Screen Hero Scenic Backdrop */
.hero-fullscreen-section {
  min-height: calc(100vh - 80px);
  position: relative;
  background-color: #ffffff;
  background-image: 
    linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.96) 35%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 80% 40%, rgba(232, 245, 233, 0.7) 0%, rgba(255, 255, 255, 0.9) 70%),
    url('../assets/images/hero-fullscreen-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

@media (max-width: 1024px) {
  .hero-fullscreen-section {
    background-image: 
      linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.92) 40%, rgba(255, 255, 255, 0.4) 100%),
      url('../assets/images/hero-fullscreen-bg.jpg');
    background-position: bottom center;
  }
}



/* Full-Page Direct Image Cover - 100% Raw & Crisp */
.hero-fullpage-cover {
  position: relative;
  min-height: calc(100vh - 80px);
  width: 100%;
  background-image: 
    linear-gradient(to right, rgba(14, 41, 24, 0.65) 0%, rgba(14, 41, 24, 0.35) 45%, rgba(14, 41, 24, 0.05) 75%, transparent 100%),
    url('../assets/images/hero-fullbleed-cover.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-fullpage-cover {
    background-image: 
      linear-gradient(to bottom, rgba(14, 41, 24, 0.8) 0%, rgba(14, 41, 24, 0.5) 60%, rgba(14, 41, 24, 0.2) 100%),
      url('../assets/images/hero-fullbleed-cover.jpg');
    background-position: center center;
    min-height: 90vh;
  }
}

.hero-text-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
  border-radius: 2rem;
  padding: 2.5rem;
}

@media (max-width: 640px) {
  .hero-text-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
  }
}

/* =================================================== */
/* Process Step Interactive Cards (Dark Premium Theme) */
/* =================================================== */
.process-card {
  position: relative;
  background: #0f2818;
  border-radius: 1.5rem;
  padding: 1.85rem;
  border: 1px solid rgba(132, 204, 22, 0.16);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Ambient Corner Glow (Gemini green aura on dark background) */
.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle at 100% 0%, rgba(132, 204, 22, 0.35) 0%, rgba(34, 197, 94, 0.16) 45%, transparent 70%);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

/* Subtle Moving Edge Light / Border Beam */
.process-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(163, 230, 53, 0.9) 0%,
    rgba(34, 197, 94, 0.6) 25%,
    transparent 50%,
    rgba(132, 204, 22, 0.5) 75%,
    rgba(74, 222, 128, 0.85) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

/* Hover & Touch Highlight States (Active ONLY during hover or touch) */
.process-card:hover,
.process-card.is-touched {
  background: #143621;
  transform: translateY(-7px);
  border-color: rgba(132, 204, 22, 0.55);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.65),
    0 0 30px 4px rgba(132, 204, 22, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.process-card:hover::before,
.process-card.is-touched::before {
  opacity: 1;
  transform: scale(1.15);
}

.process-card:hover::after,
.process-card.is-touched::after {
  opacity: 1;
}

/* Step Number Badge Dynamic Glow */
.process-badge {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-badge,
.process-card.is-touched .process-badge {
  transform: scale(1.1);
  background: #1e562f;
  color: #a3e635;
  border-color: rgba(163, 230, 53, 0.8);
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.6);
}

/* Corner Pulse Dot */
.process-corner-dot {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #84cc16;
  opacity: 0;
  box-shadow: 0 0 12px #84cc16, 0 0 6px #22c55e;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: scale(0.5);
  z-index: 2;
}

.process-card:hover .process-corner-dot,
.process-card.is-touched .process-corner-dot {
  opacity: 1;
  transform: scale(1);
}

/* =================================================== */
/* Premium Dark Glowing Button (Matching Interactive)  */
/* =================================================== */
.premium-dark-btn {
  position: relative;
  background: #0f2818 !important;
  color: #ffffff !important;
  border-radius: 9999px;
  padding: 0.95rem 2.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid rgba(132, 204, 22, 0.35);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(132, 204, 22, 0.15);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Ambient Corner Glow for Button */
.premium-dark-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.45) 0%, rgba(34, 197, 94, 0.2) 50%, transparent 70%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  border-radius: 9999px;
  z-index: 0;
}

/* Subtle Moving Edge Light / Border Beam for Button */
.premium-dark-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(163, 230, 53, 0.95) 0%,
    rgba(34, 197, 94, 0.7) 25%,
    transparent 50%,
    rgba(132, 204, 22, 0.6) 75%,
    rgba(74, 222, 128, 0.9) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

/* Hover & Touch Highlight States */
.premium-dark-btn:hover,
.premium-dark-btn:active,
.premium-dark-btn.is-touched {
  background: #143822 !important;
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(132, 204, 22, 0.75);
  box-shadow: 
    0 16px 35px -8px rgba(0, 0, 0, 0.65),
    0 0 25px 4px rgba(132, 204, 22, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.premium-dark-btn:hover::before,
.premium-dark-btn:active::before,
.premium-dark-btn.is-touched::before {
  opacity: 1;
  transform: scale(1.15);
}

.premium-dark-btn:hover::after,
.premium-dark-btn:active::after,
.premium-dark-btn.is-touched::after {
  opacity: 1;
}

/* =================================================== */
/* Order Modal Package Cards & Payment Radios          */
/* =================================================== */
.product-pkg-card {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-pkg-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(24, 74, 40, 0.12);
}

.payment-method-card {
  user-select: none;
  transition: all 0.2s ease;
}

.payment-method-card:hover {
  border-color: rgba(24, 74, 40, 0.5);
}

/* =================================================== */
/* MOBILE RESPONSIVE TUNING (Strictly Mobile Only)     */
/* Desktop (> 768px) is 100% Preserved and Untouched  */
/* =================================================== */

@media (max-width: 768px) {
  /* Prevent Any Accidental Horizontal Scrolling */
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Compact Proportional Buttons on Tablet & Mobile */
  .premium-dark-btn {
    padding: 0.75rem 1.65rem !important;
    font-size: 0.875rem !important;
    gap: 0.5rem !important;
  }

  /* Section Spacing Balance */
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .hero-fullpage-cover {
    padding-top: 4.5rem !important;
    padding-bottom: 4rem !important;
  }
}

@media (max-width: 640px) {
  /* Mobile Button Sizing: Prevent 2x Ballooning & Oversized Sizing */
  .premium-dark-btn {
    padding: 0.65rem 1.35rem !important;
    font-size: 0.825rem !important;
    font-weight: 700 !important;
    gap: 0.45rem !important;
    box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.45) !important;
    border-radius: 9999px !important;
  }

  .premium-dark-btn i,
  .premium-dark-btn svg {
    width: 0.95rem !important;
    height: 0.95rem !important;
  }

  /* Hero Section Mobile Proportions */
  .hero-fullpage-cover {
    padding-top: 3.25rem !important;
    padding-bottom: 3rem !important;
    min-height: auto !important;
  }

  .hero-fullpage-cover h1 {
    font-size: 2.35rem !important;
    line-height: 0.98 !important;
    margin-bottom: 0.65rem !important;
  }

  .hero-fullpage-cover h2 {
    font-size: 1.15rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-fullpage-cover p {
    font-size: 0.825rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.35rem !important;
  }

  /* Hero Buttons Alignment & Scale */
  .hero-fullpage-cover .flex.flex-wrap {
    gap: 0.65rem !important;
    margin-bottom: 1.35rem !important;
  }

  .hero-fullpage-cover a[href="#about"] {
    padding: 0.65rem 1.35rem !important;
    font-size: 0.825rem !important;
    border-radius: 9999px !important;
  }

  /* Hero Trust Pills Scale */
  .hero-fullpage-cover .flex.flex-wrap.text-xs {
    gap: 0.45rem !important;
  }

  .hero-fullpage-cover .flex.flex-wrap.text-xs > div {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.7rem !important;
    border-radius: 9999px !important;
  }

  /* Process / Benefits 4-Step Cards on Mobile */
  .process-card {
    padding: 1.15rem 1.15rem !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.35) !important;
  }

  .process-badge {
    width: 2.25rem !important;
    height: 2.25rem !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.65rem !important;
    border-radius: 0.75rem !important;
  }

  .process-card h3 {
    font-size: 0.95rem !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.3 !important;
  }

  .process-card p {
    font-size: 0.75rem !important;
    line-height: 1.45 !important;
  }

  /* Section Headings Scale */
  section h2 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  section .text-center.mb-16,
  section .text-center.mb-12 {
    margin-bottom: 1.75rem !important;
  }

  /* CTA Banner Scale */
  .cta-banner-bg {
    padding: 1.5rem 1.25rem !important;
    border-radius: 1.5rem !important;
    gap: 1.25rem !important;
  }

  .cta-banner-bg h2 {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
  }

  .cta-banner-bg p {
    font-size: 0.825rem !important;
  }

  /* Menu Cards & Buttons */
  .menu-card-item {
    padding: 1rem !important;
    border-radius: 1.25rem !important;
  }

  .menu-card-item h3 {
    font-size: 1rem !important;
  }

  .menu-card-item button {
    padding: 0.5rem 1.15rem !important;
    font-size: 0.775rem !important;
  }

  .menu-tab-btn {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.75rem !important;
  }

  #menu .inline-flex.flex-wrap {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.7rem !important;
    gap: 0.4rem !important;
  }

  /* Contact Section Buttons */
  #contact .flex-wrap a {
    padding: 0.55rem 1.15rem !important;
    font-size: 0.8rem !important;
  }

  /* Cart Drawer Padding Fix */
  #cart-drawer .flex.pl-10 {
    padding-left: 0 !important;
  }

  #checkout-btn {
    padding: 0.85rem 1.25rem !important;
    font-size: 0.85rem !important;
  }

  /* Customizer Modal Sizing */
  #customizer-modal .max-w-lg {
    padding: 1.25rem !important;
    border-radius: 1.5rem !important;
  }
}

