/* Header zůstává přes celou šířku */
header {
    display: flex;
    position: fixed;     /* zafixuje pozici */
    top: 0;              /* zarovná k hornímu okraji */
    left: 0;
    width: 100%;         /* přes celou šířku okna */
    z-index: 1000;

    align-items: center;
    justify-content: space-between;
    padding: 20px 44px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.541);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 16px 0 rgba(0, 0, 0, 0.726);
    background-blend-mode: overlay;
}

/* Kontejner pro obsah pod headerem */
.container {
    max-width: 1200px; /* šířka obsahu */
    margin: 0 auto;    /* centrování */
    padding: 20px;     /* vnitřní odsazení */
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(45deg, #000000 15%, #2e0058 100%);
    margin: 0;
    padding: 0;
    color: #dbdbdb;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;         /* Aby bylo pozadí vzadu */
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    position: relative;
    color: #e9e9e9;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 18px;
    font-size: 1.1em;
    border-radius: 6px;
    transition: color 0.2s;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0%;
    bottom: 0;
    width: 0;
    height: 3px; /* tloušťka čáry */
    background: #00e5ff;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.77,0,0.18,1); /* plynulé narůstání čáry */
}

nav a.active::after,
nav a:hover::after {
    width: 100%;
}

.subtitle:hover {
    color: #00e5ff;
    text-shadow: 0 2px 12px #00e5ff50;
}

.join-btn-head {
    background: #ffffff1f;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.22s;
    margin-right: 100px;
}

.join-btn-head:hover {
    background: #ffffff33;
    transition:
        transform 0.1s ease;
    transform: scale(1.05);
    text-shadow: 0 2px 12px #f7e373ce;
    color: #fff;
}

.hero .container {
    max-width: 1200px;
    margin: 150px auto;
    text-align: center;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: 1.5px;
    color: #fff;
}

.hero .accent {
    color: #00e5ff;
    text-shadow: 0 2px 24px #00e5ff50;
}

.hero .subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: #a09fc7;
    margin-bottom: 38px;
    line-height: 1.7;
}

.hero-btns {
    margin-bottom: 36px;
    display: flex;
    gap: 18px;
    justify-content: center;
}

.hero-stats {
    margin-top: 42px;
    display: flex;
    gap: 42px;
    justify-content: center;
    flex-wrap: wrap;
}

.join-btn {
    background: #00e5ffb0;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 38px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(38,163,255,0.13);
    transition: background 0.16s;
}

.join-btn:hover {
    background: #00e5ff9d;
    transition:
        transform 0.1s ease,
        box-shadow 0.1s ease;
    transform: scale(1.05);
    text-shadow: 0 2px 12px #f7e373ce;
    color: #e9e9e9;
}

.cleni:hover {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    transform: scale(1.04);
    animation: rotate-border 1s linear infinite;
    box-shadow: 0 0 16px #00e5ff80;
    position: relative;
    backdrop-filter: blur(4px);
    }

.podpora:hover {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    transform: scale(1.04);
    animation: rotate-border 1s linear infinite;
    box-shadow: 0 0 16px #00e5ff80;
    position: relative;
    backdrop-filter: blur(4px);
}

.scena:hover {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    transform: scale(1.04);
    animation: rotate-border 1s linear infinite;
    box-shadow: 0 0 16px #00e5ff80;
    position: relative;
    backdrop-filter: blur(4px);
}

.zpravy:hover {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    transform: scale(1.04);
    animation: rotate-border 1s linear infinite;
    box-shadow: 0 0 16px #00e5ff80;
    position: relative;
    backdrop-filter: blur(4px);
}

.hero-stats > div {
    background: #00e5ff0c;
    border-radius: 12px;
    padding: 30px 50px;
    min-width: 130px;
    box-shadow: 0 0 12px #1a237e16;
    font-size: 1.17em;
    display: inline-block;
    margin-bottom: 18px;
}

