:root {
    --primary-dark: #0f172a;
    /* Slate 900 */
    --primary-light: #1e293b;
    /* Slate 800 */
    --accent-color: #e11d48;
    /* Rose 600 */
    --accent-hover: #be123c;
    /* Rose 700 */
    --text-main: rgba(255, 255, 255, 0.9);
    /* Slate 700 */
    --text-light: #94a3b8;
    /* Slate 400 */
    --bg-light: var(--primary-light);
    /* Slate 50 */
    --bg-white: var(--primary-dark);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

body {
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: white;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.text-red {
    color: var(--accent-color);
}

/* Layout & Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-dark);
    color: white;
}

.bg-dark h2,
.bg-dark p,
.bg-dark h3 {
    color: white;
}

.bg-dark .text-main {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    mix-blend-mode: screen;
    /* Toto pomůže, pokud má logo černé pozadí */
    /* Pokud má bílé pozadí, mix-blend-mode na tmavém menu nefunguje ideálně. 
       Nejlepší je použít PNG s průhledným pozadím. */
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    line-height: 1;
}

.logo-text .text-white {
    color: white;
}

.logo-subtext {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Dropdown */
.nav-item-dropdown {
    position: relative;
    padding-bottom: 15px; /* Hover bridge */
    margin-bottom: -15px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 15px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    margin: 0 !important;
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem !important;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-smooth);
    text-align: left;
}

.dropdown-menu a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.social-icons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-right: 1.5rem;
}

.social-icons a {
    color: white;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-support {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.btn-support:hover {
    background-color: var(--accent-hover);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: var(--transition-smooth);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: drone-flight 24s infinite ease-in-out;
}

@keyframes drone-flight {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    50% {
        transform: scale(1.22) translate(-25px, -12px);
    }
    100% {
        transform: scale(1.1) translate(0, 0);
    }
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-dark) 0%, rgba(15, 23, 42, 0.8) 40%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 8rem; /* Posunuto mírně nahoru pro větší rozestup */
}

.hero-content h1 {
    color: white;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 650px; /* Zabrání přetékání přes fotku hasičárny */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    margin-bottom: 0.5rem;
}

.feature-title {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.feature-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 20px;
    height: 32px;
    border: 2px solid white;
    border-radius: 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: white;
    border-radius: 2px;
    animation: mouse-scroll 1.5s infinite;
}

.arrow-down {
    width: 6px;
    height: 6px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: arrow-bounce 1.5s infinite;
}

@keyframes mouse-scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 8px);
        opacity: 0;
    }
}

@keyframes arrow-bounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
    }

    50% {
        transform: rotate(45deg) translate(3px, 3px);
    }
}

/* O nás Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--primary-light);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem;
    background: var(--primary-dark);
    border-radius: 1rem;
    color: white;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Aktuality Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--primary-light);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    width: 100%;
}

.news-content {
    padding: 2rem;
}

.news-content .date {
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.read-more:hover {
    color: var(--accent-color);
}

/* Galerie Section */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}

.gallery-item {
    border-radius: 1rem;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.gallery-item:hover::before {
    opacity: 0.8;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    background-color: var(--accent-color);
}

/* Kontakt Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--primary-light);
    padding: 4rem;
    border-radius: 1.5rem;
}

.contact-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-list strong {
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Sponsors Marquee */
.sponsors-section {
    position: relative;
    padding: 3.5rem 0;
    background: #ffffff;
    border: none;
    overflow: hidden;
}

.sponsors-section::before,
.sponsors-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 45px;
    z-index: 5;
    pointer-events: none;
}

