/* Custom CSS for TÁBORENKA Re-Design */

/* --- Variables --- */
:root {
    --color-yellow: #F9C200;
    --color-dark-green: #176114;
    --color-light-green: #81D982;
    --bg-off-white: #fdfdfd;
    --bg-soft-yellow: #fff9e6;
    --bg-soft-green: #f1f8f1;

    /* Standard Fonts as requested */
    --font-heading: 'Open Sans', sans-serif;
    --font-body: 'Open Sans', 'Roboto', sans-serif;

    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* --- Base --- */
body.taborenka-theme {
    font-family: var(--font-body);
    font-size: 1rem;
    /* Reset to standard size */
    line-height: 1.6;
    color: #333;
    padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand span {
    font-family: var(--font-heading);
    color: var(--color-dark-green);
    /* Headings in Green */
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

/* Facebook Icon Top */
.social-icon-fb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #3b5998 !important;
    /* Facebook Blue forced */
    color: #fff !important;
    /* White icon forced */
    border-radius: 50%;
    text-decoration: none !important;
    transition: transform 0.2s;
}

/* --- Top Info Bar --- */
.top-bar {
    background-color: var(--color-yellow) !important;
    border-bottom: none !important;
    color: var(--color-dark-green) !important;
    font-weight: 600;
}

.top-bar .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

.top-bar a {
    color: var(--color-dark-green) !important;
    text-decoration: none !important;
}

.top-bar a:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

/* Přebití barev pro texty a ikony uvnitř top-bar */
.top-bar .text-muted,
.top-bar .text-success,
.top-bar i {
    color: var(--color-dark-green) !important;
}

/* Výjimka pro Facebook ikonu - musí být bílá */
.social-icon-fb i {
    color: #fff !important;
}

.top-bar .small {
    font-size: 0.9rem;
    /* Trochu větší pro čitelnost na žluté */
}

.social-icon-fb:hover {
    transform: scale(1.1);
    background-color: #2d4373 !important;
    text-decoration: none !important;
    color: #fff !important;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
}

/* Buttons */
.btn-yellow {
    background-color: var(--color-yellow);
    border: 2px solid var(--color-yellow);
    color: #212529;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    /* More standard rounded */
    transition: all 0.2s;
}

.btn-yellow:hover {
    background-color: #fab005;
    border-color: #fab005;
    transform: translateY(-1px);
}

.btn-green-outline {
    background: transparent;
    border: 2px solid var(--color-dark-green);
    color: var(--color-dark-green);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
}

.btn-green-outline:hover {
    background: var(--color-dark-green);
    color: #fff;
    text-decoration: none;
}

/* White Outline Button (Hero Section) */
.btn-outline-white {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 0.6rem 1.7rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    /* Jemně průhledné pozadí pro lepší čitelnost */
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--color-dark-green);
    border-color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Navbar (Colored) --- */
/* --- Navbar (Colored) --- */
.navbar {
    background-color: var(--color-dark-green);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    height: 90px;
    /* ZVĚTŠENÍ: Navbar je vyšší */
    z-index: 1000;
}

/* Zajistíme, aby container uvnitř navbaru měl plnou výšku */
.navbar .container,
.navbar .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
}

.navbar-brand {
    position: relative;
    padding: 0;
    margin-right: 1rem;
    z-index: 1001;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Logo s přesahem */
/* Logo s přesahem - CSS Overlay */
.navbar-brand img {
    background: #fff;
    padding: 10px;
    border-radius: 0 0 15px 15px;
    height: 150px;
    /* ZVĚTŠENÍ: Obří logo */
    width: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);

    /* Absolute positioning pro přetékání */
    position: absolute;
    top: 0;
    left: 15px;
    transition: all 0.3s ease;
    z-index: 1002;
    padding-bottom: 20px;
}

/* Text vedle loga */
/* Text vedle loga */
#logo-text,
.brand-text {
    display: block !important;
    /* Vynucení zobrazení */
    color: var(--color-yellow) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem !important;
    /* ZVĚTŠENÍ */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 190px !important;
    /* Posun kvůli většímu logu */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

/* Navigace - kontejner */
.navbar-nav {
    margin-left: 2rem;
    /* Další odsazení od brand textu */
}

.navbar-nav .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 90px;
    /* Musí odpovídat výšce navbaru */
}

/* Odkazy v navigaci */
.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    /* ZVĚTŠENÍ */
    padding: 0.5rem 0 !important;
    margin: 0 1.5rem;
    /* Větší rozestupy */
    position: relative;
    transition: all 0.3s ease;
}

