/* ============================================================
   LANTERN FESTIVAL BANNER — sections/lantern-banner.css
   Atmospheric Hội An night atmosphere section
   ============================================================ */

.lantern-banner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image */
.lantern-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lantern-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Overlay: deep navy + warm amber gradient */
.lantern-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10,14,28,.88) 0%,
    rgba(20,10,10,.72) 50%,
    rgba(80,30,0,.55) 100%
  );
}

/* ---- Floating CSS lanterns decoration ---- */
.lantern-banner__lanterns {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Individual floating lanterns */
.float-lantern {
  position: absolute;
  top: -60px;
  animation: floatDown linear infinite;
  opacity: 0.85;
}

/* Different positions and sizes */
.float-lantern:nth-child(1)  { left: 8%;  animation-duration: 12s; animation-delay: 0s;    width: 28px; }
.float-lantern:nth-child(2)  { left: 15%; animation-duration: 15s; animation-delay: 2s;    width: 22px; }
.float-lantern:nth-child(3)  { left: 23%; animation-duration: 11s; animation-delay: 4s;    width: 32px; }
.float-lantern:nth-child(4)  { left: 35%; animation-duration: 14s; animation-delay: 1s;    width: 26px; }
.float-lantern:nth-child(5)  { left: 48%; animation-duration: 13s; animation-delay: 3s;    width: 30px; }
.float-lantern:nth-child(6)  { left: 60%; animation-duration: 16s; animation-delay: 0.5s;  width: 20px; }
.float-lantern:nth-child(7)  { left: 72%; animation-duration: 12s; animation-delay: 2.5s;  width: 34px; }
.float-lantern:nth-child(8)  { left: 82%; animation-duration: 14s; animation-delay: 1.5s;  width: 24px; }
.float-lantern:nth-child(9)  { left: 90%; animation-duration: 11s; animation-delay: 3.5s;  width: 28px; }
.float-lantern:nth-child(10) { left: 97%; animation-duration: 15s; animation-delay: 0.8s;  width: 22px; }

@keyframes floatDown {
  0%   { transform: translateY(-80px) rotate(-5deg); opacity: 0; }
  8%   { opacity: .85; }
  92%  { opacity: .85; }
  100% { transform: translateY(calc(100vh + 80px)) rotate(5deg); opacity: 0; }
}

/* Lantern body element */
.float-lantern__body {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 50% 50% 45% 45% / 38% 38% 62% 62%;
  box-shadow: inset -3px 0 6px rgba(0,0,0,.2), 0 0 16px rgba(255,180,0,.55);
  animation: floatLanternSway 3s ease-in-out infinite;
}
.float-lantern__body::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 10%; right: 10%;
  height: 1px;
  background: rgba(255,255,255,.15);
  box-shadow: 0 6px 0 rgba(255,255,255,.10), 0 12px 0 rgba(255,255,255,.06);
}

.float-lantern:nth-child(odd)   .float-lantern__body { background: linear-gradient(160deg, #E53935, #B71C1C); }
.float-lantern:nth-child(even)  .float-lantern__body { background: linear-gradient(160deg, #FFB300, #E65100); }
.float-lantern:nth-child(3n)    .float-lantern__body { background: linear-gradient(160deg, #FFD600, #F57F17); }
.float-lantern:nth-child(4n)    .float-lantern__body { background: linear-gradient(160deg, #AD1457, #880E4F); }

.float-lantern__string {
  width: 1px;
  height: 18px;
  background: rgba(200,170,80,.6);
  margin: 0 auto;
}

@keyframes floatLanternSway {
  0%,100% { transform: rotate(-6deg); }
  50%      { transform: rotate(6deg); }
}

/* Glow aura */
.float-lantern__glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,200,50,.3), transparent 70%);
  animation: glowPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%,100% { opacity: .4; }
  50%      { opacity: .9; }
}

/* ---- Content ---- */
.lantern-banner__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 640px;
  padding-block: var(--sp-12);
}

.lantern-banner__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-sans);
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: none;
  color: var(--clr-hoian-yellow);
  margin-bottom: var(--sp-4);
}
.lantern-banner__eyebrow::before,
.lantern-banner__eyebrow::after {
  content: '🏮';
  font-size: var(--fs-16);
}

.lantern-banner__title {
  font-family: 'Nomiyola', 'Normiyola', 'Normiyola VIP', var(--ff-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 0.95;
  letter-spacing: 0.035em;
  margin-bottom: var(--sp-5);
}
.lantern-banner__title span {
  color: var(--clr-hoian-yellow);
  display: block;
  font-style: italic;
}

.lantern-banner__desc {
  font-size: var(--fs-15);
  color: rgba(255,255,255,.72);
  line-height: var(--lh-relaxed);
  max-width: 480px;
  margin-bottom: var(--sp-8);
}

.lantern-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Festival dates strip */
.lantern-banner__dates {
  position: absolute;
  bottom: 36px;
  right: 0;
  z-index: var(--z-base);
  display: flex;
  gap: var(--sp-3);
  flex-direction: column;
  align-items: flex-end;
}

.festival-date {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 10px 16px;
  text-align: right;
}
.festival-date__month {
  font-size: var(--fs-11);
  color: var(--clr-hoian-yellow);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  display: block;
}
.festival-date__label {
  font-size: var(--fs-12);
  color: rgba(255,255,255,.65);
}
