/* ============================================
   HERO COMPONENT
   Full-width key visual banner
   Title spans full width, image overlaps right
   ============================================ */

@keyframes heroGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.04; }
  50% { opacity: 0.08; }
}

@keyframes heroAccentGrow {
  from { height: 0; }
  to { height: 100%; }
}

/* Hero wrapper */
.hero {
  position: relative;
  z-index: 2;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: visible;
  background-image: url('../images/bg_key_visual.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2b3195;
  margin-top: 0;
  border-top: none;
}

/* Multi-layer overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(30, 25, 100, 0.75) 0%,
      rgba(35, 40, 120, 0.60) 35%,
      rgba(25, 30, 90, 0.35) 65%,
      rgba(30, 25, 100, 0.20) 100%
    );
  background-size: 400% 400%;
  animation: heroGradientShift 15s ease infinite;
  z-index: 1;
}

.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(5, 12, 25, 0.35) 0%,
      transparent 25%
    );
}

/* Decorative dot grid pattern */
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
  background-size: 30px 30px;
  animation: heroPulse 6s ease-in-out infinite;
}


/* Inner container — relative positioning */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  animation: heroFadeUp 0.8s ease-out;
}

/* Hero content */
.hero__content {
  color: var(--color-white);
  max-width: 60%;
  text-align: left;
  position: relative;
  z-index: 3;
}

/* Main event title — large, spanning wide */
.hero__title {
  margin-bottom: var(--space-sm);
  max-width: none;
}

.hero__title-line {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.15;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Tagline / subtitle */
.hero__subtitle {
  font-size: 1.05rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

/* Green divider line — hidden */
.hero__divider {
  display: none;
}

/* Technology tags */
.hero__tags {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  letter-spacing: 0.3px;
}

/* Forum label */
.hero__forum-label {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

/* Date text */
.hero__dates-text {
  margin-bottom: var(--space-md);
}

.hero__dates-text p {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: 1.6;
}

/* CTA buttons */
.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero__cta .btn--outline {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__cta .btn--outline:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-dark);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

/* Hero image — positioned bottom-right, extending below hero */
.hero__image {
  position: absolute;
  right: 0;
  bottom: -15%;
  z-index: 2;
  width: 55%;
  max-width: 700px;
  pointer-events: none;
}

.hero__image-collage {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.3));
}
