/* ===============================
   GLOBAL STYLES & VARIABLES
================================== */
:root {
    --primary-color: #005587;
    --accent-color: #000000;
    --bright-color: #56B7E6;
}

@font-face{
    font-family: 'iconfont';
    src:url(../fonts/iconfont.eot);
    src:url(../fonts/iconfont.eot?#iefix) format('eot'), url(../fonts/iconfont.woff2) format('woff2'), url(../fonts/iconfont.woff) format('woff'), url(../fonts/iconfont.ttf) format('truetype'), url(../fonts/iconfont.svg#iconfont) format('svg')
}

body {
    padding-top: 85px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
}

.button {
    display: inline-block;
    border: solid 2px var(--primary-color);
    color: var(--primary-color);
    background-color: #fff;
    padding: 7px 0;
    width: 170px;
    text-align: center;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}
.button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

a {
    color: var(--primary-color);
    transition: 0.3s;
}
a:hover {
    color: var(--accent-color);
}

/* ===============================
   NAVBAR
================================== */
.navbar-brand img {
    height: 60px;
}

.shadow-sm {
    box-shadow: none !important;
}
.nav-item {
    margin-right: 1.5rem;
}
.nav-link {
    font-size: 1.2rem;
    color: var(--primary-color);
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}
.nav-item:last-child .nav-link, .nav-item:nth-last-child(2) .nav-link {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 30px;
}
.nav-item:last-child .nav-link:hover, .nav-item:nth-last-child(2) .nav-link:hover {
    background-color: var(--accent-color);
}

.lang-link {
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--primary-color);
}
.lang-link.active {
    font-weight: bold;
    color: var(--accent-color) !important;
}

.search-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: 0.3s;
    font-weight: bold;
}
.search-icon i:hover { color: var(--accent-color); }

/* Breadcrumbs */
.breadcrumb-dark {
    --bs-breadcrumb-divider-color: var(--primary-color);
}
.breadcrumb-dark .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}
.breadcrumb-dark .breadcrumb-item.active {
    color: var(--accent-color);
}

/* ===============================
   CAROUSEL
================================== */
#mainCarousel .carousel-inner {
    border-radius: 20px;
}

.carousel-item {
    height: 550px; min-height: 200px;
}
.carousel-img {
    object-fit: cover;
    filter: brightness(100%);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 1;
}
.carousel-indicators .active[data-bs-target] {
    background-color: var(--accent-color);
}

.carousel-caption {
    top: 120px;
    left: 90px;
}
.carousel-caption h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 30px;
}
.carousel-caption p {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 50px;
}

/* LOGO CAROUSEL */
.logo-slider {
    overflow: hidden;
    width: 80%;
    margin: auto;
}

.logo-track {
    display: flex;
    gap: 40px;
    animation: scroll 25s linear infinite;
}

.logo-track img {
    height: auto;       /* uprav podle potřeby */
    width: 130px;     /* uprav podle potřeby */
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
}

.logo-track img:hover {
    transform: scale(1.1);
}

/* Nekonečný pohyb */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===============================
   SECTION TITLES
================================== */
section img.dialab-rounded {
    border-radius: 20px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    position: relative;
}
.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    position: relative;
}

