/*
 * =========================================================================
 *   RC FRESH FOOD — Hero Section Upgrade
 *   Scope: HERO SECTION ONLY — does NOT modify any other page section
 *   Classes targeted: exactly as they appear in index.php (live HTML)
 *   Load order: After style.css and responsive.css
 * =========================================================================
 *
 *   Font: Syne (ultra-modern geometric display) + Plus Jakarta Sans (body)
 *   Loaded via Google Fonts in header.php
 *
 *   DO NOT put non-hero styles in this file.
 * =========================================================================
 */

/* -----------------------------------------------------------------------
   Hero section base — warm ivory background, generous breathing room
   ----------------------------------------------------------------------- */
.hero {
  background-color: #F8F6EF;
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  overflow: hidden;
  position: relative;
}

/* Subtle radial warm glow top-right — decorative only */
.hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center,
    rgba(185,154,88,0.08) 0%,
    rgba(248,246,239,0) 68%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
}

/* -----------------------------------------------------------------------
   Eyebrow label — elegant, not a pill badge
   ----------------------------------------------------------------------- */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.hero__eyebrow svg {
  color: #B99A58;
  flex-shrink: 0;
}

.hero__eyebrow span {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #55745A;
}

/* -----------------------------------------------------------------------
   Main headline — Space Grotesk: ultra-modern, geometric, NOT overly wide
   ----------------------------------------------------------------------- */
.hero__title {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(2.35rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #123D2B;
  margin-bottom: 1.3rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* "Made Better." — the accent span in soft botanical green */
.hero__title-accent {
  display: block;
  color: #55745A;
  font-weight: 700;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif !important;
}

/* -----------------------------------------------------------------------
   Description paragraph
   ----------------------------------------------------------------------- */
.hero__description {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: #4D5850;
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 2.1rem;
}

/* -----------------------------------------------------------------------
   CTA button row
   ----------------------------------------------------------------------- */
.hero__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

/* Override btn--lg only inside hero — keep all other btn--lg on the site untouched */
.hero__actions .btn--lg {
  height: 48px;
  padding: 0 1.4rem;
  border-radius: 9px;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.hero__actions .btn--lg:focus-visible {
  outline: 2px solid #B99A58;
  outline-offset: 3px;
}

/* Primary — deep forest green */
.hero__actions .btn--primary {
  background-color: #123D2B;
  color: #FFFFFF;
  border: 1.5px solid #123D2B;
  box-shadow: 0 4px 14px rgba(18,61,43,0.18);
}
.hero__actions .btn--primary:hover {
  background-color: #0D2B1E;
  border-color: #0D2B1E;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(18,61,43,0.26);
}
.hero__actions .btn--primary svg {
  transition: transform 0.2s ease;
}
.hero__actions .btn--primary:hover svg {
  transform: translateX(4px);
}

/* Secondary — warm ivory border */
.hero__actions .btn--secondary {
  background-color: #FFFFFF;
  color: #123D2B;
  border: 1.5px solid rgba(18,61,43,0.2);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.hero__actions .btn--secondary:hover {
  background-color: #FAF7F0;
  border-color: #B99A58;
  color: #123D2B;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(185,154,88,0.2);
}

/* WhatsApp */
.hero__actions .btn--whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border: 1.5px solid #25D366;
  box-shadow: 0 3px 10px rgba(37,211,102,0.22);
}
.hero__actions .btn--whatsapp:hover {
  background-color: #1EBE5D;
  border-color: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* -----------------------------------------------------------------------
   Trust strip — slim, inline, elegant
   ----------------------------------------------------------------------- */
.hero__trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6C746C;
}

.hero__trust-strip svg {
  width: 14px;
  height: 14px;
  color: #B99A58;
  flex-shrink: 0;
}

/* -----------------------------------------------------------------------
   Right side — showcase card
   ----------------------------------------------------------------------- */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__showcase-card {
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid rgba(185,154,88,0.25);
  box-shadow: 0 16px 40px rgba(18,61,43,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.hero__showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(18,61,43,0.11);
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  background: #FAF8F3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero__product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.hero__showcase-card:hover .hero__product-img {
  transform: scale(1.03);
}

/* -----------------------------------------------------------------------
   Badge pills on the product card
   ----------------------------------------------------------------------- */
.hero__badge-pill {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #123D2B;
  border: 1px solid rgba(18,61,43,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 2;
}

.hero__badge-pill svg {
  flex-shrink: 0;
}

/* Second badge — pink / RC branding */
.hero__badge-pill--pink {
  top: auto;
  left: auto;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(216,55,110,0.1);
  color: #C02B5A;
  border-color: rgba(216,55,110,0.2);
}

/* =========================================================================
   Mobile-first overrides — tested at 320px, 360px, 390px, 430px
   ========================================================================= */
@media (max-width: 991px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
  }

  .hero__eyebrow {
    justify-content: center;
    overflow: hidden;
  }

  .hero__eyebrow span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .hero__title {
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero__description {
    max-width: 600px;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__trust-strip {
    justify-content: center;
  }

  .hero__visual {
    order: -1; /* image above text on tablet */
  }

  .hero__showcase-card {
    max-width: 400px;
  }

  .hero__image-wrapper {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    letter-spacing: -0.02em;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .hero__title-accent {
    font-size: inherit;
  }
  .hero__visual {
    order: 2; /* image below text on mobile */
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.6rem;
  }

  .hero__actions .btn--lg {
    width: 100%;
    justify-content: center;
    height: 50px;
    font-size: 0.9375rem;
  }

  .hero__showcase-card {
    max-width: 100%;
  }

  .hero__image-wrapper {
    height: 260px;
  }
}

@media (max-width: 390px) {
  .hero__title {
    font-size: 1.65rem;
    letter-spacing: -0.015em;
  }

  .hero__eyebrow span {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .hero__description {
    font-size: 0.875rem;
  }
}