/* Animované podtržítko (Hover efekt) */
/* Animované podtržítko (Hover efekt) - převedeno na ::before, aby nekolidovalo s Caret ::after */
.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 5px;
    left: 50%;
    background-color: var(--color-yellow);
    box-shadow: 0 2px 5px rgba(249, 194, 0, 0.4);
    transition: width 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
    width: 100%;
}

.nav-item.active .nav-link {
    color: #fff !important;
}

/* --- Dropdown Menu (Submenu) --- */
/* Zrušen skript skrývající podtržítko, protože nyní používáme ::before a ::after je Caret */

/* Otevření dropdownu na Click (nyní globálně přes JS) */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Vlastní styl pro Bootstrap caret (šipku) - nebo využití Bootstrapu s úpravou */
/* Vlastní styl pro Bootstrap caret (šipku) - nebo využití Bootstrapu s úpravou */
.dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 0.3em;
    /* Menší odsazení od textu */
    vertical-align: 0.255em;
    content: "" !important;
    border-top: 0.3em solid;
    /* Menší šipka */
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    color: rgba(255, 255, 255, 0.9);
    /* Bílá šipka */
    transition: transform 0.3s ease;
    opacity: 0.9;
}

/* Rotace šipky při otevření */
.nav-item.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown menu vzhled (Desktop) */
.dropdown-menu {
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Výraznější stín */
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    background-color: #1a6e17;
    /* O něco světlejší zelená než navbar (#176114), aby se "odstínila" */
    /* Nebo přesně stejná: var(--color-dark-green) */
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    /* Bílý text */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Jemný oddělovač */
    transition: all 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    /* Průhledná bílá pro hover */
    color: var(--color-yellow);
    /* Žlutý text při hoveru */
    padding-left: 1.8rem;
    text-decoration: none;
}


/* Responzivní úpravy (Mobil / Tablet) */
@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        padding: 0.5rem 0;
    }

    .navbar .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Mobilní dropdown - "inline" zobrazení */
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        /*padding-left: 40px;*/
        /* Větší odsazení podmenu (bylo 20px) */
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.7);
        /* Světlejší text na tmavém pozadí */
        border-bottom: none;
        padding: 0.3rem 1rem;
    }

    .dropdown-item:hover,
    .dropdown-item.active {
        background-color: transparent;
        color: var(--color-yellow);
        padding-left: 1rem;
        /* Bez posunu */
    }


    .navbar-brand {
        display: flex;
        align-items: center;
        flex-grow: 1;
        margin-right: 0;
    }

    /* Reset loga na mobilu - vracíme do toku dokumentu */
    .navbar-brand img {
        position: relative;
        top: auto;
        left: auto;
        height: 50px;
        width: auto;
        margin: 0;
        border-radius: 4px;
        padding: 5px;
        box-shadow: none;
        background: transparent;
    }

    /* Text na mobilu hned vedle loga */
    #logo-text,
    .brand-text {
        margin-left: 10px !important;
        font-size: 1.4rem !important;
    }

    .navbar-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 1rem;
        text-align: left;
        /* Zarovnání doleva */
        width: 100%;
        align-items: flex-start !important;
    }

    .navbar-nav .nav-item {
        height: auto;
        margin-bottom: 5px;
        display: flex;
        flex-direction: column;
        /* Podmenu pod sebe, ne vedle */
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 20px;
        /* Odsazení od kraje */
        width: 100%;
    }

    /* Speciální fix pro tlačítko na mobilu */
    .navbar-nav .nav-item .btn {
        margin-left: 0 !important;
        /* Reset ml-2 z HTML */
        margin-top: 10px;
        width: calc(100% - 40px);
        /* Tlačítko přes většinu šířky s odstupem */
        text-align: center;
        display: block;
    }

    .nav-link {
        margin: 5px 0;
        display: inline-block;
        padding: 5px 0 !important;

    }

    /* --- Hamburger Menu Animace --- */
    .navbar-toggler {
        padding: 0.25rem 0.75rem;
        outline: none !important;
        /* Odstranění modrého rámečku při kliknutí */
        box-shadow: none !important;
    }

    .hamburger-icon {
        width: 30px;
        height: 24px;
        position: relative;
        transform: rotate(0deg);
        transition: .5s ease-in-out;
        cursor: pointer;
    }

    .hamburger-icon span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--color-yellow);
        /* Žlutá barva */
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        /* Jemný stín pro lepší čitelnost */
    }

    /* Výchozí polohy čárek */
    .hamburger-icon span:nth-child(1) {
        top: 0px;
    }

    .hamburger-icon span:nth-child(2) {
        top: 10px;
    }

    .hamburger-icon span:nth-child(3) {
        top: 20px;
    }

    /* Animace na křížek - když je menu otevřené (Bootstrap nastaví aria-expanded="true") */
    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }

    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }


    .nav-link::after {
        bottom: 0;
        display: none;
        /* Na mobilu raději bez linky */
    }

    .nav-item.active .nav-link {
        color: var(--color-yellow) !important;
    }

    /* Hero adjustments for mobile */
    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-content {
        padding: 2rem 1rem;
    }
}

