/* ============================================
   HOP BANANA LLC — Style 2 "Bold Editorial"
   Warm beige + yellow accent
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg-main: #D8D3C7;
  --bg-main-dark: #C9C3B6;
  --bg-light: #FAFAF8;
  --bg-light-2: #F2F0ED;
  --text-white: #FFFFFF;
  --text-muted: #6B6B6B;
  --text-dark: #1A1A1A;
  --accent: #FFD040;
  --accent-hover: #E6BB38;
  --glass: rgba(255,255,255,0.15);
  --glass-border: rgba(255,255,255,0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 1280px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Reveal Animations --- */
.reveal2 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal2.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav2 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav2.scrolled {
  background: rgba(216,211,199,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(0,0,0,0.08);
  padding: 14px 0;
}

.nav2__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.nav2__logo {
  transition: opacity 0.3s ease;
}

.nav2__logo img {
  height: 40px;
  width: auto;
  transition: height 0.3s ease;
}

.nav2.scrolled .nav2__logo img {
  height: 36px;
}

.nav2__links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav2__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 18px;
  border-radius: 100px;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.nav2.scrolled .nav2__links a {
  color: var(--text-dark);
}

.nav2__links a:hover {
  color: var(--text-dark);
  background: var(--accent);
}

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

.nav2__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav2.scrolled .nav2__hamburger span {
  background: var(--text-dark);
}

.nav2__hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav2__hamburger.active span:nth-child(2) { opacity: 0; }
.nav2__hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Nav */
.nav2__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(216,211,199,0.97);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  z-index: 999;
}

.nav2__mobile.open { display: flex; }

.nav2__mobile a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.nav2__mobile a:hover { color: var(--accent-hover); }

/* ============================================
   HERO — Full Viewport Cinematic
   ============================================ */
.hero2 {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero2__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.7) 100%
  );
  z-index: 1;
}

.hero2__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 32px;
}

.hero2__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--text-white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  overflow: hidden;
  font-weight: 700;
}

.hero2__title .word {
  display: inline-block;
  overflow: hidden;
}

.hero2__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero2__title .char.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero2__accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 24px;
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.6s ease 1s, transform 0.6s ease 1s;
}

.hero2__accent-line.revealed {
  opacity: 1;
  transform: scaleX(1);
}

.hero2__subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 1.2s, transform 0.8s ease 1.2s;
}

.hero2__subtitle.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero2__cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 1.5s, transform 0.8s ease 1.5s,
              box-shadow 0.3s ease;
}

.hero2__cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero2__cta:hover {
  box-shadow: 0 8px 32px rgba(255,208,64,0.4);
}

/* Scroll indicator */
.hero2__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInScroll 1s ease 2s forwards;
}

.hero2__scroll span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}

.hero2__scroll-chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: bounceChevron 2s ease-in-out infinite;
}

@keyframes bounceChevron {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

@keyframes fadeInScroll {
  to { opacity: 1; }
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee {
  background: var(--accent);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: flex;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
  will-change: transform;
}

.marquee__text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding-right: 60px;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   PRODUCTS — Grid with overlay text
   ============================================ */
.products2 {
  padding: 100px 0;
  background: var(--bg-main);
}

.products2__header {
  margin-bottom: 48px;
  text-align: center;
}

.products2__title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.products2__subtitle {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 1rem;
}

.products2__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.products2__card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  transition: transform 0.3s ease;
}

.products2__card:hover {
  transform: translateY(-4px);
}

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

.products2__card:hover img {
  transform: scale(1.04);
}

.products2__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.products2__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.products2__card-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* ============================================
   BESTSELLERS — Bento Grid
   ============================================ */
.bento {
  padding: 100px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.bento__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  text-align: center;
}

.bento__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  min-height: 600px;
}

.bento__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
  font-size: 0;
}

.bento__item--large {
  grid-row: 1 / 3;
}

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

.bento__item:hover img {
  transform: scale(1.04);
}

.bento__item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 28px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  transform: translateY(10px);
  opacity: 0.85;
  transition: all 0.4s ease;
}

.bento__item:hover .bento__item-content {
  transform: translateY(0);
  opacity: 1;
}

.bento__item-title {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.bento__item-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

/* ============================================
   CONTACT — Glass Cards on beige
   ============================================ */
.contact2 {
  padding: 100px 0;
  background: var(--bg-main-dark);
  position: relative;
}

.contact2__title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.contact2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact2__card {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact2__card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.contact2__card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact2__card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--text-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact2__card-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.contact2__card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact2__card-text a {
  color: var(--text-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  transition: border-color 0.3s ease;
}

.contact2__card-text a:hover {
  border-color: var(--accent-hover);
}

/* ============================================
   FOOTER
   ============================================ */
.footer2 {
  background: var(--bg-main);
  border-top: 1px solid rgba(0,0,0,0.08);
  color: var(--text-muted);
  padding: 48px 0 32px;
}

.footer2__links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer2__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer2__links a:hover { color: var(--text-dark); }

.footer2__divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 28px;
  border: none;
}

.footer2__info {
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer2__info a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer2__info a:hover { color: var(--text-dark); }

/* ============================================
   LEGAL PAGES (reuse for policy pages)
   ============================================ */
.legal {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: calc(100vh - 200px);
}

.legal__breadcrumb {
  margin-bottom: 32px;
}

.legal__breadcrumb a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal__breadcrumb a:hover { color: var(--accent-hover); }

.legal__breadcrumb span {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 8px;
}

.legal__title {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.legal__content {
  max-width: 720px;
}

.legal__content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal__content a {
  color: var(--text-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .products2__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .bento__grid { min-height: 500px; }
  .bento__item-title { font-size: 1.2rem; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  .nav2__links { display: none; }
  .nav2__hamburger { display: flex; }

  .hero2 { min-height: 100svh; }
  .hero2__title { letter-spacing: -0.02em; }

  .marquee__text { font-size: 0.9rem; }

  .products2 { padding: 64px 0; }
  .products2__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .products2__grid .products2__card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .bento { padding: 64px 0; }
  .bento__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .bento__item--large { grid-row: auto; }
  .bento__item { aspect-ratio: 4 / 3; }

  .contact2 { padding: 64px 0; }
  .contact2__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer2__links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .legal { padding-top: 100px; }
  .legal__title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .products2__grid { grid-template-columns: 1fr; }
  .products2__grid .products2__card:last-child { max-width: 100%; }
  .hero2__scroll { display: none; }
}
