/* --- CSS Custom Properties --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-bg: #eff6ff;
    --accent: #f59e0b;
    --accent-dark: #d97706;

    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #f1f5f9;
    --bg-footer: #0f172a;

    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-on-dark: #e2e8f0;
    --text-white: #ffffff;

    --border: #e2e8f0;

    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;

    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;

    --max-width: 1200px;
    --header-height: 88px;
}



html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text);
    background-color: var(--bg);
    min-width: 320px;
    overflow-x: hidden;
}

img {
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    line-height: 1.3;
    font-weight: 700;
}


.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 40px 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    position: relative;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .underline {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 16px auto 0;
}



/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--text-white);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    background-color: var(--bg-alt);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: var(--text-white);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
    height: var(--header-height);
}

.site-header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.logo-subtitle strong {
    font-weight: 800;
    color: black;
    font-size: 1.1em;
}

/* --- Desktop Nav --- */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background-color: var(--primary-bg);
}

.main-nav a i {
    font-size: 0.85rem;
}

/* --- Hamburger --- */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.3rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1100;
}

.hamburger:hover {
    background-color: var(--bg-alt);
}

.hamburger i {
    transition: transform 0.3s ease;
}

.hamburger[aria-expanded="true"] i {
    transform: rotate(90deg);
}

/* --- Mobile Nav --- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    right: -200px;
    width: 200px;
    height: calc(100vh - var(--header-height));
    background: var(--bg);
    z-index: 1000;
    padding: 0;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.12);
    transition: right var(--transition);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 16px 24px;
}

.mobile-nav li {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    background-color: var(--bg-dark);
    transition: all var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background-color: var(--primary-bg);
    color: var(--primary);
    border-left-color: var(--primary);
}

.mobile-nav a i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.mobile-nav a:hover i,
.mobile-nav a.active i {
    color: var(--primary);
}

/* „Podpořte nás" – CTA v mobilním menu */
.mobile-nav-support {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.mobile-nav-support a {
    background-color: var(--primary);
    color: #fff;
    font-weight: 700;
    border-left: none;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.mobile-nav-support a i {
    color: #fff;
}

.mobile-nav-support a:hover {
    background-color: var(--primary-dark);
    color: #fff;
    border-left-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.mobile-nav-support a:hover i {
    color: #fff;
}


.content-push {
    height: var(--header-height);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: #1e293b;
    overflow: hidden;
    color: var(--text-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 25%;
    animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}




.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


.news-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image img.bg-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    object-fit: cover;
    filter: blur(15px) brightness(0.5);
    z-index: 0;
    pointer-events: none;
}

.news-card-image img.main-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.5s ease;
}

.news-card-tag {
    z-index: 2;
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-body .news-text-content,
.news-card-body p {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}


.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-text .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}


.partners-strip {
    padding: 50px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-heading {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 30px;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-footer);
    color: var(--text-on-dark);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-about .logo-link {
    margin-bottom: 16px;
}

.footer-about .logo-name {
    color: var(--text-white);
}

.footer-about .logo-subtitle {
    color: var(--text-light);
}

.footer-about .logo-subtitle strong {
    color: var(--text-white);
}

.footer-about p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-col ul li a i {
    font-size: 0.75rem;
    width: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-light);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

.footer-bottom a {
    color: var(--text-light);
}

.footer-bottom a:hover {
    color: var(--text-white);
}

.admin-link {
    color: inherit;
    text-decoration: none;
    cursor: default;
}


.footer-contact-item a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--text-white);
}

.footer-contact-item small {
    color: var(--text-light);
}

.footer-support-btn {
    margin-top: 12px;
    font-size: 0.8rem;
    padding: 8px 18px;
}

.footer-heart {
    color: #ef4444;
    font-size: 0.7rem;
}

.date-tag.past {
    background: var(--bg-dark);
    color: var(--text-muted);
}


.cta-section {
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.info-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-section-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.info-paragraph {
    color: var(--text-muted);
    line-height: 1.8;
}

.values-list {
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-icon {
    color: var(--primary);
}

.sponsors-cta {
    text-align: center;
    margin-top: 40px;
}

.sponsors-cta h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.sponsors-cta p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.social-link-spaced {
    margin-right: 16px;
}

.gallery-year-section {
    margin-bottom: 48px;
}

.gallery-year-heading {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-year-heading i {
    color: var(--primary);
    font-size: 1.1rem;
}

.gallery-year-heading .photo-count {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: auto;
}

.gallery-show-more {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gallery-show-more .btn {
    font-size: 0.85rem;
    padding: 8px 24px;
}

.gallery-hidden {
    display: none;
}

.page-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: white;
    padding: 60px 0 50px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    opacity: 0.5;
}

/* --- Gallery Grid --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--bg-dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}




.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--bg);
    box-shadow: 0 0 0 2px var(--primary);
    position: relative;
    left: 41px;
    z-index: 1;
}

.timeline-dot.past {
    background: var(--text-light);
    box-shadow: 0 0 0 2px var(--text-light);
}

.timeline-content {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-left: 30px;
    flex-grow: 1;
}


.timeline-content .date-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline-content .event-details {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.timeline-content .event-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.info-section {
    padding: 60px 0;
}

.info-section+.info-section {
    border-top: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.support-card {
    padding: 32px 24px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.support-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.support-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.support-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bank-info-row {
    display: flex;
    gap: 24px;
    align-items: stretch;
    margin-top: 32px;
}

.bank-info {
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bank-qr {
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    width: auto;
    background: var(--primary-bg);
    border: 2px dashed var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    min-width: 150px;
    max-width: 220px;
}

.bank-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
    display: block;
}

.bank-qr span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
}

.bank-info h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.bank-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 12px 0;
    font-family: 'Courier New', monospace;
}

.bank-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--primary);
    font-weight: 500;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 900;
    font-size: 1rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: white;
}

/* 
   BREAKPOINTY

/* Tablet */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-preview {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .support-cards {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobil */
@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .mobile-nav,
    .mobile-nav-overlay {
        display: block;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .logo-name {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .hero {
        min-height: 550px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        margin: 10px 0;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-contact-item {
        font-size: 0.82rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 11px;
    }

    .timeline-content {
        margin-left: 10px;
    }

    .support-cards {
        grid-template-columns: 1fr;
    }

    .bank-info-row {
        flex-direction: column;
        align-items: center;
    }

    .bank-qr {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* Mobil maly */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-name {
        font-size: 1rem;
    }

    .logo-subtitle {
        display: none;
    }

    .hero {
        min-height: 450px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }



    .timeline-content .event-details {
        flex-direction: column;
        gap: 6px;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .bank-number {
        font-size: 1.1rem;
    }

    .bank-qr {
        max-width: 100%;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 40px 0 30px;
    }
}

@media print {

    .site-header,
    .hamburger,
    .mobile-nav,
    .mobile-nav-overlay,
    .back-to-top {
        display: none !important;
    }

    .content-push {
        height: 0;
    }

    body {
        color: #000;
        background: #fff;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #555;
    }
}

/* 
   FOCUS STYLES
*/
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* 
   MAPA
*/

/* 
   PARTNERS
*/
.partner-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--transition);
}

.partner-placeholder:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}



/* 
   SCROLL BAR
*/
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 1100;
    width: 0%;
    transition: width 0.1s linear;
}

/* 
   LIGHTBOX + CONTROLS 
*/
#fotkaOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#fotkaOverlay.aktivni {
    opacity: 1;
    visibility: visible;
}

#fotkaVelka {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#fotkaOverlay.aktivni #fotkaVelka {
    transform: scale(1);
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 2001;
}

.lightbox-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

#fotkaZavrit {
    top: 25px;
    right: 30px;
    width: 40px;
    height: 40px;
}

#fotkaPredchozi {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

#fotkaPredchozi:hover {
    transform: translateY(-50%) scale(1.1);
}

#fotkaDalsi {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

#fotkaDalsi:hover {
    transform: translateY(-50%) scale(1.1);
}

#lightbox-spinner {
    position: absolute;
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: lightbox-spin 0.7s linear infinite;
    pointer-events: none;
    z-index: 2002;
}

@keyframes lightbox-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {

    #fotkaPredchozi,
    #fotkaDalsi {
        width: 40px;
        height: 40px;
    }

    #fotkaPredchozi {
        left: 10px;
    }

    #fotkaDalsi {
        right: 10px;
    }

    #fotkaZavrit {
        top: 15px;
        right: 15px;
    }
}

/* Hlavička na mobilech v landscape režimu odscroluje s textem */
@media (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
    .site-header {
        position: absolute !important;
    }
    html {
        scroll-padding-top: 0 !important;
    }
}