/* ====== ZÁKLAD ====== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, #0f0f0f, #141414);
  color: #e6e6e6;
}

/* ====== NAVIGACE ====== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 60, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.7s ease;
}

nav h1 {
  color: #ff3c00;
  margin: 0;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.3s ease;
}

nav h1:hover {
  text-shadow: 0 0 12px #ff3c00;
  transform: scale(1.05);
}

/* ===== NAV UL FIX (DŮLEŽITÉ) ===== */
nav ul {
  list-style: none;   /* odstraní tečky */
  margin: 0;
  padding: 0;
  display: flex;      /* DÁ ODKAZY VEDLE SEBE */
  gap: 15px;
  align-items: center;
}

/* ===== NAV LINKY ===== */
nav a {
  text-decoration: none;
  color: #cfcfcf;
  padding: 8px 14px;
  border-radius: 10px;
  transition: 0.25s ease;
  font-weight: 500;
  position: relative;
}

/* hover barevný efekt */
nav a:hover {
  color: #fff;
  background: linear-gradient(90deg, #ff3c00, #ff6a00);
  box-shadow: 0 0 12px rgba(255, 60, 0, 0.35);
  transform: translateY(-1px);
}

/* aktivní link */
nav a.active {
  background: #ff3c00;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 60, 0, 0.5);
}

/* active underline */
nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: #ff3c00;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

/* ====== HERO ====== */
.hero {
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at top, #1f1f1f, #0a0a0a);
  padding: 20px;
}

.hero h2 {
  font-size: 3rem;
  color: #ff3c00;
  animation: glow 2.5s infinite alternate;
  margin-bottom: 10px;
}

.hero p {
  max-width: 600px;
  color: #bdbdbd;
}

/* hero image */
.hero-img {
  margin-top: 25px;
  width: 320px;
  max-width: 90%;
  border-radius: 14px;
  transition: 0.3s ease;
  filter: brightness(0.9);
}

.hero-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 60, 0, 0.4);
}

/* ====== SEKCE ====== */
section {
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 0.9s ease forwards;
}

section h2 {
  color: #ff3c00;
  margin-bottom: 15px;
  font-size: 2rem;
  animation: glow 2s infinite alternate;
}

section p {
  max-width: 650px;
  margin: auto;
  line-height: 1.7;
  color: #cfcfcf;
}

/* ====== GALERIE ====== */
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding-top: 20px;
  max-width: 1000px;
  margin: auto;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  transition: 0.3s ease;
  filter: brightness(0.85);
}

.gallery img:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
  box-shadow: 0 0 18px rgba(255, 60, 0, 0.35);
}

/* ====== ANIMACE ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 6px #ff3c00;
  }
  to {
    text-shadow: 0 0 18px #ff3c00;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-80%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}