/* =====================================================
   FINCHI – hero.css
   Hero section (mobile-first)
   ===================================================== */

/* ---------------------------
   HERO BASE
---------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg source {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* ---------------------------
   HERO CONTENT
---------------------------- */
.hero-content {
  max-width: 520px;
}

/* ===========================
   FINCHI WORDMARK (MOBILE FIRST)
   =========================== */
.hero-kicker {
  font-size: 48px; /* MOBILE: BIG */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

/* ---------------------------
   TITLE & TEXT
---------------------------- */
.hero-title {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: var(--sp-5);
}

/* ---------------------------
   ACTIONS
---------------------------- */
.hero-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ---------------------------
   SCROLL HINT
---------------------------- */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  z-index: 2;
}

.hero-scroll__dot {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 16px);
    opacity: 0;
  }
}

/* ===========================
   TABLET
=========================== */
@media (min-width: 768px) {
  .hero-kicker {
    font-size: 56px;
    letter-spacing: 0.2em;
  }

  .hero-title {
    font-size: 36px;
  }
}

/* ===========================
   DESKTOP
=========================== */
@media (min-width: 1024px) {
  .hero-kicker {
    font-size: clamp(72px, 6vw, 96px);
    letter-spacing: 0.22em;
  }

  .hero-title {
    font-size: 48px;
  }
}

/* ===========================
   HERO LOAD-IN ANIMATION
=========================== */

.hero-kicker,
.hero-title,
.hero-subtitle,
.hero-actions {
  opacity: 0;
  transform: translateX(-24px); /* balról jön */
}

/* lassabb, elegánsabb */
.hero.is-loaded .hero-kicker {
  animation: heroFadeIn 0.95s var(--ease) forwards;
}

.hero.is-loaded .hero-title {
  animation: heroFadeIn 0.95s var(--ease) forwards;

  animation-delay: 0.18s;
}

.hero.is-loaded .hero-subtitle {
  animation: heroFadeIn 0.95s var(--ease) forwards;

  animation-delay: 0.36s;
}

.hero.is-loaded .hero-actions {
  animation: heroFadeIn 0.95s var(--ease) forwards;

  animation-delay: 0.54s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-kicker,
  .hero-title,
  .hero-subtitle,
  .hero-actions {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


/* =========================
   VISUAL TUNING (hero)
   ========================= */

.hero{
  position: relative;
}

.hero::before{
  /* softer + richer gradient for readability without being too dark */
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 420px at 20% 35%, rgba(0,0,0,.35), rgba(0,0,0,0) 60%),
              linear-gradient(180deg, rgba(0,0,0,.60), rgba(0,0,0,.35) 45%, rgba(0,0,0,.70));
  pointer-events:none;
  z-index: 0;
}

.hero .container{
  position: relative;
  z-index: 1;
}

.hero-title{
  max-width: 18ch;
  line-height: 1.02;
}

.hero-subtitle{
  max-width: 54ch;
}

/* CTA polish */
.hero .btn, .hero .hero-btn{
  border-radius: var(--finchi-radius-sm);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.hero .btn:hover, .hero .hero-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.48);
}
