/* Základní styl stránky v duchu roku 2010 */
body {
    background-color: #e9ecef;
    color: #222222;
    font-family: Georgia, "Times New Roman", Times, serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px 0;
}

/* Hlavní vycentrovaný obal (kontejner) */
#container {
    width: 780px;
    max-width: 95%;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

/* Horní lišta / Header */
header {
    background-color: #1a365d;
    color: #ffffff;
    padding: 30px;
    border-bottom: 4px solid #2b6cb0;
}

header h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    text-align: left;
    font-weight: normal;
}

.subtitle {
    font-style: italic;
    color: #cbd5e0;
    font-size: 16px;
    margin-bottom: 15px;
}

.intro-bio {
    font-size: 15px;
    text-align: justify;
    margin: 0;
    line-height: 1.5;
}

/* Obsahová část */
.content {
    padding: 30px;
}

/* Nadpisy sekcí od levého okraje */
h2 {
    font-size: 22px;
    color: #1a365d;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

h3 {
    font-size: 18px;
    color: #2b6cb0;
    margin-top: 25px;
    margin-bottom: 5px;
    text-align: left;
}

.poddnadpis {
    font-style: italic;
    color: #666666;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 12px;
    text-align: left;
}

/* Odstavce textu zarovnané do bloku */
p {
    text-align: justify;
    margin-bottom: 15px;
    font-size: 15px;
}

/* Kontaktní seznam */
.contact-list {
    list-style-type: square;
    padding-left: 20px;
}

.contact-list li {
    margin-bottom: 8px;
}

a {
    color: #2b6cb0;
    text-decoration: underline;
}

a:hover {
    color: #1a365d;
    text-decoration: none;
}

/* Patka stránky */
footer {
    background-color: #f7fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #718096;
}
/* Mřížka pro 6 fotek */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 30px 0;
}

.gallery-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border: 1px solid #cccccc;
    cursor: pointer;
    background-color: #f0f0f0;
}

.gallery-img:hover {
    border-color: #1a365d;
    opacity: 0.9;
}

/* Modal / Lightbox pro zvětšení */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border: 2px solid #ffffff;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/* Styling pro popisek pod fotkou v lightboxu */
#lightbox-caption {
    margin: 15px auto 0 auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ffffff;
    font-size: 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    line-height: 1.4;
}
/* ==========================================
   STYLY PRO PODSTRÁNKU LECCOS A VŠELICOS
   ========================================== */

.search-box {
    background-color: #f0f4f8;
    border: 1px solid #778899;
    padding: 15px;
    margin-bottom: 20px;
}

.search-input {
    width: 96%;
    padding: 6px 10px;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    border: 1px solid #003366;
    background-color: #ffffff;
    margin-bottom: 10px;
}

.filter-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: Verdana, sans-serif;
    font-size: 11px;
    padding: 4px 8px;
    border: 1px solid #003366;
    background-color: #e6eef5;
    color: #003366;
    cursor: pointer;
}

.filter-btn:hover, 
.filter-btn.active {
    background-color: #003366;
    color: #ffffff;
}

/* Seznam článků / odkazů */
.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-item {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.link-item:hover {
    border-color: #0000cc;
    background-color: #f9f9f9;
}

.link-title {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 15px;
}

.link-desc {
    font-size: 12px;
    color: #444444;
    margin-top: 4px;
}

.link-meta {
    font-size: 11px;
    color: #777777;
    margin-top: 6px;
    font-style: italic;
}

.tag {
    display: inline-block;
    background-color: #d8dee9;
    color: #111111;
    padding: 1px 5px;
    font-size: 10px;
    border: 1px solid #888888;
    font-style: normal;
}

.back-link {
    margin-bottom: 15px;
    display: inline-block;
    font-size: 12px;
}
/* Retro box s odkazy pod headerem v duchu webu */
.subtle-nav {
    margin: 15px 25px 0 25px;
    padding: 6px 10px;
    font-size: 11px;
    font-family: Verdana, Tahoma, sans-serif;
    color: #444444;
    background-color: #f0f4f8;
    border: 1px solid #778899;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.subtle-nav-title {
    font-weight: bold;
    font-family: "Courier New", Courier, monospace;
    color: #003366;
}

.subtle-nav a {
    font-size: 11px;
    color: #0000cc;
    text-decoration: underline;
    padding: 1px 4px;
    background-color: #ffffff;
    border: 1px solid #888888;
}

.subtle-nav a:hover {
    color: #ff0000;
    background-color: #ffffcc;
    border-color: #0000cc;
}