/* 1. ANIMOVANÉ POZADÍ - VYVÁŽENÁ MODRÁ */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    /* Převod Hex barev na RGBA */
    background: linear-gradient(-45deg, 
        rgba(30, 60, 114, 1), 
        rgba(42, 82, 152, 1), 
        rgba(28, 146, 210, 1), 
        rgba(28, 56, 88, 1)
    );
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 1);
    padding: 40px 20px;
    text-align: center;
}

/* 2. HLAVNÍ NADPISY */
.nadpis {
    font-size: clamp(1.65rem, 6.0vw, 3rem); 
    margin-top: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 1);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.jmeno {
    font-weight: 500;
    font-size: 2.0rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 1);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* 3. MENU (TLAČÍTKA) */
.pole {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.tablink {
    padding: 16px 35px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    background: rgba(0, 0, 0, 0.15); 
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    outline: none;
    transition: all 0.3s ease;
}

.tablink:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 1);
}

.tablink:active {
    transform: scale(0.92);
}

.tablink:focus {
    background: rgba(255, 255, 255, 1);
    color: rgba(30, 60, 114, 1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

/* 4. SEKCE OBSAHU */
.page {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out forwards;
    scroll-margin-top: 140px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-jednotlive {
    margin-bottom: 50px;
    padding: 10px;
}

.info-jednotlive h3 {
    font-size: 2.1rem;
    color: rgba(255, 255, 255, 1); 
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
    padding-bottom: 5px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.info-jednotlive p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 1);
    max-width: 750px;
    margin: 0 auto;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}

/* 5. OBRÁZKY */
img {
    max-width: 320px;
    height: auto;
    border-radius: 20px;
    margin: 20px 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* RESPONZIVITA */
@media (max-width: 600px) {
    .pole { gap: 10px; }
    .tablink { padding: 12px 20px; font-size: 0.8rem; }
    .nadpis { font-size: 2rem; }
}

.odkaz {
    color: rgba(255, 255, 255, 1);
}
#obor{
    font-weight: bold;

}
#odkaz-domu{
    text-decoration: underline none;
    color: white;
    padding: 16px 35px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    background: rgba(0, 0, 0, 0.15); 
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    outline: none;
    margin: 50px;
    
}
.datum{
    margin: 10px;
}
a{
    text-decoration: underline none;
    color: white;

}