/* ═══════════════════════════════════════════════════════
   GOLD OVERLAY — aplikuje se přes style.css
   Mění pouze barvy, navigace zůstává beze změny
   ═══════════════════════════════════════════════════════ */

:root {
    --gold:       #b8922a;
    --gold-light: #d4ac50;
    --gold-pale:  #e8d5a0;
    --gold-dim:   #9a7820;
    --cream:      #faf7f2;
    --cream-2:    #f3ede3;
    --cream-3:    #ede4d4;
    --border-g:   #ddd4c0;
}

/* ── Base ─────────────────────────────────────── */
body { background: var(--cream); color: #5a5040; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-dim); text-decoration: none; }

h1, h2, h3, h4, h5, h6 { color: var(--gold-dim); }

/* ── Nav: pouze hover a active barva ─────────── */
header .nav li a:hover,
header .nav li a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: var(--gold) !important;
    background-color: transparent !important;
    text-decoration: none !important;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #f5e9c8 !important;
    background-color: transparent !important;
    border-top: 3px solid var(--gold) !important;
}
.navbar .nav > .active > a,
.navbar .nav > .active > a:hover {
    color: #f5e9c8 !important;
    background: none !important;
    border-top: 3px solid var(--gold) !important;
}

/* ── Topbar ───────────────────────────────────── */
.topbar { background: linear-gradient(135deg, #2a1f08 0%, #5a3e10 40%, #6a5214 70%, #7a6018 100%); border-bottom: 2px solid var(--gold-dim) !important; overflow: visible !important; }

.topbar-logo {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-20%);
    z-index: 100;
    pointer-events: none;
}
.topbar-logo img {
    display: block;
    height: 70px;
    width: auto;
    opacity: 0.75;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.topbar a { color: #fff8e8; }
.topbar a:hover { color: #fff; }
.topbar p { color: #f0d98a; }
.topbar ul.info li { color: #f0d98a; }
.topbar ul.info i { color: #fff8e8; }

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 44px;
    gap: 14px;
}
.topbar-lang a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff8e8;
}
.topbar-lang a:hover { color: #fff; }
.topbar-sep {
    display: inline-block;
    width: 1px;
    height: 16px;
    background: rgba(255,248,232,0.25);
}
.topbar-social {
    color: #f0d98a;
    font-size: 15px;
    transition: color 0.2s;
}
.topbar-social:hover { color: #fff; }

/* ── Home hlavní text ────────────────────────── */
.home-main-text { font-size: 24px; line-height: 1.7; }
@media (max-width: 767px) {
    .home-main-text { font-size: 15px; }
}

/* ── Section backgrounds ──────────────────────── */
body, section.section-padding.gray-bg { background: #fff; }
.home-intro-section,
.about-me-section,
.galery-section { background: var(--cream-2); }

/* ── Decorative lines (nadpisy sekcí) ──────────── */
.home-grid4-header::before,
.about-text-header::before,
.home-news-header::before { background: var(--gold); }
.home-grid4-title { color: var(--gold-dim); }
.home-news-heading { color: var(--gold-dim); }
.home-news-label { color: #a09070; }

/* ── News cards ───────────────────────────────── */
.home-news-section { background-color: var(--cream); background-image: none !important; }
.home-news-body { border-top-color: var(--gold); }
.home-news-card { background: #fff; border-color: var(--border-g); }
.home-news-card:hover { border-color: var(--gold-pale); background: var(--cream); }
.home-news-badge { background: var(--gold); }
.home-news-title-link:hover { color: var(--gold); }
.home-news-more { color: var(--gold-dim); border-bottom-color: var(--gold-pale); }
.home-news-more:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ── Aktuality ────────────────────────────────── */
.aktuality-heading { border-bottom-color: var(--gold-pale); }
.aktualita-card { border-color: var(--border-g); }
.aktualita-card:hover { border-color: var(--gold-pale); }
.aktualita-new { background: var(--gold); }
.aktualita-titulek-link:hover { color: var(--gold); }
.aktualita-more { color: var(--gold-dim); border-bottom-color: var(--gold-pale); }
.aktualita-more:hover { color: var(--gold); border-bottom-color: var(--gold); }
.aktualita-back:hover { color: var(--gold); }
.aktualita-file { background: var(--cream-2); border-color: var(--border-g); }
.aktualita-file:hover { background: var(--cream-3); border-color: var(--gold-pale); }
.aktualita-file i { color: var(--gold); }
.aktualita-paginace a.active { background: var(--gold); border-color: var(--gold); }
.aktualita-paginace a:hover { border-color: var(--gold); color: var(--gold); }

/* ── Lightbox ──────────────────────────────────── */
.lb-overlay { background: rgba(18,14,6,.95); }
.lb-caption { color: var(--gold-pale); }
.lb-close { color: var(--gold-pale); }
.lb-nav { background: rgba(184,146,42,.08); border-color: rgba(184,146,42,.28); color: var(--gold-pale); }
.lb-nav:hover { background: rgba(184,146,42,.2); }

/* ── Footer ───────────────────────────────────── */
footer { background: #1e1a12; border-top: 3px solid var(--gold-dim); }
footer a { color: var(--gold-pale); }
footer a:hover { color: var(--gold-light); }
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 { color: var(--gold-pale); }
footer ul.link-list li a { color: #a09070; }
footer ul.link-list li a:hover { color: var(--gold-light); }
#sub-footer { background: #141008; border-top-color: #2e2410; }
.scrollup { background: var(--gold); }

/* ── Slider hero text ─────────────────────────── */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.slider-hero-text {
    position: absolute;
    left: 5%;
    top: 30%;
    transform: translateY(-50%);
    z-index: 20;
    max-width: 340px;
    animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.slider-hero-name {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    color: #fff8e8;
    text-transform: none;
    letter-spacing: 6px;
    line-height: 1;
    margin: 0 0 16px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
    border-bottom: 2px solid var(--gold-dim);
    padding-bottom: 14px;
    animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.slider-hero-desc {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,248,232,0.82);
    line-height: 1.85;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    margin: 0;
    animation: heroFadeUp 1.4s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (max-width: 767px) {
    .slider-hero-text {
        display: block;
        left: 5%;
        top: 55px;
        transform: none;
        text-align: left;
        max-width: 60%;
    }
    .slider-hero-name {
        font-size: 18px;
        letter-spacing: 4px;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    .slider-hero-desc {
        font-size: 10px;
        line-height: 1.6;
    }
    /* Hamburger — pravý horní roh */
    .site-nav { background: transparent !important; border: none !important; box-shadow: none !important; min-height: 0 !important; }
    .site-nav .container { padding: 0 !important; }
    .navbar-header { background: transparent !important; min-height: 0 !important; }
    .navbar-toggle {
        position: fixed !important;
        top: 52px !important;
        right: 10px !important;
        margin: 0 !important;
        float: none !important;
        z-index: 200;
        background: rgba(30,20,5,0.65) !important;
        border-color: var(--gold-dim) !important;
    }
    .navbar-toggle .icon-bar { background-color: #f0d98a !important; }
    h2 { font-size: 18px !important; }
    .home-news-grid { grid-template-columns: 1fr !important; }
    .hn-photos { display: grid !important; overflow: visible !important; }
    .hn-photo { display: block !important; overflow: hidden !important; }
    .hn-c1 .hn-photo { height: 180px !important; }
    .hn-c2 .hn-photo, .hn-c3 .hn-photo { height: 120px !important; }
    .hn-c4 .hn-photo { height: 90px !important; }
    .hn-c2, .hn-c3 { grid-template-columns: 1fr 1fr !important; }
    .hn-c4 { grid-template-columns: 1fr 1fr !important; grid-template-rows: 90px 90px !important; }
    .hn-photo img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
    /* Dropdown přes celou šíři pod tlačítkem */
    .navbar-collapse {
        position: fixed !important;
        top: 84px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        background: rgba(60,42,12,0.97);
        z-index: 199;
        border-top: 1px solid var(--gold-dim);
        box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    }
    .navbar-collapse .nav { margin: 0; width: 100%; }
    .navbar-collapse .nav > li { float: none; width: 100%; }
    .navbar-collapse .nav > li > a {
        color: #f0d98a !important;
        padding: 12px 20px;
        border-top: none !important;
        border-bottom: 1px solid rgba(184,146,42,0.15);
    }
    .navbar-collapse .nav > li > a:hover,
    .navbar-collapse .nav > .active > a {
        color: #fff !important;
        background: rgba(184,146,42,0.18) !important;
    }
}

/* ── Fotky — rámeček všude ───────────────────── */
.ak-photos, .hn-photos {
    display: grid;
    margin-top: 20px;
    padding: 12px;
    border: 1px solid var(--border-g);
    border-radius: 4px;
    background: var(--cream);
    gap: 10px;
    row-gap: 10px;
}

/* ── Fotky v detailu aktuality ───────────────── */
.ak-photos {
    display: grid;
    gap: 4px;
    margin-top: 20px;
    overflow: hidden;
}
.ak-c1 { grid-template-columns: 1fr; }
.ak-c1 .ak-photo { height: 300px; }
.ak-c2 { grid-template-columns: 1fr 1fr; }
.ak-c2 .ak-photo { height: 200px; }
.ak-c3 { grid-template-columns: 1fr 1fr 1fr; }
.ak-c3 .ak-photo { height: 160px; }
.ak-c4 { grid-template-columns: 1fr 1fr; }
.ak-c5 { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 160px 160px; }
.ak-c5 .ak-photo:first-child { grid-column: span 2; }
.ak-photo {
    display: block;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}
.ak-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.ak-photo:hover img { transform: scale(1.05); }
.ak-photo-hidden { display: none; }
.ak-photo-more {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.48);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
}
@media (max-width: 767px) {
    .ak-photos, .hn-photos { grid-template-columns: 1fr !important; grid-template-rows: unset !important; }
    .ak-photo, .hn-photo { height: auto !important; aspect-ratio: 4 / 3; width: 100% !important; }
    .aktualita-card-detail .ak-c1 { max-width: 100% !important; }
    .home-news-grid { grid-template-columns: 1fr !important; }
    .home-news-card { width: 100% !important; }
    .grid4-slider { max-width: 100% !important; }
    .grid4-slider .slides li img { width: 100% !important; height: auto !important; }
}

/* ── Grid4 slider ────────────────────────────── */
.grid4-slider { max-width: 240px; margin-left: auto; margin-right: auto; }
.grid4-slider .slides li { height: 240px; overflow: hidden; }
.grid4-slider .slides li img { width: 240px; height: 240px; object-fit: cover; display: block; }

/* ── Slider sekce ─────────────────────────────── */
.hero-slider-section { background: var(--cream-2); border: none !important; box-shadow: none !important; outline: none !important; }
.hero-slider-section > *:first-child { border-top: none !important; margin-top: 0 !important; }
.hero-slider-section .home-news-header::before { background: var(--gold) !important; }
.home-news-section { border-bottom: none !important; box-shadow: none !important; }
.hero-slider-section .flexslider { background: transparent !important; border: none !important; box-shadow: none !important; margin: 0 !important; }
.hero-slider-section .flex-viewport { background: transparent !important; }

.flex-control-paging li a {
    background: var(--border-g) !important;
}
.flex-control-paging li a.flex-active {
    background: var(--gold) !important;
}

.slider-gallery-link {
    text-align: right;
    margin-top: 12px;
}

/* ── Buttons ──────────────────────────────────── */
.btn { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn:hover, .btn:focus { background: var(--gold-dim); border-color: var(--gold-dim); color: #fff; }
