/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  background: rgba(7, 7, 10, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 800;
}

/* =========================
   NAVIGATION
========================= */

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.2s ease;
}

.nav.open a {
  opacity: 1;
  transform: translateY(0);
}

.nav.open a:nth-child(1) { transition-delay: 0.05s; }
.nav.open a:nth-child(2) { transition-delay: 0.1s; }
.nav.open a:nth-child(3) { transition-delay: 0.15s; }
.nav.open a:nth-child(4) { transition-delay: 0.2s; }

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
}

/* =========================
   HERO
========================= */

/* =========================
   HERO – FINAL RED CLUB
========================= */

.hero {
  position: relative;
  padding: 160px 0;
  overflow: hidden;

  background:
    linear-gradient(
      to bottom,
      rgba(5,5,7,0.3),
      rgba(5,5,7,0.6)
    ),
    radial-gradient(
      circle at 60% 40%,
      rgba(177,18,38,0.4),
      transparent 65%
    ),
    url("../images/1.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  gap: 48px;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 68px;
  line-height: 1.05;
  color: #ffffff;
}

.hero .accent {
  color: #b11226;
}

.hero-subtitle {
  font-size: 18px;
  color: #c5c7d0;
  margin-top: 16px;
}
/* === Silueta ženy === */

.hero-silhouette {
  position: absolute;
  right: -5px;
  bottom: -80px;

  opacity: 0.55;
  pointer-events: none;

  mix-blend-mode: screen;

filter: drop-shadow(0 0 40px rgba(var(--accent-rgb), 0.25));
  animation: floatLuxury 20s ease-in-out infinite;

  will-change: transform;
  transform: translateZ(0);
}

.hero-silhouette img {
  max-height: 600px;
  height: auto;
  filter: blur(0.4px);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 60px 0;
}

.section-dark {
  background: transparent;
}

/* anchor offset pro sticky header */
section {
  scroll-margin-top: 80px;
}

/* =========================
   FOOTER
========================= */

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

/* =========================
   GLOBAL BACKGROUND
========================= */

body {
background:
  radial-gradient(
    circle at 70% 20%,
    rgba(177, 18, 38, 0.12),
    ),
    linear-gradient(
      180deg,
      #050507 0%,
      #0b0c10 100%
    );
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  /* MOBILE MENU */
  .nav {
    position: absolute;
    top: 64px;
    right: 16px;

    background: #0b0c10;
    border-radius: 14px;
    padding: 16px 20px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 1000;

    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  /* silueta na mobilu pryč */
  .hero-silhouette {
    display: none;
  }
}

/* =========================
   ANIMATIONS
========================= */

@keyframes floatLuxury {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-3px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}
/* =========================
   MOBILE HERO FIX
========================= */

@media (max-width: 768px) {

  .hero {
    padding: 64px 0 48px 0;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-text h1 {
    font-size: 38px;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

}

@media (max-width: 768px) {

  .hero-silhouette {
    display: block;
    position: absolute;
    right: -110px;
    bottom: -20px;
    opacity: 0.3;
  }

  .hero-silhouette img {
    height: 35vh;
  }

}

