:root {
    --blue-color: #03319f;
    --light-blue-color: #4a90e2;
    --white-color: #fff;
    --gray-color: #f8f9fa;
}

/* -------------------------- */

body {
    scroll-behavior: smooth;
}

.navbar {
    background-color: var(--blue-color);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white-color);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
}

    .navbar-brand:hover {
        color: var(--light-blue-color);
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-brand .navbar-logo {
        display: inline-block;
        width: 50px;
        height: 50px;
        background-image: url('../Images/loga/PD2025.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .navbar-brand:hover .navbar-logo {
        background-image: url('../Images/loga/PD2025_hover.png');
    }

.navbar-dark .navbar-nav .nav-link {
    color: var(--white-color);
}

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link:hover.active {
        color: var(--light-blue-color);
    }

    .navbar-dark .navbar-nav .nav-link.active {
        color: var(--white-color);
        font-weight: 700;
    }

.hero {
    background-color: var(--white-color);
    padding: 20px 0;
}

    .hero .logo-img {
        max-width: 200px;
        height: auto;
    }

    .hero .logos {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

@media (max-width: 768px) {
    .hero .logos {
        flex-direction: column;
        justify-content: center;
    }

    .hero .logo-img {
        width: 100%;
    }
}

.hero2 {
    background-color: var(--white-color); /* rgba(74, 144, 226, 1); */
    padding: 20px 0;
}

    .hero2 .logos {
        display: flex;
        justify-content: center; /* Vycentrování všech log */
        gap: 30px; /* Přidání mezery mezi logy */
        flex-wrap: wrap; /* Umožní přizpůsobení na malé obrazovky */
    }

    .hero2 .logo-img {
        max-width: 200px;
        height: auto;
    }

@media (max-width: 768px) {
    .hero2 .logo-img {
        width: calc((100% - 60px) / 3); /* Automatický výpočet - 30px = 2x15px = gap */
    }
}

.slider-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.carousel-inner img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.small-slider .carousel-inner img {
    height: 300px;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    /* background: rgba(0, 0, 0, 0.4); */
    /* background: rgba(51, 51, 51, 0.5); */
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.small-slider .carousel-caption {
    min-height: 100px;
}

.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3 {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.carousel-caption h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.small-slider .carousel-caption h1 {
    font-size: 1.8rem;
}

.carousel-caption h2 {
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--gray-color);
    margin-top: 0;
}

.small-slider .carousel-caption h2 {
    font-size: 1.5rem;
}

.carousel-caption h3 {
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--gray-color);
    margin-top: 0;
}

.small-slider .carousel-caption h3 {
    font-size: 1.3rem;
}

.carousel-caption p {
    font-size: 1.2rem;
}

@media (max-width: 1200px) {
    .carousel-caption {
        width: 50%;
    }
}

@media (max-width: 992px) {
    .carousel-caption {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        width: 70%;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        width: 80%;
    }
}

.text-primary {
    color: var(--blue-color) !important;
}

.btn-primary {
    background-color: var(--blue-color);
}

    .btn-primary:hover {
        background-color: var(--light-blue-color);
    }

footer {
    background-color: #333;
    color: var(--white-color);
    text-align: center;
}

    footer a {
        color: var(--white-color);
        text-decoration: underline;
    }

        footer a:hover {
            color: var(--light-blue-color);
        }

    footer .footer-logo {
        max-height: 125px;
        width: auto;
    }

    footer .footer-content {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    footer .footer-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

@media (max-width: 992px) {
    footer .footer-content {
        gap: 30px;
    }
}

#program {
    background-color: var(--gray-color);
}

    #program .schedule-item {
        display: flex;
        align-items: stretch;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

        #program .schedule-item > .col-md-2,
        #program .schedule-item > .col-md-10 {
            display: flex;
            align-items: center;
        }

        #program .schedule-item time {
            font-weight: 700;
            color: var(--blue-color);
            display: block;
        }

        #program .schedule-item p {
            margin: 0;
            line-height: 1.4;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 2.8rem;
        }

        /* jména řečníků tučně, téma normálně */
        #program .schedule-item .speaker {
            font-weight: 500;
        }

        /* JEDNACÍ BLOKY – bez casu, doprostred druheho sloupce */
        #program .schedule-item.block time {
            display: none;
        }

        #program .schedule-item.block > .col-md-10 {
            justify-content: center;
            text-align: center;
            font-style: italic;
        }

.nav-tabs .nav-link {
    color: var(--blue-color);
    font-weight: bold;
    border: none;
    padding: 10px 20px;
}

    .nav-tabs .nav-link.active {
        background-color: var(--blue-color);
        color: var(--white-color);
        border-radius: 5px;
    }

#registrace, #obsah {
    padding: 50px 0;
    background-color: var(--white-color);
}

#icoDphWrapper {
    transition: opacity 0.3s ease-in-out;
    min-height: 60px;
}

.hidden {
    display: none !important;
    pointer-events: none;
    /*
    opacity: 0;
    pointer-events: none;
    */
}

.tooltip-icon {
    cursor: help;
}

.title-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

    .title-container h3 {
        margin: 0;
        font-size: 1.8rem;
        font-weight: bold;
        white-space: nowrap;
    }

.title-line {
    flex-grow: 1;
    height: 3px;
    background: var(--blue-color);
    position: relative;
    top: 2px;
}