.sponsors-section::before {
    top: 0;
    background: linear-gradient(to bottom, #0f172a 0%, rgba(15, 23, 42, 0.7) 50%, transparent 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.sponsors-section::after {
    bottom: 0;
    background: linear-gradient(to top, #0f172a 0%, rgba(15, 23, 42, 0.7) 50%, transparent 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.sponsors-label {
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.sponsors-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.sponsors-track {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding: 0 3rem;
    animation: scroll-marquee 35s linear infinite;
    white-space: nowrap;
}

.sponsors-track:hover {
    animation-play-state: paused;
}

.sponsor-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.sponsor-logo img {
    height: 120px;
    max-width: 250px;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: multiply;
}

.sponsor-logo:hover {
    opacity: 1;
    color: var(--primary-dark);
}

.sponsor-logo:hover img {
    transform: scale(1.12);
    filter: none;
}


@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Animations */
.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 70%;
}

.cookie-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cookie-accept {
    background-color: var(--accent-color);
    color: white;
}

.cookie-accept:hover {
    background-color: var(--accent-hover);
}

.cookie-decline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    .cookie-content {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        justify-content: center;
        text-align: center;
        height: auto;
        min-height: 100vh;
        padding-top: 5rem;
        padding-bottom: 4rem;
    }

    .logo {
        position: relative;
        z-index: 1000;
        gap: 0.75rem;
    }

    .logo-img {
        height: 38px;
    }

    .logo-text {
        font-size: 1.25rem;
        white-space: nowrap;
    }

    .logo-subtext {
        font-size: 0.65rem;
        white-space: nowrap;
    }

    .social-icons {
        margin-left: auto;
        margin-right: 1.5rem;
    }

    .hero-bg {
        width: 100%;
    }

    .hero-bg::before {
        background: linear-gradient(to bottom, var(--primary-dark) 0%, rgba(15, 23, 42, 0.8) 100%);
    }

    .hero-content {
        padding: 0 2rem;
        margin-top: 0;
    }

    .hero-text-area {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(100vh - 9rem);
        padding-top: 0;
        padding-bottom: 4rem;
    }

    .hero-content p {
        margin: 0 auto 0 auto;
    }

    .btn-support {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background-color: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 999;
        margin: 0;
        overflow-y: auto;
        padding: 6rem 2rem 2rem 2rem;
        gap: 0.75rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        text-align: center;
        display: block;
        width: 100%;
    }

    .nav-item-dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0.5rem 0 0 0;
        margin-top: 0.5rem;
        display: flex;
        align-items: center;
    }

    .dropdown-menu a {
        font-size: 1.1rem !important;
        padding: 0.5rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
    }

    /* Mobilní roletka – skryta dokud není otevřena */
    .nav-item-dropdown .dropdown-menu {
        display: none;
    }

    .nav-item-dropdown.open .dropdown-menu {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links a {
        margin: 0 1rem;
    }

    .container,
    .nav-container {
        padding: 0 1.25rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 4rem;
        padding-top: 1.5rem;
        justify-items: center;
        width: 100%;
        margin-bottom: 2rem;
    }



    .stats-container {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        gap: 2rem;
    }

    .scroll-indicator {
        position: absolute;
        top: calc(100vh - 5rem);
        bottom: auto;
    }
}

/* Facebook Feed Container */
.fb-container iframe {
    width: 100% !important;
    max-width: 500px;
}

@media (max-width: 480px) {
    .logo {
        gap: 0.5rem;
    }

    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-subtext {
        font-size: 0.6rem;
    }

    .social-icons {
        gap: 0.75rem;
        margin-right: 1rem;
    }
}

/* ==========================================================================
   Historie a Časová osa (Timeline) Podstránka - Dark Theme
   ========================================================================== */

/* Distinguished Page Header Background - removed gradient */

/* Glassmorphic card for header heading */
.header-banner-card {
    background: rgba(225, 29, 72, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--accent-color);
    padding: 2.5rem 3rem;
    border-radius: 1.25rem;
    display: inline-block;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(225, 29, 72, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* History Intro */
.section-history {
    padding-top: 2.5rem !important;
}

.history-intro h2 {
    color: white;
}
.history-intro p {
    color: var(--text-main);
}
.history-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Timeline Base */
.timeline {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Vertical line on the left */
.timeline-line {
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--accent-color) !important;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.4);
    z-index: 1;
    border-radius: 3px;
}

/* Timeline Item - full width and padded left */
.timeline-item {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem 0 1.5rem 80px;
    box-sizing: border-box;
    text-align: left;
}

/* Left & Right positioning - disabled for left timeline */
.timeline-item.left, .timeline-item.right {
    left: 0;
    text-align: left;
}

/* Year Badge on the left line */
.timeline-badge {
    position: absolute;
    top: 2rem;
    left: 0px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.15), 0 4px 15px rgba(225, 29, 72, 0.4);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-badge {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(225, 29, 72, 0.25), 0 6px 20px rgba(225, 29, 72, 0.6);
}

/* Card Panel */
.timeline-panel {
    background: var(--primary-light);
    padding: 2.2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: var(--transition-smooth);
}

/* Arrow pointing to the left badge */
.timeline-panel::after {
    content: '';
    position: absolute;
    top: 2.7rem;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--primary-light) transparent transparent;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Panel hover effects */
.timeline-item:hover .timeline-panel {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(225, 29, 72, 0.3);
}

.timeline-panel h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 700;
    transition: var(--transition-smooth);
}
.timeline-item:hover .timeline-panel h3 {
    color: var(--accent-color);
}

.timeline-panel p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* Animations for timeline - slide in from the right */
.timeline-item {
    opacity: 0;
    transform: translateX(40px) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-item.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Responsive design for timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 28px;
    }
    .timeline-item {
        padding-left: 60px;
        padding-right: 0rem;
    }
    .timeline-badge {
        left: 0px !important;
        width: 56px;
        height: 56px;
        font-size: 0.95rem;
        top: 1.8rem;
        box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.15), 0 3px 10px rgba(225, 29, 72, 0.3);
    }
    .timeline-panel {
        padding: 1.5rem;
    }
    .timeline-panel::after {
        top: 2.3rem;
    }
}

