/* ── Hero Banner — Onam 2026 ───────────────────────────────────── */

.hero-banner {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  isolation: isolate;
  margin-bottom: 32px;
}

/* Background image — cinematic crop */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Left-to-right gradient overlay for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 46, 32, 0.97)  0%,
    rgba(10, 61, 42, 0.93) 28%,
    rgba(10, 61, 42, 0.72) 50%,
    rgba(10, 61, 42, 0.28) 70%,
    transparent            88%
  );
}

/* Bottom vignette */
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(8, 46, 32, 0.45), transparent);
}

/* ── Pookalam decoration (right side) ── */
.hero-pookalam {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-pookalam svg {
  width: 100%;
  height: 100%;
  animation: pookalam-spin 80s linear infinite;
}

@keyframes pookalam-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Content layer ── */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.hero-left {
  max-width: 500px;
}

/* ── Logo row ── */
.hero-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  flex-shrink: 0;
}

.hero-logo-divider {
  width: 1px;
  height: 28px;
  background: rgba(232, 168, 56, 0.4);
  flex-shrink: 0;
}

.hero-logo-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

.hero-logo-label span {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  margin-top: 1px;
}

/* ── Event name ── */
.hero-event-name {
  font-family: 'Playfair Display', serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -1.5px;
  margin-bottom: 4px;
  color: #ffffff;
}

.hero-event-name em {
  font-style: normal;
  color: #e8a838;
}

/* ── Sub-brand ── */
.hero-sub-brand {
  font-size: 13px;
  font-weight: 700;
  color: #f4c76b;
  letter-spacing: 7px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.88;
}

/* ── Divider rule ── */
.hero-rule {
  width: 44px;
  height: 2px;
  background: linear-gradient(to right, #e8a838, transparent);
  margin-bottom: 10px;
}

/* ── Tagline ── */
.hero-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 14px;
  max-width: 310px;
}

/* ── Registration date badge ── */
.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #f4c76b;
  background: rgba(232, 168, 56, 0.12);
  border: 1px solid rgba(232, 168, 56, 0.28);
  border-radius: 6px;
  padding: 5px 12px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero-date-badge strong {
  color: #e8a838;
}

/* ── CTA buttons ── */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  border: none;
  line-height: 1;
}

.hero-btn-primary {
  background: #e8a838;
  color: #0a3d2a;
  padding: 11px 24px;
  box-shadow: 0 2px 14px rgba(232, 168, 56, 0.40);
}

.hero-btn-primary:hover,
.hero-btn-primary:focus-visible {
  background: #f4c76b;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(232, 168, 56, 0.55);
  outline: none;
}

.hero-btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.80);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  padding: 10px 20px;
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  outline: none;
}

/* ── Gold bottom accent ── */
.hero-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e8a838 0%, #f4c76b 35%, rgba(244, 199, 107, 0.15) 65%, transparent 100%);
  pointer-events: none;
}

/* ── Tablet (≤768px / 250px height) ── */
@media (max-width: 768px) {
  .hero-banner {
    height: 250px;
    border-radius: 12px;
  }

  .hero-content {
    padding: 0 28px;
  }

  .hero-logo {
    margin-bottom: 10px;
  }

  .hero-logo-img {
    height: 28px;
  }

  .hero-logo-label {
    font-size: 10px;
  }

  .hero-event-name {
    font-size: 44px;
    letter-spacing: -1px;
    margin-bottom: 3px;
  }

  .hero-sub-brand {
    font-size: 11px;
    letter-spacing: 5px;
    margin-bottom: 8px;
  }

  .hero-rule {
    width: 32px;
    margin-bottom: 8px;
  }

  .hero-tagline {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .hero-date-badge {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 14px;
  }

  .hero-btn {
    font-size: 13px;
  }

  .hero-btn-primary {
    padding: 9px 20px;
  }

  .hero-btn-secondary {
    padding: 8px 16px;
  }

  .hero-pookalam {
    width: 200px;
    height: 200px;
    right: 8px;
  }
}

/* ── Mobile (≤480px / 180px height) ── */
@media (max-width: 480px) {
  .hero-banner {
    height: 180px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .hero-content {
    padding: 0 20px;
    align-items: center;
  }

  .hero-logo {
    margin-bottom: 8px;
  }

  .hero-logo-img {
    height: 22px;
  }

  .hero-logo-label {
    font-size: 9px;
  }

  .hero-logo-label span {
    display: none;
  }

  .hero-event-name {
    font-size: 30px;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
  }

  .hero-sub-brand {
    font-size: 9px;
    letter-spacing: 4px;
    margin-bottom: 6px;
  }

  .hero-rule {
    display: none;
  }

  .hero-tagline {
    display: none;
  }

  .hero-date-badge {
    font-size: 10px;
    padding: 4px 8px;
    margin-bottom: 12px;
    gap: 4px;
  }

  .hero-btn-primary {
    font-size: 13px;
    padding: 9px 18px;
  }

  .hero-btn-secondary {
    display: none;
  }

  .hero-pookalam {
    width: 140px;
    height: 140px;
    right: -10px;
    opacity: 0.7;
  }
}