/* ===============================
   SKUPINA – CARD
================================== */
.group-card {
    padding: 1.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.group-card img {
    margin-bottom: 2.5rem;
}
.group-card p {
    height: 140px
}
.group-card a {
    margin-top: 2.5rem;
}
.group-card.first::before {
    font-family: 'iconfont';
    transform: rotate(180deg);
    font-size: 140px;
    position: absolute;
    color: var(--bright-color);
    top: -50px;
    right: 25px;
    display: none;
}
.group-card.first::before {
    content: "\E00C";
}
.group-card.first::after {
    font-family: 'iconfont';
    color: var(--accent-color);
    font-size: 140px;
    position: absolute;
    bottom: -50px;
    right: 20px;
}
.group-card.first::after {
    content: "\E00C";
}
.group-card.second::before {
    font-family: 'iconfont';
    transform: rotate(180deg);
    font-size: 140px;
    position: absolute;
    color: var(--bright-color);
    top: -50px;
    right: 25px;
    display: none;
}
.group-card.second::before {
    content: "\E00C";
}
.group-card.second::after {
    font-family: 'iconfont';
    color: var(--primary-color);
    font-size: 140px;
    position: absolute;
    bottom: -50px;
    right: 25px;
}
.group-card.second::after {
    content: "\E00C";
}
.group-card.third::after {
    font-family: 'iconfont';
    color: var(--accent-color);
    font-size: 100px;
    position: absolute;
    right: 0;
    bottom: -25px;
}
.group-card.third::after {
    content: "\E00A";
}

/* ===============================
   KONTAKTY – CARD
================================== */
#sluzby .row {
    justify-content: center;
}
.contact-card {
    border-radius: 15px;
}
.contact-card:hover {
    background-color: var(--primary-color);
    transition: 0.3s;
    color: #fff;
}
.contact-card .card-body {
    padding: 2rem 2.5rem;
}
.contact-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}
.contact-card:hover .card-title {
    color: #fff;
    transition: 0.3s;
}
.contact-card .card-position {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
.contact-card .card-contact {
    margin: 0;
}
.contact-card .card-contact a {
    color: #000;
    text-decoration: none;
}
.contact-card:hover .card-contact a {
    color: #fff;
    transition: 0.3s;
}
.contact-card .card-contact a:hover {
    text-decoration: underline;
}

/* ===============================
   PARTNEŘI – LOGO STRIP
================================== */
.partner-logo {
    opacity: 0.8;
    transition: 0.3s;
    filter: grayscale(40%);
}
.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===============================
   VYHLEDAVANI
================================== */
.search-form {
    text-align: center;
    margin-bottom: 20px;
}
.search-form input {
    border-radius: 30px;
    border: solid 1px var(--primary-color);
    padding: 3px 15px;
}
.search-form .button {
    padding: 2px 10px;
    width: auto;
}
.search-count {
    text-align: center;
}
.search-result {
    border-bottom: solid 1px #ddd;
    padding: 15px 0;
}
.search-result h2 a {
    color: var(--primary-color);
    text-decoration: none;
}
.search-result h2 a:hover {
    color: var(--accent-color);
}

/* ===============================
   KONTAKT + MAPA
================================== */
.contact-inner {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
}
.contact-inner h2 {
    margin-top: 70px
}
.google-map {
    border: 0;
    border-radius: 20px;
}

/* ===============================
   FOOTER
================================== */
.footer-main { background: var(--bright-color); margin-top: 100px; }
.footer-link { text-decoration: none; color: #ddd; }
.footer-link:hover { color: var(--accent-color); }
.footer-bottom {
    background: var(--bright-color);
    border-top: solid 1px #fff;
    color: #fff;
    font-size: 1rem;
}
.footer-bottom span {
    display: inline-block;
    margin: 0 20px;
}
.footer-bottom a {
    color: #fff;
    text-decoration: none;
}
.footer-bottom a:hover {
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    .group-card.first::before {
        font-size: 192px;
        top: -80px;
        right: -75px;
    }
    .group-card.first::after {
        font-size: 192px;
        bottom: -120px;
        right: 0;
    }
    .group-card.second::before {
        font-size: 192px;
        top: -80px;
        right: -75px;
    }
    .group-card.second::after {
        font-size: 192px;
        bottom: -120px;
        right: 0;
    }
    .group-card.third::after {
        font-size: 127px;
        bottom: -35px;
        right: 0;
    }
}
@media screen and (min-width: 360px) {
    .group-card.first::before {
        display: none;
    }
    .group-card.second::before {
        display: block;
    }
}
@media (max-width: 1400px) {
    .navbar-brand img {
        height: 40px;
    }
    .nav-item {
        margin-right: 0.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        border-bottom: solid 1px #ddd;
    }
    .nav-item:last-child .nav-link {
        display: inline-block;
        padding: 5px 10px;
        border-radius: 5px;
    }
    #vyhody i {
        font-size: 2.2rem;
    }
    .logo-slider {
        width: 100%;
        margin: 20px auto;
    }
    .group-card a {
        margin-top: 0;
    }
    .contact-inner {
        border-radius: 0;
    }
    .footer-main {
        margin-top: 0;
    }
    .footer-bottom span {
        margin: 0 2px;
    }
}