/* --- Sections --- */
section {
    padding: 4rem 0;
}

/* Background Utilities */
.bg-soft-yellow {
    background-color: var(--bg-soft-yellow);
    border-top: 1px solid #faebcc;
    border-bottom: 1px solid #faebcc;
}

.bg-soft-green {
    background-color: var(--bg-soft-green);
    border-top: 1px solid #d6e9c6;
    border-bottom: 1px solid #d6e9c6;
}

/* --- Hero --- */
.hero-section {
    position: relative;
    color: #fff;
}

.hero-overlay {
    display: none;
    /* Skryto na žádost uživatele - chceme overlay jen pod textem */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    /* Tmavší gradient přímo pod textem pro lepší čitelnost */
    background: radial-gradient(circle, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 80%);
    padding: 4rem 2rem;
    border-radius: 20px;
}

.hero-content h1 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 1.25rem;
}

.hero-badge {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Poloprůhledné tlačítko v Hero sekci */
.hero-section .btn-yellow {
    background-color: rgba(249, 194, 0, 0.4);
    /* 40% opacity */
    backdrop-filter: blur(4px);
    border-color: rgba(249, 194, 0, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.hero-section .btn-yellow:hover {
    background-color: var(--color-yellow);
    border-color: var(--color-yellow);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: black;
}

/* --- Features Section --- */
.features-section {
    position: relative;
    padding: 100px 0;
}

.feature-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark-green), var(--color-light-green));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(23, 97, 20, 0.15);
    border-color: var(--color-light-green);
}

.feature-card:hover::before {
    opacity: 0.03;
    /* Very subtle tint on hover */
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--bg-soft-green);
    color: var(--color-dark-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover .icon-box {
    background: var(--color-yellow);
    color: #000;
    transform: rotateY(360deg);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(249, 194, 0, 0.3);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--color-dark-green);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #1a1a1a;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-text {
    color: #444;
}


/* --- Term Cards --- */
.term-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e3e3e3;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.term-card h4 {
    color: var(--color-dark-green);
}

