/* ================================
   HOME - Hero Section (index.html only)
   ================================ */

/* Hero Container */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}

/* Hero Content */
.hero__content {
  max-width: 55%;
}

.hero h1 {
  color: var(--color-dark);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
}

.hero__tagline {
  color: var(--color-primary);
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-top: var(--space-16);
}

/* Hero Illustration */
.hero__illustration {
  position: absolute;
  right: calc((100vw - var(--max-width)) / 2 + var(--space-32));
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 500px;
  z-index: 3;
  cursor: pointer;
  pointer-events: auto;
}

.hero__svg {
  width: 100%;
  height: auto;
  filter: invert(1) brightness(0.3);
  transition: filter 0.3s ease;
}

.hero__illustration:hover .hero__svg {
  filter: invert(48%) sepia(90%) saturate(1000%) hue-rotate(360deg) brightness(1);
}

/* Ensure text is clickable */
.hero__content {
  pointer-events: none;
}

.hero__content h1,
.hero__content .hero__tagline {
  pointer-events: auto;
}

/* ---- Tablet (768px - 1199px) ---- */
@media (max-width: 1199px) {
  .hero__content {
    max-width: 50%;
  }
  
  .hero__illustration {
    right: var(--space-32);
    width: 45%;
  }
}

/* ---- Mobile (< 768px) ---- */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
  }
  
  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero__content {
    max-width: 100%;
    margin-bottom: var(--space-32);
    pointer-events: auto;
  }
  
  .hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  
  .hero__illustration {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ---- Large Screens (1440px+) ---- */
@media (min-width: 1440px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero__illustration {
    max-width: 550px;
  }
}

/* ---- Extra Large Screens (1920px+) ---- */
@media (min-width: 1920px) {
  .hero {
    min-height: 85vh;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero__illustration {
    right: calc((100vw - 1680px) / 2 + var(--space-32));
    max-width: 600px;
  }
}

/* ---- Ultra Wide (2560px+) ---- */
@media (min-width: 2560px) {
  .hero h1 {
    font-size: 4.5rem;
  }
  
  .hero__illustration {
    right: calc((100vw - 1800px) / 2 + var(--space-32));
    max-width: 700px;
  }
}