/* ==========================================================================
   Kalendář soutěží (Competition Calendar Widget) podstránka
   ========================================================================== */

/* League Switcher Tabs */
.ligy-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ligy-tabs .liga-btn {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.ligy-tabs .liga-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.ligy-tabs .liga-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.45);
}

/* Tabs container */
.souteze-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.souteze-tabs .tab-btn {
    background: rgba(225, 29, 72, 0.05);
    color: white;
    border: 2px solid rgba(225, 29, 72, 0.3);
    padding: 0.75rem 1.8rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.souteze-tabs .tab-btn:hover {
    background: rgba(225, 29, 72, 0.15);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.25);
}

.souteze-tabs .tab-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.45);
}

/* Info Box */
.info-box {
    background: rgba(30, 41, 59, 0.5);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 0 auto 3rem auto;
    max-width: 900px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.info-content {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.info-content strong {
    color: white;
}

/* Widget Container */
.calendar-widget-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    background: var(--primary-light);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 1100px;
}

/* Calendar Sheet Column (Left) */
.calendar-sheet-column {
    display: flex;
    flex-direction: column;
}

.calendar-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-nav-btn {
    background: rgba(225, 29, 72, 0.05);
    border: 2px solid rgba(225, 29, 72, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calendar-nav-btn:hover:not(:disabled) {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.45);
}

.calendar-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
    background: transparent;
}

.calendar-current-month {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
    text-transform: capitalize;
}

/* Weekday header */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-weekdays .weekend {
    color: #fda4af; /* Soft rose color for Saturdays and Sundays */
}

/* Days Grid */
.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    cursor: default;
    transition: var(--transition-smooth);
}

.calendar-day.empty {
    opacity: 0;
    pointer-events: none;
    background: transparent;
    border: none;
}

/* Highlight days with events */
.calendar-day.has-event {
    cursor: pointer;
    background: rgba(225, 29, 72, 0.18);
    border: 2px solid var(--accent-color);
    color: white;
    font-weight: 700;
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
}

.calendar-day.has-event:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.6);
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Highlight for specific event types */
.calendar-day.has-event.soutez-past-day {
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
}

.calendar-day.has-event.soutez-past-day::after {
    background: rgba(255, 255, 255, 0.5);
}

.calendar-day.has-event.soutez-past-day:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    color: white;
}

