/* ==========================================================================
   Kick France Femmes 2026 - jednotný stylopis webu
   ========================================================================== */

:root {
    --kff-yellow: #FAE615;
    --kff-black: #000000;
    --kff-text: #222222;
    --kff-transition: 0.25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Navigace musí byt vzdy nad zbytkem obsahu stranky (mimo jine i pri rozbalenem
   mobilnim menu s rozklikavacimi podnabidkami, aby je nic neprekryvalo) */
.navbar {
    position: relative;
    z-index: 1030;
}

.navbar .dropdown-menu {
    z-index: 1031;
}

.navbar-collapse {
    z-index: 1030;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--kff-text);
    line-height: 1.6;
}

.text-shadow {
    text-align: justify;
}

.paticka {
    text-align: center;
}

/* Gallery Carousels */
#galleryCarousel {
    max-width: 900px;
    margin: 2rem auto;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

#galleryCarousel2 {
    max-width: 900px;
    margin: 2rem auto;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    height: 60vh;
    max-height: 700px;
    min-height: 300px;
}

.carousel-item {
    height: 100%;
}

.img-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
}

.img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: 20px;
    height: 20px;
    display: inline-block;
    border: solid #000;
    border-width: 0 4px 4px 0;
    padding: 4px;
}

.carousel-control-prev-icon {
    transform: rotate(135deg);
}

.carousel-control-next-icon {
    transform: rotate(-45deg);
}

.carousel-indicators button {
    background-color: #fff;
}

/* Hero sections */
.hero {
    background: var(--kff-yellow);
    max-height: 650px;
    color: var(--kff-black);
    padding: 2rem 0 3rem;
}

.hero-logo {
    max-height: 175px;
    width: auto;
    transition: transform var(--kff-transition);
}

.hero-hlavni {
    background: var(--kff-yellow);
    max-height: 1500px;
    color: var(--kff-black);
    padding: 2rem 0 3rem;
}

.hero-hlavni-logo {
    max-height: 400px;
    width: auto;
    transition: transform var(--kff-transition);
}

.hero:hover .hero-logo,
.hero-hlavni:hover .hero-hlavni-logo {
    transform: scale(1.02);
}

/* Sections */
.numbers {
    background: #f8f9fa;
    padding: 60px 0;
}

.rider-section {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 3rem 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    transition: box-shadow var(--kff-transition), transform var(--kff-transition);
}

/* Kdyz je .rider-section obalena odkazem (napr. klikaci kartička sponzora) */
a:hover > .rider-section {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.rider-section .rider-img img {
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.rider-section .rider-text {
    font-size: 1rem;
    padding: 1rem 2rem;
}

.rider-section .rider-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Odměnové karty (dříve vloženy jako <style> přímo na stránce podporte_nas.html) */
.team-col {
    display: flex;
}

.team-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: box-shadow var(--kff-transition), transform var(--kff-transition);
}

.team-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.team-card p {
    flex-grow: 1;
}

.team-card img {
    margin-top: auto;
}

/* Images */
.img-kulaty {
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--kff-transition);
}

.img-kulaty:hover {
    transform: scale(1.015);
}

.rider-medallion h3 {
    transition: color var(--kff-transition);
}

.rider-medallion:hover h3 {
    color: var(--kff-yellow);
}

.rider-medallion:hover .img-kulaty {
    transform: scale(1.03);
}

/* Medailonky na strance Jezdkyne - vsechny fotky stejne velke bez ohledu na
   puvodni pomer stran. Pomer 30:53 odpovida prevazne pouzivanym fotkam na vysku
   (cca 3000x5300 px), takze se prirozene oriznou jen fotky s jinym pomerem stran
   (napr. Blanka 1500x2000), a to jen mirne po stranach - ne nahore/dole. */
.rider-medallion .img-kulaty {
    aspect-ratio: 30 / 53;
    height: auto;
    object-fit: cover;
    object-position: center top;
}

.img-bottom {
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    width: 100%;
}

/* Footer */
#kontakt .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-section {
    flex: 1;
    min-width: 300px;
}

.logo-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    height: 100%;
    max-height: 80px;
    width: auto;
}

footer {
    background: #FAE615;
    color: black;
    padding: 40px 0;
    max-height: 250px;
}

footer a {
    color: black;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Tables */
.table-benefits td {
    padding: 0.6rem 0.8rem !important;
    vertical-align: top;
}

.table-benefits td div,
.table-benefits td ul,
.table-benefits td li {
    margin: 0.2rem 0 !important;
    padding: 0;
}

.table-benefits ul {
    padding-left: 1.2rem !important;
}

.table-benefits li {
    line-height: 1.3;
}

.table-benefits .fst-italic {
    margin-bottom: 0.2rem !important;
}

.cat-col {
    width: 50px !important;
    white-space: nowrap;
}

td, th {
    white-space: normal;
    word-break: normal;
}

/* Icons and buttons */
.zavodnice-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-right: 8px;
}

.dropdown-item img.zavodnice-icon {
    height: 24px;
    width: auto;
    margin-right: 6px;
}

.custom-btn {
    padding: 1px 1px;
    font-size: 0.85rem;
    width: 120px;
    height: 45px;
}

.nav-item {
    font-size: 0.85rem;
}

/* PDF Preview */
.pdf-image-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    max-width: 784px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pdf-image-link:hover {
    transform: translateY(-3px);
}

.pdf-preview-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.pdf-image-link:hover .pdf-preview-img {
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Responsive iframe */
.responsive-iframe {
    min-height: 600px;
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .pdf-preview-img {
        max-width: 100%;
    }
}

/* ==========================================================================
   Navigace - zvýraznění aktivní stránky + jemný hover
   ========================================================================== */
.navbar .nav-link {
    position: relative;
    transition: color var(--kff-transition);
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--kff-yellow) !important;
}

.navbar .dropdown-item.active {
    background-color: var(--kff-yellow);
    color: var(--kff-black);
}

.custom-btn {
    transition: filter var(--kff-transition), transform var(--kff-transition);
}

.custom-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn {
    transition: filter var(--kff-transition), transform var(--kff-transition), box-shadow var(--kff-transition);
}

.btn:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   Jemné "fade-in" animace při scrollování (assets/main.js přidává třídu in-view)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}