/* ============================================================
   BÀNAY BAKERY + CAFE — Hero CSS
   ============================================================ */

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

/* ============================================================
   HERO BACKGROUND IMAGE
   ============================================================ */
.hero__bg {
  position: absolute;
  inset: -5%;
  z-index: 0;
  animation: kenBurns 12s ease-in-out infinite alternate;
  will-change: transform;
}

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

@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* ============================================================
   HERO GRADIENT OVERLAYS
   ============================================================ */
.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 0% 15%, rgba(27, 75, 90, 0.55) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(13,13,11,0.15) 0%, rgba(13,13,11,0.0) 30%, rgba(13,13,11,0.55) 70%, rgba(13,13,11,0.88) 100%);
}

/* ============================================================
   NOISE TEXTURE OVERLAY
   ============================================================ */
.hero .noise-overlay {
  z-index: 2;
}

/* ============================================================
   HERO CONTENT
   ============================================================ */
.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-inline: var(--gutter);
  max-width: var(--max-width);
  margin-inline: auto;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,253,249,0.65);
  margin-bottom: 1rem;
  opacity: 0; /* GSAP animated */
  display: block;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

/* Character animation wrapper */
.hero__title .char-wrap {
  overflow: hidden;
  display: inline-block;
}

.hero__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255,253,249,0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
  opacity: 0; /* GSAP animated */
}

/* ============================================================
   HERO CTA GROUP
   ============================================================ */
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  opacity: 0; /* GSAP animated */
}

/* ============================================================
   HERO SCROLL INDICATOR
   ============================================================ */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0; /* GSAP animated */
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,253,249,0.5));
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,253,249,0.85);
  animation: scrollLine 2s var(--ease-out) infinite;
}

@keyframes scrollLine {
  from { top: -100%; }
  to   { top: 100%; }
}

.hero__scroll-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,253,249,0.45);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ============================================================
   HERO BADGE / MARQUEE TEASER (optional)
   ============================================================ */
.hero__badge {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  z-index: 3;
}

/* ============================================================
   MARQUEE BAND (immediately below hero)
   ============================================================ */
.marquee-band {
  position: relative;
  width: 100%;
  background: var(--terra);
  padding: 0.85rem 0;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0; /* GSAP animated */
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  gap: 0;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  padding-right: 0;
}

.marquee-item {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,253,249,0.85);
  padding: 0 1.5rem;
}

.marquee-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,253,249,0.4);
  flex-shrink: 0;
}

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