/**
 * Hero Section
 * Based on Figma node: 445:14208
 * 
 * Structure:
 * .hero
 *   .hero__background (space pattern)
 *   .hero__content
 *     .hero__logo
 *     .hero__title
 *     .hero__subtitle
 */

/* ===========================================
 * HERO - Main Container
 * =========================================== */

.hero {
  display: none; /* Hidden on mobile */
}

@media (min-width: 768px) {
  .hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: var(--spacing-12) var(--spacing-6);
    overflow: hidden;
  }
}

@media (min-width: 992px) {
  .hero {
    min-height: 440px;
    padding: 64px 72px;
  }
}

/* ===========================================
 * HERO BACKGROUND
 * Space pattern with decorative icons
 * =========================================== */

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Fallback gradient if image not loaded */
  background: linear-gradient(
    135deg,
    #1a1a2e 0%,
    #16213e 25%,
    #0f3460 50%,
    #533483 75%,
    #6E4F95 100%
  );
}

.hero__background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.hero__pattern-container {
  width: 100%;
  max-width: var(--container-2xl);
  height: 100%;
  position: relative;
  padding: 0 24px; /* Mobile padding */
}

@media (min-width: 992px) {
  .hero__pattern-container {
    padding: 0 var(--spacing-6);
  }
}

.hero__pattern-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keep aspect ratio of pattern */
  object-position: center;
}

/* Decorative icons overlay */
.hero__decorations {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--spacing-6);
  pointer-events: none;
}

@media (min-width: 992px) {
  .hero__decorations {
    padding: var(--spacing-10);
  }
}

.hero__decorations-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-4);
}

.hero__decoration-icon {
  width: 32px;
  height: 32px;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .hero__decoration-icon {
    width: 40px;
    height: 40px;
  }
}

/* ===========================================
 * HERO CONTENT
 * Centered logo and text
 * =========================================== */

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
  text-align: center;
  max-width: 490px;
}

@media (min-width: 768px) {
  .hero__content {
    gap: var(--spacing-6);
  }
}

/* Logo */
.hero__logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
}

.hero__logo-globe {
  width: 100px;
  height: 100px;
}

@media (min-width: 768px) {
  .hero__logo-globe {
    width: 150px;
    height: 150px;
  }
}

.hero__logo-text {
  height: auto;
  max-width: 280px;
}

@media (min-width: 768px) {
  .hero__logo-text {
    max-width: 382px;
  }
}

/* Subtitle */
.hero__subtitle {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-lg);
  color: var(--color-white);
  margin: 0;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 26px;
    line-height: 1.3;
  }
}
