/* =============================================================
   HERO.CSS — Fullscreen hero sekcia + Intro sekcia
   ============================================================= */

/* ─── Hero sekcia ────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-brown-dark);
}

/* Pozadie — gradient ako fallback + foto podpora */
.hero-bg {
  position: absolute;
  inset: -10%;        /* extra priestor pre parallax */
  z-index: 0;
  background:
    linear-gradient(160deg,
      #1a0e07 0%,
      #2C1A0E 40%,
      #3d2512 70%,
      #2A3B2A 100%);
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: translateY(var(--parallax-hero, 0px));
}

/* Keď je k dispozícii fotka, aplikuj ju cez inline style na .hero-bg */
.hero-bg.has-image {
  background-size: cover;
  background-position: center 30%;
}

/* Video pozadie */
.hero-bg--video {
  background: #1a0e07;  /* fallback kým sa video načíta */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Jemný stmavujúci filter aby text bol čitateľný */
  filter: brightness(0.7) saturate(0.85);
}

/* Tmavý overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(44, 26, 14, 0.55) 0%,
    rgba(44, 26, 14, 0.72) 50%,
    rgba(44, 26, 14, 0.85) 100%
  );
}

/* Zlatý shimmer overlay */
.hero-overlay-gold {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    rgba(201, 150, 60, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ─── Hero obsah ─────────────────────────────────────────────── */

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: calc(var(--navbar-height) + 1rem) var(--space-md) 1rem;
  max-width: 900px;
  width: 100%;
}

/* Logo navrchu hero sekcie */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: heroFadeUp 1.2s ease 0s forwards;
  pointer-events: none;
}

.hero-logo-img {
  height: clamp(100px, 18vh, 160px);
  width: auto;
  transform: translateX(-11%);
  filter: drop-shadow(0 4px 20px rgba(201, 150, 60, 0.4));
}

@media (max-width: 600px) {
  .hero-logo-img {
    height: clamp(80px, 14vh, 110px);
  }
}

/* Eyebrow label */
.hero-eyebrow {
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0;
  animation: heroFadeUp 1s ease 0.2s forwards;
}

/* Ornament — tenká zlatá linka s symbolom */
.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: 0.4rem;
  opacity: 0;
  animation: heroFadeUp 1s ease 0.4s forwards;
}

.ornament-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
}

.ornament-line:last-child {
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.ornament-symbol {
  color: var(--color-gold);
  font-size: 1rem;
  display: block;
  line-height: 1;
}

/* Hlavný nadpis */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-gold-pale);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: heroFadeUp 1.2s ease 0.5s forwards;
}

.hero-title-line {
  display: block;
}

.hero-title em {
  display: block;
  font-style: italic;
  color: var(--color-gold-light);
  font-weight: 200;
}

/* Podnádpis */
.hero-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 1.25rem;
  line-height: 1.7;
  opacity: 0;
  animation: heroFadeUp 1s ease 0.8s forwards;
}

/* CTA tlačidlá */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 1s ease 1s forwards;
}

/* ─── Scroll indikátor ───────────────────────────────────────── */

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: heroFadeIn 1s ease 1.5s forwards;
}

.scroll-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}

.scroll-arrow {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold-deep), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--color-gold-deep);
  border-bottom: 1px solid var(--color-gold-deep);
}

/* ─── Hero animácie ──────────────────────────────────────────── */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* ─── Intro sekcia ───────────────────────────────────────────── */

.intro-section {
  background-color: var(--color-beige-light);
  padding: var(--space-xl) var(--space-md);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Textová časť */
.intro-text .section-label {
  color: var(--color-gold-deep);
}

.intro-text h2 {
  color: var(--color-brown-dark);
  margin-bottom: var(--space-md);
}

.intro-text p {
  color: var(--color-brown-mid);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.intro-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--color-brown-light);
  border-left: 2px solid var(--color-gold);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  line-height: 1.6;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  text-decoration: none;
  margin-top: var(--space-sm);
  transition: gap var(--transition-base), color var(--transition-fast);
}

.intro-link::after {
  content: '→';
  transition: transform var(--transition-base);
}

.intro-link:hover {
  color: var(--color-brown-dark);
  gap: 0.85rem;
}

.intro-link:hover::after {
  transform: translateX(4px);
}

/* Vizuálna časť — foto placeholder */
.intro-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-beige-dark) 100%);
  overflow: hidden;
}

.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Zlatý rámček dekorácia */
.intro-visual::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(160, 120, 48, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* Placeholder inicálka */
.intro-visual-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 10rem;
  font-weight: 300;
  color: var(--color-beige-dark);
  opacity: 0.35;
  user-select: none;
}

/* Zlaté čísla / dáta (štatistiky) */
.intro-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(160, 120, 48, 0.2);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-brown-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brown-light);
}

/* ─── Responzívne ────────────────────────────────────────────── */

@media (max-width: 1200px) {
  .intro-grid {
    gap: var(--space-lg);
  }
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .intro-visual {
    aspect-ratio: 3 / 2;
    max-height: 400px;
  }

  .intro-visual-placeholder {
    font-size: 7rem;
  }
}

@media (max-width: 600px) {
  .hero-scroll {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-cta-group .btn {
    text-align: center;
  }

  .intro-stats {
    gap: var(--space-md);
  }
}