.term-date {
    display: inline-block;
    background: var(--bg-soft-green);
    color: var(--color-dark-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    margin: 1rem 0;
}

/* --- News Cards (Refactored) --- */
.news-card,
.novinka-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-img-wrapper {
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.news-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem 1.5rem 3.5rem 1.5rem;
    /* Space for button at bottom */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title-link {
    color: var(--color-dark-green);
    text-decoration: none;
    transition: color 0.3s;
}

.news-title-link:hover {
    color: var(--color-light-green);
    text-decoration: none;
}

.news-btn-corner {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--color-yellow);
    color: #000 !important;
    padding: 10px 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top-left-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.news-btn-corner:hover {
    background: #e0ae00;
    padding-right: 30px;
}


/* --- Footer --- */
.footer-section {
    background: #0f420d;
    /* Slightly darker green than main for depth */
    color: #fff;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--color-yellow);
}

.footer-title {
    color: var(--color-yellow);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-yellow);
    padding-left: 5px;
}

/* Newsletter Style from Image */
.newsletter-form .form-group {
    position: relative;
    margin-bottom: 2rem;
}

.newsletter-form label {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.newsletter-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    color: #fff;
    padding: 10px 0;
    width: 100%;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    border-bottom: 1px solid var(--color-yellow);
}

.btn-newsletter {
    background: #0a3108;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-newsletter:hover {
    background: var(--color-yellow);
    color: #000;
}

/* Social Circles */
.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-circle:hover {
    background: var(--color-yellow);
    color: #000;
    transform: translateY(-3px);
}

/* Partner Logos in Footer */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.partner-logo-item img {
    max-height: 32px;
    width: auto;
    opacity: 0.6;
    filter: brightness(0) invert(1);
    /* Bílý vzhled v základu */
    transition: all 0.4s ease;
}

.partner-logo-item:hover img {
    opacity: 1;
    filter: none;
    /* Originál při hoveru */
}

/* --- Gallery --- */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    height: 250px;
    display: block;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .gallery-item {
        height: 200px;
        margin-bottom: 1.5rem;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 97, 20, 0.4);
    /* Tmavě zelený průhledný overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.1);
}

/* --- Helpers --- */
.text-primary {
    color: var(--color-dark-green) !important;
}

.text-success {
    color: var(--color-light-green) !important;
}

.text-warning {
    color: var(--color-yellow) !important;
}

/* --- Sponsors Carousel --- */
.sponsors-section {
    border-top: 1px solid #f1f1f1;
}

.sponsors-carousel .sponsor-item {
    outline: none;
    padding: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.5s ease;
}

.sponsors-carousel .sponsor-item img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.3;
    transition: all 0.5s ease;
    margin: 0 auto;
    transform: scale(0.8);
}

/* Slick Arrows for Sponsors */
.sponsors-carousel .slick-prev,
.sponsors-carousel .slick-next {
    width: 40px;
    height: 40px;
    z-index: 10;
    transition: all 0.3s ease;
}

.sponsors-carousel .slick-prev {
    left: -50px;
}

.sponsors-carousel .slick-next {
    right: -50px;
}

.sponsors-carousel .slick-prev:before,
.sponsors-carousel .slick-next:before {
    font-family: 'FontAwesome';
    font-size: 30px;
    color: var(--color-dark-green);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.sponsors-carousel .slick-prev:before {
    content: "\f104";
    /* fa-angle-left */
}

.sponsors-carousel .slick-next:before {
    content: "\f105";
    /* fa-angle-right */
}

.sponsors-carousel .slick-prev:hover:before,
.sponsors-carousel .slick-next:hover:before {
    opacity: 1;
    color: var(--color-light-green);
}

@media (max-width: 1200px) {
    .sponsors-carousel .slick-prev {
        left: -10px;
    }

    .sponsors-carousel .slick-next {
        right: -10px;
    }
}

/* Center item highlighting - more robust selectors */
.sponsors-carousel .slick-slide.slick-center .sponsor-item img,
.sponsors-carousel .slick-center img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.sponsors-carousel .slick-slide.slick-center .sponsor-item {
    z-index: 10;
}

/* Info Box - One line version */
.sponsor-info-box {
    max-width: 1140px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    visibility: hidden;
}

.sponsor-info-box.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.info-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 15px;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark-green);
    margin-bottom: 0 !important;
    white-space: nowrap;
}

.info-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0 !important;
    /* Limit to one line if very long text is problematic, but user wants it visible */
}

.info-link {
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.info-link:hover {
    background-color: var(--color-light-green) !important;
    color: #fff !important;
}


.info-hint {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}