.calendar-day.has-event.domestic-day {
    background: rgba(16, 185, 129, 0.18);
    border: 2px solid #10b981;
    color: #a7f3d0;
}

.calendar-day.has-event.domestic-day::after {
    background: #10b981;
}

.calendar-day.has-event.domestic-day:hover {
    background: #10b981;
    border-color: #10b981;
    color: white;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.calendar-day.has-event.finale-day {
    background: rgba(168, 85, 247, 0.18);
    border: 2px solid #a855f7;
    color: #e9d5ff;
}

.calendar-day.has-event.finale-day::after {
    background: #a855f7;
}

.calendar-day.has-event.finale-day:hover {
    background: #a855f7;
    border-color: #a855f7;
    color: white;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

/* Selected active day */
.calendar-day.selected-day {
    background: var(--accent-color) !important;
    color: white !important;
    border-color: var(--accent-color) !important;
    font-weight: 800;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.7);
}

.calendar-day.selected-day::after {
    background: white !important;
}

/* Today display border */
.calendar-day.today-day {
    border: 2px solid white;
}

/* Legend styling */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-past { background: rgba(255, 255, 255, 0.4); border: 1px solid rgba(255, 255, 255, 0.6); }
.dot-future { background: rgba(225, 29, 72, 0.2); border: 1px solid var(--accent-color); }
.dot-domestic { background: rgba(16, 185, 129, 0.2); border: 1px solid #10b981; }
.dot-finale { background: rgba(168, 85, 247, 0.2); border: 1px solid #a855f7; }

/* Events Column (Right) */
.calendar-events-column {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 3rem;
}

.events-column-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.4rem;
    align-self: flex-start;
}

.calendar-events-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
    max-height: 440px;
    padding-right: 0.6rem;
}

/* Scrollbar styles for event list */
.calendar-events-list::-webkit-scrollbar {
    width: 4px;
}

.calendar-events-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.calendar-events-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Event cards inside list */
.event-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
    border-color: rgba(225, 29, 72, 0.2);
}

.event-card.active-selected {
    border-color: var(--accent-color);
    background: rgba(225, 29, 72, 0.04);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.15);
}

.event-card.past-event {
    opacity: 0.55;
}

.event-card.past-event:hover {
    opacity: 0.85;
}

/* Specific left border markers */
.event-card.domestic {
    border-left: 4px solid #10b981;
}
.event-card.domestic.active-selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.04);
}

.event-card.grand-finale {
    border-left: 4px solid #a855f7;
}
.event-card.grand-finale.active-selected {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.04);
}

/* Event Info structure */
.event-card .soutez-date-wrap {
    width: 66px;
    height: 66px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    line-height: 1.1;
}

.event-card .soutez-day {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.event-card .soutez-month {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
}

.event-card.past-event .soutez-month {
    color: var(--text-light);
}

.event-card .soutez-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card .soutez-misto {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.event-card .soutez-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
}

.event-card .soutez-time {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.event-card .soutez-type {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.event-card .soutez-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.event-card .badge-cat {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-card .soutez-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.event-card.past-event .soutez-status-badge {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.35);
}

.event-card.soutez-future .soutez-status-badge {
    background: rgba(225, 29, 72, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(225, 29, 72, 0.15);
}

.event-card.soutez-today .soutez-status-badge {
    background: var(--accent-color);
    color: white;
}

/* Badge specific stars */
.badge-domaci-star {
    font-size: 1rem;
}

/* Responsive calendar styling */
@media (max-width: 900px) {
    .calendar-widget-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 1.5rem;
    }
    
    .calendar-events-column {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-left: 0;
        padding-top: 2.5rem;
    }
}

@media (max-width: 480px) {
    .calendar-days-grid {
        gap: 0.4rem;
    }
    
    .calendar-day {
        font-size: 0.9rem;
    }
    
    .calendar-current-month {
        font-size: 1.25rem;
    }
    
    .event-card {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 2.2rem;
    }
    
    .event-card .soutez-date-wrap {
        width: 100%;
        height: 40px;
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .event-card .soutez-status-badge {
        top: 0.5rem;
        right: 0.5rem;
    }
}