/* =============================================
   hero.css — Stiluri secțiunea Hero (banner principal)
   ✏️ EDITEAZĂ fundalul (background-image) cu imaginea ta
   ============================================= */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* ✏️ EDITEAZĂ: înlocuiește cu calea imaginii tale de fundal hero */
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* ← efect paralax; șterge dacă nu-ți place */
}

/* Overlay întunecat peste imagine */
.hero__overlay {
  position: absolute;
  inset: 0;
  /* ✏️ EDITEAZĂ: prima valoare = intensitatea întunecimii (0=transparent, 1=opac) */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.6) 100%
  );
}

/* Conținut centrat */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding-inline: var(--container-pad);
  /* Animație de intrare */
  animation: heroFadeUp 1s ease both;
}

/* Textul mic deasupra titlului */
.hero__eyebrow {
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.2s both;
}

/* Titlul principal */
.hero__title {
  font-size: var(--fs-hero);
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.4s both;
}

/* Subtitlul */
.hero__subtitle {
  font-size: var(--fs-lg);
  color: rgba(240,236,228,0.7);
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.6s both;
}

/* Grupul de butoane CTA */
.hero__cta-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.8s both;
}

/* Indicator scroll (săgeată/linie animată) */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease infinite;
}

/* ---- Animații ---- */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll; /* fix paralax pe mobil */
  }
  .hero__title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
}
