/* =============================================================================
   fcj8kkt.sk - styly
   Iba tmavy (cierny) rezim. Mobile-first. Bez "fancy" animacii.
   Pouzivame default (systemovy) font podla zadania.
============================================================================= */

/* Farby a rozmery drzime v premennych, aby sa dali lahko menit. */
:root {
  --bg: #000000; /* cisto cierne - zhodne s ciernymi okrajmi hero obrazka */
  --bg-alt: #111111; /* jemne svetlejsie pozadie striedanych sekcii */
  --text: #e6e6e6; /* hlavny text */
  --muted: #9a9a9a; /* tlmeny text */
  --accent: #0099ff; /* modry akcent - jediny akcent */
  --border: #262626; /* jemne ciary a ramiky */
  --max: 960px; /* max sirka obsahu */
}

/* Jednoduchy reset. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  /* Default systemovy font - nic vlastne nenacitavame. */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

/* Spolocny kontajner na vycentrovanie obsahu. */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Uzsi kontajner pre dlhsie texty (lepsia citatelnost). */
.container--text {
  max-width: 680px;
}

/* ------------------------------- HERO ------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 480px;
  /* Obrazok zobrazime cely (contain), nie orezany. Cierne okraje obrazka
     splynu s ciernym pozadim hero sekcie. Bez gradientu - biely nazov je
     citatelny aj tak. */
  background-color: var(--bg);
  background-image: url("../img/hero-capy.jpg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end; /* obsah pri spodnom okraji */
}

.hero__overlay {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.hero__kicker {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero__title {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* ------------------------------ SEKCIE ------------------------------------ */
.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

/* --------------------------- VYSVETLENIE SKRATKY -------------------------- */
.vysvetlenie__row {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.vysvetlenie__row:last-child {
  border-bottom: 1px solid var(--border);
}

.vysvetlenie dt {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.vysvetlenie dd {
  color: var(--muted);
}

/* ------------------------------- GALERIA ---------------------------------- */
.galeria {
  display: grid;
  grid-template-columns: 1fr; /* mobil: 1 stlpec */
  gap: 1rem;
}

.galeria__item {
  border: 1px solid var(--border);
  overflow: hidden;
}

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ------------------------------ O KLUBE ----------------------------------- */
#oklube p + p {
  margin-top: 1rem;
}

/* ------------------------------ FORMULAR ---------------------------------- */
.formular {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pole {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pole label {
  font-weight: 600;
  font-size: 0.95rem;
}

.req {
  color: var(--accent);
}

.pole input,
.pole textarea {
  font: inherit;
  color: var(--text);
  background: #050505;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.pole input:focus,
.pole textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.pole textarea {
  resize: vertical;
}

.pocet {
  align-self: flex-end;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Honeypot pole - skryte pred ludmi (mimo obrazovky), botom ho ponukame. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  color: #0a0a0a;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.6rem;
}

.btn:hover {
  background: #33adff;
}

/* ------------------------------- FOOTER ----------------------------------- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ----------------------------- DESKTOP ------------------------------------ */
/* Od tabletu vyssie zvacsime hero nadpis a galeriu rozlozime do mriezky. */
@media (min-width: 700px) {
  .hero__title {
    font-size: 3rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .galeria {
    grid-template-columns: repeat(3, 1fr);
  }
}
