/* ZÁKLAD – stránka přes celou výšku */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: "FordAntenna";
    src: url("../FordAntenna.otf") format("opentype");
}

/* Pozadí okolo modrého panelu */
body {
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 90, 160, 0.25) 0%, rgba(0,0,0,0) 70%),
        radial-gradient(circle at 80% 70%, rgba(0, 40, 80, 0.35) 0%, rgba(0,0,0,0) 65%),
        linear-gradient(135deg, #041424 0%, #062e4a 60%, #03101d 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;

    color: #f5f5f5;
    font-family: "FordAntenna";
    font-size: 14px;
    /* font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
}

/* CENTRÁLNÍ MODRÝ PANEL */
.mybody {
    max-width: 1536px;         /* šířka jako header */
    width: 100%;
    min-height: 100vh;         /* vždy alespoň výška okna */

    margin: 0 auto;            /* vycentrovat vodorovně */
    background-color: #003362;

    display: flex;
    flex-direction: column;    /* header – main – footer pod sebou */
}

/* HEADER */
header img {
    width: 100%;
    height: auto;
    display: block;
}

/* MENU */
header nav {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 30px 18px;
    font-size: 16px;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
}

header nav a.current {
    color: #0059a9;
    font-weight: bold;
}

header nav a:hover {
    text-decoration: underline;
}

/* Přepínač jazyků vpravo */
.lang-switch {
    margin-left: auto;   /* odtlačí jazyk doprava v rámci nav (flex) */
}

.lang-switch a {
    color: #ffffff;
    margin-left: 10px;
    text-decoration: none;
}

.lang-switch a:hover {
    text-decoration: underline;
}

/* OBSAH – vyplní prostor mezi headerem a footerem */
main {
    flex: 1;
    padding: 10px 40px 40px 40px;
    line-height: 1.4;
}

/* FOOTER – vždy dole modrého panelu */
footer {
    padding: 15px 0 25px;
    text-align: center;
    font-size: 12px;
    margin-top: auto;   /* odtlačí footer na spodek panelu */
}

/* GALERIE */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #333;
    border-radius: 5px;
    transition: 0.2s;
}

.gallery img:hover {
    transform: scale(1.05);
    border-color: #666;
}

/* LIGHTBOX */
#lightbox {
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.justify {
    text-align: justify;
}

ul {
    list-style-type: circle;
}
