/* Plzeň 1 – motiv: primární žlutá #FAB700, sekundární zelená #1FA22E.
   Načítá se za main.css jen na stránkách Plzně 1. */

.btn-primary {
    color: #fff;
    background-color: #FAB700;
    border-color: #FAB700;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff;
    background-color: #e0a300;
    border-color: #e0a300;
}

.section--secondary {
    background-color: #9d9d9c;
    color: #fff;
}
.section--secondary h2,
.section--secondary h3,
.section--secondary p,
.section--secondary .timeline__date,
.section--secondary .timeline__desc,
.section--secondary .timeline__desc p {
    color: #fff;
}

/* Harmonogram: zrušit světlé pozadí popisu fáze (bílý text na šedé sekci) */
.timeline__desc {
    background-color: transparent;
}
/* vycentrovat bubliny (3 položky ve flexu se jinak lepí doleva) */
.timeline {
    justify-content: center;
}
/* přebarvit azurové (#02bdd6) bubliny na žlutou Plzně 1 + trochu zvětšit */
.timeline__date {
    background-color: #FAB700;
    width: 120px;
    min-width: 120px;
    height: 120px;
}

.list-point h3 {
    color: #fff;
}

/* Patička – stejná šedá jako sekundární sekce */
.foot {
    background-color: #9d9d9c;
    color: #fff;
}
.foot a {
    color: #fff;
    text-decoration: underline;
}

.text-primary {
    color: #FAB700 !important;
}

/* přebarvení azurové (#02bdd6 z main.css) na Plzeň 1 */
.badge-primary {
    background-color: #FAB700;
    color: #fff;
}
a {
    color: #c8890a;
}
a:hover,
a:focus {
    color: #a06d05;
}
/* odkazy v tmavých blocích a patičce zůstávají bílé */
.section--secondary a,
.foot a,
.text-white,
a.text-white {
    color: #fff;
}
/* výsledný (net) počet hlasů zůstává modrý – je to záměr */
a.vote-net,
.vote-net {
    color: #0060a6;
}

.nav-link-btn {
    background-color: #FAB700;
    color: #fff;
}
.nav-link-btn:hover {
    background-color: #e0a300;
    color: #fff;
}

/* Výsledky Plzně 1 – kladné / záporné / výsledné (net) hlasy */
.vote-pos { color: #1a8a1a; font-weight: 700; }
.vote-neg { color: #e23b3b; font-weight: 700; }
.vote-net { color: #0060a6; font-weight: 700; }

.results-table { width: 100%; border-collapse: collapse; }
.results-table th,
.results-table td { padding: 10px 12px; border-bottom: 1px solid #e6e6e6; text-align: left; vertical-align: top; }
.results-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #666; }
.results-table td.num,
.results-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.results-table tr.winner td { background: #fff7db; }
.results-table .rank { font-weight: 700; color: #b8860b; }

/* Hero – slider přes celou plochu, obsah vycentrovaný nad ním */
.section--intro { position: relative; min-height: 90vh; overflow: hidden; display: flex; }

/* rotující fotky jako pozadí */
.section--intro .main-carousel { position: absolute; inset: 0; z-index: 0; }
.section--intro .main-carousel,
.section--intro .flickity-viewport,
.section--intro .flickity-slider,
.section--intro .carousel-cell { height: 100%; }
.section--intro .carousel-cell { width: 100%; }
.section--intro .carousel-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ztmavení pro čitelnost textu */
.section--intro::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.55));
}

.section--intro > .container {
    position: relative; z-index: 2; width: 100%;
    display: flex; flex-direction: column;
}
.section--intro .intro {
    flex: 1; min-height: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 40px 0 60px;
}
.section--intro .navbar-brand img { width: 294px; max-width: 70vw; height: auto; }
.section--intro .intro__logo { margin: 0 0 22px; }
.section--intro .intro__logo #brlogo img { height: 220px; width: auto; }
.section--intro .intro__text { max-width: 820px; margin: 0 auto; }
.section--intro .intro__text h1 {
    color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    margin: 6px 0 26px; text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.section--intro .intro__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.vote-summary { font-size: 14px; white-space: nowrap; }
.vote-summary > span { margin-left: 8px; }
.vote-summary > span:first-child { margin-left: 0; }

/* přepínač ročníků ve výsledcích */
.results-tab-btn {
    display: inline-block; margin: 0 4px 6px; padding: 6px 16px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    background: #fff; color: #c8890a;
    border: 1px solid #FAB700; border-radius: 999px;
}
.results-tab-btn:hover { background: #fff6dd; }
.results-tab-btn.active { background: #FAB700; color: #fff; }

/* Detail – boční box s parametry (bílá karta, výrazné hodnoty) */
.params {
    background: #fff;
    padding: 24px 26px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06);
    margin-bottom: 1.5rem;
}
.params dl { margin: 0; }
.params dt {
    font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em;
    color: #9a9a9a; font-weight: 600; margin-top: 16px;
}
.params dl > dt:first-child { margin-top: 0; }
.params dd { font-size: 1.2rem; font-weight: 700; color: #222; margin: 2px 0 0; }
.params .location-map { margin-top: 18px; }
.params .location-map iframe { max-width: 100%; border-radius: 8px; }

/* Sledujte nás v detailu (bílá ikona na barevném kolečku) */
.social-fb { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; background:#0060a6; }
.social-fb:hover { background:#004b80; }
.social-fb .icon { width:20px; height:20px; }
