@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200..1000&display=swap');

body {
    background-color: #F1F3F6;
    padding-top: 56px;
    font-family: 'Nunito', sans-serif; /* Opravený název fontu */
    font-weight: 400;
    background-image: url('/tiz/images/carousel1.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}
#about {
    scroll-margin-top: 50px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px; 
}

h3 {
    font-size: 28px; 
}

h4 {
    font-size: 20px; 
}

h5 {
    font-size: 16px;
}
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}
/* Seznam - každý li bude mít oranžovou barvu pro bod */
.about-list {
    list-style-type: none;
    padding-left: 0;
}

.about-list li {
    font-size: 16px;
    color: #231F20; /* Černý text */
    margin-bottom: 12px;
    padding-left: 25px; /* Prostor pro bod */
    position: relative;
}

/* Oranžový bod před každým seznamem */
.about-list li::before {
    content: "•"; /* Použití symbolu pro tečku jako bod */
    color: #F37A29; /* Oranžová barva bodu */
    font-size: 24px; /* Velikost bodu */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.mb-1 {
    color: #F37A29; /* Oranžová barva */
}








.card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-bottom {
    height: 200px;
    object-fit: cover;
}

.bg-light {
    background-color: #f8f9fa!important;
}

/* Footer specific styles */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #adb5bd !important;
}

.footer-contact i {
    width: 20px;
    text-align: center;
}

.footer-links li a:before {
    content: "→";
    margin-right: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links li a:hover:before {
    opacity: 1;
    margin-right: 12px;
}

section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.65);
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}


/* Upravený navbar s oranžovým proužkem nahoře */
.navbar {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    background-color: #231F20 !important;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-top: 2px solid #F37A29; /* Oranžový proužek nahoře */
    display: flex;
    justify-content: center; /* Centrum pro navbar */
    background-color: rgba(35, 31, 32, 0.9) !important;
    backdrop-filter: blur(5px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #F37A29 !important;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: #F37A29 !important;
}

.nav-link {
    color: #B6B6B6 !important;
    font-size: 1.1rem;
    margin: 0 10px;
    padding: 8px 15px !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #F37A29 !important;
}

.nav-link.active {
    color: #F37A29 !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: calc(100% - 30px);
    height: 2px;
    background-color: #F37A29;
    transition: all 0.3s ease;
}

.navbar-toggler {
    border-color: rgba(243, 122, 41, 0.5);
}

/* Nastavení pro dropdown menu a tlačítka */
.language-btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    border: 2px solid #F37A29 !important;
    color: #F37A29 !important;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background-color: rgba(243, 122, 41, 0.1) !important;
}

.language-btn.active {
    background-color: #F37A29 !important;
    color: white !important;
}

/* Modern dropdown menu style */
.dropdown-menu {
    background-color: #2C2C2C;
    border: none;
    padding: 12px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-item {
    color: #F37A29;
    padding: 10px 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dropdown-item:hover {
    background-color: #F37A29;
    color: white;
    transform: scale(1.05);
}

.flag-icon {
    width: 20px; /* velikost vlajky */
    height: 14px; /* výška vlajky */
    margin-right: 10px; /* mezera mezi vlajkou a textem */
}

#currentLanguageFlag {
    width: 20px; /* velikost vlajky na tlačítku */
    height: 14px;
    margin-right: 10px;
}

#currentLanguageText {
    font-size: 16px;
}

/* Zajistíme, aby dropdown bylo na pravé straně */
.dropdown-menu-end {
    right: 0;
    left: auto;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(5px);
}



.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.language-dropdown {
    position: relative;
    z-index: 10;
}

/* Aby bylo tlačítko pro výběr jazyka a dropdown uprostřed */
.navbar .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}


/* Custom 5-column layout */
@media (min-width: 1200px) {
    .col-lg-15 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Adjust card images to be consistent */
.card-img-bottom {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 991.98px) {
    .nav-link {
        margin: 5px 0;
    }
    
    .language-switcher {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(182, 182, 182, 0.2);
    }
}

.mb-0 a {
    color: #F37A29;
    transition: color 0.3s ease;
}

.mb-0 a:hover {
    color: #d2691e;
}

/* Základní styly pro karty */
.card-img-container {
    cursor: pointer;
    height: 200px;
    overflow: hidden;
    background-size: cover;  /* Zajišťuje, že obrázek pokryje celou oblast */
    background-position: top center;  /* Obrázek bude zarovnán na vrchol */
}

.card-img-bottom {
    height: 100%;
    width: 100%;
    object-fit: cover;  /* Zajišťuje správné oříznutí a pokrytí celé oblasti */
    transition: transform 0.3s;
}

    
    .fullscreen-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
    
    .fullscreen-content {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }
    
    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        font-size: 30px;
        cursor: pointer;
        z-index: 10000;
    }


    
    /* Styly pro tlačítko */
.custom-btn {
    background-color: #F37A29;  /* Barva tlačítka */
    color: white;  /* Barva textu */
    font-size: 16px;  /* Velikost textu */
    padding: 12px 20px;  /* Větší padding pro větší tlačítko */
    border: none;  /* Odstranění okraje */
    border-radius: 5px;  /* Zaoblení rohů */
    transition: background-color 0.3s ease;  /* Efekt při najetí */
    margin-top: 15px;  /* Mezery nad tlačítkem */
}

/* Efekt při najetí na tlačítko */
.custom-btn:hover {
    background-color: #e56a25;  /* Tmavší odstín při najetí */
        color: white;  /* Barva textu */
}

/* Mezery pod tlačítkem */
.custom-btn + p {
    margin-top: 15px;  /* Mezery pod tlačítkem */
}