.hero-stats .big {
    font-size: 2em;
    font-weight: 900;
    color: #00e5ff;
    text-shadow: 0 2px 12px #00e5ff2d;
}
.hero-stats .mini {
    font-size: 0.9em;
    color: #c7c6fd;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.otazky {
  display: grid;
  grid-template-columns: 1fr 1fr; /* dva sloupce stejně široké */
  gap: 24px;
  margin: 60px auto;
  justify-items: center;
}
.otazky-hr {
    border: none;              /* odstraní klasické orámování */
    height: 3px;               /* tloušťka čáry */
    width: 15%;                /* délka čáry */
    background: linear-gradient(90deg, #23dcff, #6f00ff);
    border-radius: 4px;        /* zaoblení konců */
    margin: 16px auto;      /* mezery + centrování */
}
.otazka-block {
  max-width: 400px;
  min-width: 320px;
  min-height: 100px;
  background: #00e5ff0c;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  margin: 16px auto;
  padding: 32px 28px 24px 28px;
  color: #e0e8f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.otazka-block:hover {
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease;
    transform: scale(1.04);
    animation: rotate-border 1s linear infinite;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 16px #00e5ff80;
    position: relative;
}
.otazka-header {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}
.otazka-text h3 {
  margin: 0 0 12px 0;
  font-size: 1.8em;
  text-align: center;
  font-weight: 700;
  color: #00e5ff;
}
.otazka-icon {
  font-size: 1.5em;
  color: #29f6ff;
  margin-right: 18px;
}
.otazka-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #23dcff;
}
.otazka-content {
  font-size: 1.1em;
  color: #e0e8f6;
  line-height: 1.7;
}
/* Umožní čtvercový tvar, když je text krátký */
.otazka-box {
  aspect-ratio: 1 / 1;
}

.nabidka-block {
  display: flex;
  gap: 20px; /* mezera mezi obrázkem a textem */
  background: #00e5ff0c; /* třeba tmavší pozadí */
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  margin: 30px auto; /* vycentrování na stránce */
  color: #e0e0ff;
}
.nabidka-block:hover {
  transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    transform: scale(1.04);
    animation: rotate-border 1s linear infinite;
    box-shadow: 0 0 16px #00e5ff80;
    backdrop-filter: blur(4px);
    position: relative;
}

.nabidka-image {
  width: 120px;   /* velikost obrázku - uprav dle potřeby */
  height: 120px;
  object-fit: cover; /* aby obrázek hezky vyplnil rámeček */
}

/* Textová část nabídky */
.pratelska-text h3 {
  margin: 0 0 12px 0;
  font-size: 1.8em;
  text-align: left;
  font-weight: 700;
  color: #00e5ff;
}
.pratelska-text p {
  margin: 0;
  font-size: 1.1em;
  text-align: left;
  line-height: 1.5;
  color: #dbdbdb;
}

/*Konec text casti*/

hr {
    border: none;                /* smaže výchozí styl */
    height: 2px;                  /* tloušťka */
    background: #00e5ff;          /* barva */          /* zaoblení konců */
    margin: 100px 0;
    border-radius: 4px;     /* mezery nahoře/dole */
}

.konec-main h2 {
    font-size: 3rem;
}

.home {
    background: #ffffff1f;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.22s;
}
.home:hover {
    background: #f1505091;
    transform: scale(1.05);
    text-shadow: 0 2px 12px #ff3838;
    color: #fff;
}

.dest-list {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}

footer {
    background: linear-gradient(90deg, #1a227e34 0%, #522da81f 100%);
    backdrop-filter: blur(1px);
    color: #dbdbdb;
    padding: 20px 0;
    margin-top: 40px; /* mezera od obsahu */
    box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-logo {
    font-size: 1.4em;
    font-weight: bold;
    color: #00e5ff;
}

.footer-links a {
    color: #dbdbdb;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    text-shadow: 0 0px 9px #a8f6ff;
}

.footer-copy {
    font-size: 0.9em;
    color: #aaa;
}
.footer-copy:hover {
    transform: scale(1.05) ease;
    text-shadow: 0 0px 12px #ffffffce;
}

html {
    scroll-behavior: smooth;
}

/* Šířka vertikálního scrollbaru */
::-webkit-scrollbar {
    width: 0; /* můžeš měnit hodnotu (např. 8px, 16px) */
}

/* Pozadí pruhu (track) */
::-webkit-scrollbar-track {
    background-color: #4a08a0; /* např. tmavě modrá barva */
    border-radius: 10px;
}

/* Posuvný „thumb“ (držitelná část) */
::-webkit-scrollbar-thumb {
    background-color: #b443e9; /* modrá */
    border-radius: 10px;
    border: 2px solid #4a08a0; /* prostor kolem thumb */
}

/* Efekt při najetí myší na thumb */
::-webkit-scrollbar-thumb:hover {
    background-color: #b543e970; /* tmavší modrá */
}

.kontakt23 {
    color: #00e5ff;
}
.kontakt23:hover {
    color:#0aee3c
}