/* Hero-specific styles for Space Phoenix portfolio */

.hero {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 6vw, 6rem) var(--gutter);
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 1.75rem;
  }

  .hero-visual {
    padding: 1.25rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.45rem, 5vw, 3rem);
  line-height: 1.05;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--flame), var(--accent));
  flex-shrink: 0;
  margin-top: 0.35rem;
  box-shadow: 0 0 12px rgba(255, 77, 28, 0.35);
}

.hero-visual {
  position: relative;
  padding: 1.5rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-2);
  transform-style: preserve-3d;
  --tilt-rotate-x: 0deg;
  --tilt-rotate-y: 0deg;
  --tilt-translate-z: 0px;
  transform:
    perspective(1200px)
    rotateX(var(--tilt-rotate-y))
    rotateY(var(--tilt-rotate-x));
  transition:
    transform 320ms var(--ease-smooth),
    box-shadow 220ms var(--ease-out-quick);
  will-change: transform;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: inherit;
  border: 1px solid rgba(255, 213, 107, 0.15);
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(var(--tilt-translate-z));
  transition: transform 360ms var(--ease-out-quick);
}

.hero-visual[data-tilt-active="true"] {
  box-shadow:
    var(--shadow-2),
    0 12px 42px rgba(123, 111, 255, 0.18);
}

.hero-visual[data-tilt-active="true"] img {
  --tilt-translate-z: 24px;
}


@media (max-width: 1024px) {
  .hero-copy {
    align-items: center;
  }

  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: clamp(2.5rem, 8vw, 3rem) var(--gutter);
  }

  .hero-visual {
    padding: 1rem;
  }
}

@media (min-width: 1440px) {
  .hero {
    grid-template-columns: minmax(0, 750px) minmax(0, 630px);
    gap: 3.25rem;
  }

  .hero-title {
    font-size: clamp(3rem, 4.5vw, 3rem);
  }

}
