@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    padding-top: 50px;
    padding-bottom: 0px;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
 /* =========================================
      HOME
========================================= */
.hero {
            position: relative;
            min-height: 560px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: hidden;
            background: #213e60;
        }

        .hero-photo {
            position: absolute;
            inset: 0;
            background: blue;
            opacity: 0.25;
        }

        .hero-photo::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(33,62,96,0.4) 0%, rgba(33,62,96,0.95) 100%);
        }

        .hero-content {
            position: relative;
            z-index: 1;
            padding: 60px 20px;
            max-width: 720px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(230,140,58,0.12);
            color: #e68c3a;
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 28px;
            border: 1px solid rgba(230,140,58,0.25);
        }

        .hero h1 {
            color: white;
            font-size: 3.4rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 4px;
            line-height: 1.08;
            margin-bottom: 18px;
        }

        .hero h1 span { color: #e68c3a; }

        .hero p {
            color: rgba(255,255,255,0.6);
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 38px;
            max-width: 540px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-actions {
            display: flex;
            gap: 14px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #e68c3a;
            color: white;
            padding: 14px 34px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: background 0.2s, transform 0.15s;
        }

        .btn-primary:hover { background: #d07a30; transform: translateY(-2px); }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.06);
            color: white;
            padding: 14px 34px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 2px solid rgba(255,255,255,0.18);
            transition: all 0.2s;
        }

        .btn-secondary:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.1); }

        /* ── Sections ── */
        .section {
            max-width: 960px;
            margin: 0 auto;
            padding: 70px 20px;
        }

        .section-label {
            text-align: center;
            color: #e68c3a;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 8px;
        }

        .section-title {
            text-align: center;
            color: #213e60;
            font-size: 1.6rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 12px;
        }

        .section-desc {
            text-align: center;
            color: #999;
            font-size: 0.92rem;
            margin-bottom: 44px;
            max-width: 520px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ── Stats ── */
        .stats-bar {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0;
            background: white;
            border-radius: 20px;
            box-shadow: 0 4px 24px rgba(33,62,96,0.06);
            overflow: hidden;
        }

        .stat-item {
            padding: 32px 16px;
            text-align: center;
            border-right: 1px solid #f0eeeb;
            transition: background 0.2s;
        }

        .stat-item:last-child { border-right: none; }
        .stat-item:hover { background: #faf9f7; }

        .stat-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: #213e60;
            line-height: 1;
            margin-bottom: 6px;
        }

        .stat-number span { color: #e68c3a; }

        .stat-label {
            font-size: 0.75rem;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        /* ── Concert cards ── */
        .concert-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .concert-card {
            display: grid;
            grid-template-columns: 140px 1fr;
            gap: 24px;
            align-items: center;
            background: white;
            border-radius: 16px;
            padding: 22px 28px;
            box-shadow: 0 2px 16px rgba(33,62,96,0.05);
            transition: transform 0.25s, box-shadow 0.25s;
        }

        .concert-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(33,62,96,0.09);
        }

        .concert-date {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, #274d75, #1c3a5c);
            border-radius: 14px;
            padding: 14px 12px;
            text-align: center;
        }

        .concert-date strong {
            color: white;
            font-size: 1.1rem;
            line-height: 1.2;
            margin-bottom: 4px;
            white-space: nowrap;
        }

        .concert-date span {
            font-size: 0.68rem;
            color: rgba(255,255,255,0.4);
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 1.5px;
        }

        .concert-info h3 {
            color: #213e60;
            font-size: 1.08rem;
            margin-bottom: 6px;
        }

        .concert-meta {
            color: #888;
            font-size: 0.85rem;
            line-height: 1.6;
        }

        .concert-meta i {
            color: #e68c3a;
            width: 16px;
            text-align: center;
            font-size: 0.8rem;
        }

        .concert-link {
            margin-top: 8px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #e68c3a;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.82rem;
            transition: gap 0.2s;
        }

        .concert-link:hover { gap: 10px; }

        /* ── About strip ── */
        .about-strip {
            background: #213e60;
            padding: 70px 20px;
        }

        .about-inner {
            max-width: 960px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .about-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 40px rgba(0,0,0,0.2);
        }

        .about-image img {
            width: 100%;
            height: 340px;
            object-fit: cover;
            display: block;
        }

        .about-text h2 {
            color: white;
            font-size: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 18px;
        }

        .about-text p {
            color: rgba(255,255,255,0.65);
            line-height: 1.8;
            margin-bottom: 12px;
            font-size: 0.95rem;
        }

        /* ── Gallery teaser ── */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: 220px 220px;
            gap: 12px;
        }

        .gallery-item {
            border-radius: 16px;
            overflow: hidden;
        }

        .gallery-item:first-child { grid-row: 1 / 3; }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }

        .gallery-item:hover img { transform: scale(1.05); }

        .gallery-cta { text-align: center; margin-top: 28px; }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: transparent;
            color: #213e60;
            padding: 12px 28px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.88rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 2px solid #213e60;
            transition: all 0.2s;
        }

        .btn-outline:hover { background: #213e60; color: white; }

        /* ── Mobile ── */
        @media (max-width: 768px) {
            .hero h1 { font-size: 2.2rem; letter-spacing: 2px; }
            .hero p { font-size: 0.95rem; }
            .concert-card { grid-template-columns: 1fr; padding: 18px 20px; }
            .concert-date { flex-direction: row; gap: 12px; text-align: left; width: fit-content; }
            .about-inner { grid-template-columns: 1fr; gap: 30px; }
            .about-image img { height: 220px; }
            .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
            .gallery-grid .gallery-item:first-child { grid-row: auto; grid-column: 1 / 3; }
            .stats-bar { grid-template-columns: 1fr 1fr; }
            .stat-item:nth-child(2) { border-right: none; }
            .stat-item:nth-child(1),
            .stat-item:nth-child(2) { border-bottom: 1px solid #f0eeeb; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 1.7rem; }
            .hero-actions { flex-direction: column; align-items: center; }
            .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
            .gallery-grid .gallery-item:first-child { grid-column: auto; }
            .gallery-item { height: 200px; }
        }

/* =========================================
   SOCIÁLNÍ SÍTĚ BUTTONS
========================================= */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.wrapper .button {
    display: flex;          
    align-items: center;     
    height: 60px;
    width: 60px;
    padding: 0;              
    gap: 0;                  
    margin: 0 5px;
    text-decoration: none;
    overflow: hidden;
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-out;
}

.wrapper .button:hover { width: 200px; }

.wrapper .button .icon {
    flex: 0 0 60px;          
    height: 60px;
    width: 60px;
    margin: 0;  
    color: #000;             
    border-radius: 50px;
    line-height: 60px;
    text-align: center;
}

.wrapper .button:nth-child(1):hover .icon { background: #4267B2; }

.wrapper .button:nth-child(2):hover .icon {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.wrapper .button .icon i {
    font-size: 25px;
    line-height: 60px;
    transition: all 0.3s ease-out;
}

.wrapper .button:hover .icon i { color: #fff; }

.wrapper .button span {
    font-size: 20px;
    font-weight: 500;
    line-height: 60px;
    margin-left: 10px;
    transition: all 0.3s ease-out;
}

.wrapper .button:nth-child(1) span { color: #4267B2; }
.wrapper .button:nth-child(2) span { color: #d6249f; }


/* =========================================
   NAVIGACE
========================================= */
.header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgb(170, 97, 37);
            z-index: 10000;
            box-shadow: 0 2px 20px rgba(33,62,96,0.15);
        }

        .navbar { margin-inline: 1.5rem; }
        nav { height: 56px; }

        .nav__logo {
            color: white;
            text-decoration: none;
            font-size: 1.3rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 3px;
            transition: opacity 0.2s;
        }

        .nav__logo:hover { opacity: 0.8; }

        .nav__toggle {
            position: relative;
            width: 32px;
            height: 32px;
        }

        .nav__burger,
        .nav__close {
            position: absolute;
            width: max-content;
            height: max-content;
            inset: 0;
            margin: auto;
            font-size: 1.2rem;
            color: white;
            cursor: pointer;
            transition: opacity 0.2s, transform 0.3s;
        }

        .nav__close { opacity: 0; }

        .navdata {
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav__link {
            color: #ffffff;
            font-weight: 600;
            font-size: 0.85rem;
            text-decoration: none;
            padding: 8px 16px;
            border-radius: 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: color 0.2s, background-color 0.2s;
            background-color: transparent;
        }

        .nav__link:hover {
            color: white;
            background-color: rgba(255,255,255,0.08);
        }

        .nav__link.active {
            color: white;
            background-color: rgba(230,140,58,0.2);
        }

        @media screen and (max-width: 1118px) {
            .nav__menu {
                position: absolute;
                left: 0;
                top: 56px;
                width: 100%;
                height: auto;
                overflow: auto;
                pointer-events: none;
                opacity: 0;
                transition: top 0.3s, opacity 0.3s;
                background-color: #94B6EF;
                box-shadow: 0 8px 30px rgba(33, 62, 96, 0.341);
            }

            .nav__list {
                padding: 16px 20px;
                display: flex;
                flex-direction: column;
                gap: 4px;
            }

            .nav__link {
                border-radius: 10px;
                padding: 12px 18px;
                font-size: 0.9rem;
            }

            .nav__link:hover {
                background-color: rgba(255,255,255,0.06);
                color: white;
            }
        }

        @media screen and (min-width: 1118px) {
            .nav__toggle { display: none; }

            .nav__list {
                height: 100%;
                display: flex;
                column-gap: 4px;
                align-items: center;
            }
        }

        .show-menu { opacity: 1; pointer-events: initial; }
        .show-icon .nav__burger { opacity: 0; transform: rotate(90deg); }
        .show-icon .nav__close { opacity: 1; transform: rotate(90deg); }

        /* ═══ DUMMY CONTENT ═══ */
        .dummy-hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #ccc;
            font-size: 1.1rem;
        }

        .dummy-section {
            max-width: 700px;
            margin: 0 auto;
            padding: 60px 20px;
        }

        .dummy-section h2 {
            color: #213e60;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 16px;
        }

        .dummy-block {
            height: 14px;
            background: #e0ddd8;
            border-radius: 4px;
            margin-bottom: 10px;
        }

        .dummy-block.short { width: 60%; }
        .dummy-block.medium { width: 85%; }

        .size-hint {
            position: fixed;
            bottom: 16px;
            left: 50%;
            transform: translateX(-50%);
            background: #213e60;
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            z-index: 9999;
            pointer-events: none;
        }


/* =========================================
   O NÁS
========================================= */
.content-wrapper {
            max-width: 800px;
            margin: 80px auto 40px;
            padding: 0 20px;
            flex: 1;
        }

        .page-title {
            text-align: center;
            color: #213e60;
            font-size: 2rem;
            margin-bottom: 40px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .about-text p {
            margin-bottom: 22px;
            line-height: 1.85;
            color: #555;
            font-size: 1rem;
        }

        .about-text p strong {
            color: #213e60;
        }

        .highlight-box {
            background: #94B6EF;
            border-left: none;
            padding: 28px 32px;
            margin: 36px 0;
            border-radius: 16px;
            font-style: italic;
            color: #213E60;
            font-size: 1.08rem;
            line-height: 1.7;
            position: relative;
        }

        .highlight-box::before {
            content: "\201C";
            position: absolute;
            top: 10px;
            left: 20px;
            font-size: 4rem;
            color: #213E60;
            font-family: Georgia, serif;
            line-height: 1;
        }

        .highlight-box span {
            display: block;
            padding-left: 30px;
        }

        /* ── Team heading ── */
        .team-heading {
            text-align: center;
            margin-top: 56px;
            margin-bottom: 8px;
            color: #213e60;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 1.3rem;
        }

        .team-subheading {
            text-align: center;
            color: #999;
            font-size: 0.9rem;
            margin-bottom: 36px;
        }

        /* ── Team grid ── */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 0;
        }

        .team-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 4px 24px rgba(33,62,96,0.06);
            text-align: center;
            padding: 36px 20px 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .team-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 36px rgba(33,62,96,0.10);
        }

        .team-photo-placeholder {
            width: 90px;
            height: 90px;
            background: linear-gradient(145deg, #274d75, #1c3a5c);
            border-radius: 50%;
            margin: 0 auto 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            color: rgba(255,255,255,0.7);
        }

        .team-card h3 {
            color: #213e60;
            font-size: 1.05rem;
            margin-bottom: 4px;
            font-weight: 700;
        }

        .team-role {
            color: #e68c3a;
            font-size: 0.82rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        .team-photo {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            margin: 0 auto 18px;
            overflow: hidden;
            border: 4px solid #f4f2ef;
            box-shadow: 0 2px 12px rgba(33,62,96,0.08);
        }

        .team-photo img {
            width: 110px;
            height: 110px;
            object-fit: cover;
            display: block;
        }

        /* ── Mobile ── */
        @media (max-width: 700px) {
            .team-grid {
                grid-template-columns: 1fr;
                max-width: 320px;
                margin-left: auto;
                margin-right: auto;
            }
            .page-title { font-size: 1.6rem; }
            .content-wrapper { margin-top: 60px; }
        }
        
/* =========================================
   KONTAKT
========================================= */
.contact-container {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 80px auto 40px;
    padding: 0 20px;
    font-family: sans-serif;
}

.contact-container h1 {
    color: #213e60;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 40px;
}

@media (min-width: 1020px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
    }
}

.contact-card {
    background: white;
    padding: 35px 25px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden; 
    border: none;
    transition: transform 0.3s ease;
}

/* Oranžový detail v rohu  */
.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #e68c3a;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* Modrá linka vlevo */
.contact-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #213e60;
}

.contact-card h3 {
    color: #213e60;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #f4f2ef;
    padding-bottom: 10px;
}

.contact-card h3 i {
    color: #e68c3a;
    margin-right: 12px;
}

.contact-card p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.contact-card strong {
    color: #213e60;
}

.contact-card a {
    color: #e68c3a;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s;
}

.contact-card a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Speciální box pro fakturaci  */
.contact-card.billing {
    background: #213e60;
    color: white;
}

.contact-card.billing h3, 
.contact-card.billing p, 
.contact-card.billing strong {
    color: white;
}

.contact-card.billing h3 {
    border-bottom-color: rgba(255,255,255,0.1);
}

.contact-card.billing::before {
    background: #94b6ef; 
}
/* =========================================
   ADMINISTRÁTORSKÝ FORMULÁŘ (koncerty.php)
========================================= */
.admin-panel { 
    background: #e9ecef; 
    padding: 25px; 
    border-radius: 8px; 
    margin-bottom: 40px; 
    border-left: 5px solid rgb(170, 97, 37); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.admin-panel.edit-mode { 
    background: #fff3cd; 
    border-left-color: #ffc107; 
}

.admin-panel h3 { 
    margin-bottom: 20px; 
    color: rgb(170, 97, 37); 
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.admin-form-group { margin-bottom: 15px; }

.admin-form-group label { 
    display: block; 
    font-weight: bold; 
    margin-bottom: 6px; 
    font-size: 0.95rem; 
    color: #333;
}

.admin-form-group input, 
.admin-form-group select { 
    width: 100%; 
    padding: 10px 12px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    box-sizing: border-box; 
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.2s;
}

.admin-form-group input:focus, 
.admin-form-group select:focus {
    border-color: rgb(170, 97, 37);
    outline: none;
    box-shadow: 0 0 5px rgba(170, 97, 37, 0.3);
}

.btn-submit { 
    background: rgb(170, 97, 37); 
    color: white; 
    border: none; 
    padding: 12px 25px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 1rem;
    margin-top: 15px;
    transition: background 0.2s;
}

.btn-submit:hover { background: rgb(128, 128, 128); }

.btn-cancel { 
    background: #6c757d; 
    color: white; 
    border: none; 
    padding: 12px 25px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 1rem;
    text-decoration: none; 
    margin-left: 10px; 
    display: inline-block;
    transition: background 0.2s;
}

.btn-cancel:hover { background: #5a6268; }

/* =========================================
   KONCERTY - VÝPIS AKCÍ (GRID ZAROVNÁNÍ)
========================================= */
.main-content {
    flex: 1;
    max-width: 1000px;
    width: 100%;
    margin: 80px auto 40px;
    padding: 0 15px;
}

.section-heading {
    color: #213E60;
    text-align: center;
    margin: 40px 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 40px auto;
    width: 80%;
}

.event-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.event-row {
    display: grid;
    grid-template-columns: 180px 1fr; 
    gap: 25px; 
    align-items: center; 
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.event-row.internal-event { background-color: #fcfcfc; }
.event-row:last-child { border-bottom: none; }
.event-row:hover { background-color: #f9f9f9; }

/* Kalendářová kostka  */
.event-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fdf4eb; 
    border: 2px solid #f5dec5;
    border-radius: 8px;
    padding: 12px 15px;
    text-align: center;
    height: auto; 
}

.event-date strong {
    font-size: 1.25rem; 
    color: rgb(170, 97, 37);
    display: block;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap; 
}

.event-date span {
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Obal na texty */
.event-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; 
}

.event-title {
    font-weight: bold;
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 5px;
    display: block;
    word-wrap: break-word;
}

.event-status {
    margin-bottom: 8px;
    display: inline-block;
}

.status-public {
    color: #155724;
    font-weight: bold;
    font-size: 0.8rem;
    background: #d4edda;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}

.status-private {
    color: #721c24;
    font-weight: bold;
    font-size: 0.8rem;
    background: #f8d7da;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

.event-meta {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
}

.event-meta i {
    color: #94B6EF;
    width: 20px;
    text-align: center;
}

/* Tlačítka */
.event-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-action {
    display: inline-block;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s;
}

.btn-action:hover { opacity: 0.85; }
.btn-calendar { background: #4285F4; }
.btn-tickets { background: #E68C3A; }

/* Admin panel */
.admin-controls { 
    margin-top: 10px; 
    width: 100%; 
    padding-top: 10px; 
    border-top: 1px dashed #ddd; 
}

.btn-edit { color: #007bff; text-decoration: none; font-size: 0.85rem; margin-right: 15px; font-weight: bold;}
.btn-delete { color: #dc3545; text-decoration: none; font-size: 0.85rem; font-weight: bold;}

/* Úprava pro mobily - grid se přeskládá pod sebe */
@media (max-width: 650px) {
    .event-row {
        grid-template-columns: 1fr; 
        gap: 15px;
        padding: 15px;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        height: auto;
        padding: 12px 15px;
        text-align: left;
    }

    .event-date strong {
        margin-bottom: 0;
        font-size: 1.15rem;
    }

    .event-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-action { 
        width: 100%; 
        text-align: center; 
    }
}
/* =========================================
   KONCERTY - KONEC
========================================= */

/* =========================================
   GALERIE
========================================= */
.gallery-container {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto; 
    padding: 15px;
    position: relative;
}

.browser-toolbar {
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    gap: 15px;
}

.btn-back {
    background: #f1f3f4;
    border: 1px solid #dadce0;
    border-radius: 20px;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #3c4043;
    display: none; 
    align-items: center;
    gap: 8px;
}

.btn-back:hover { background: #e8eaed; }

.current-path {
    font-size: 1.2rem;
    color: #202124;
    font-weight: 500;
}

.folder-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.folder-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    transition: background 0.1s;
    background: #fff;
}

.folder-row:hover { background-color: #f8f9fa; }
.folder-row i { font-size: 1.5rem; color: #ffc107; margin-right: 20px; }

.loader {
    text-align: center;
    padding: 50px;
    color: #666;
}
 .gallery-subtitle {
    font-weight: normal;
}
/* Mřížka */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.image-card {
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    cursor: pointer;
    border: none;
}

.image-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: scale(1.02);
    transition: transform 0.2s;
    z-index: 2;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    user-select: none;
}

.lightbox.active { display: flex; }

.lightbox-img {
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: opacity 0.2s ease-in-out;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    z-index: 10;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: background 0.3s;
}

.lightbox-prev:hover, .lightbox-next:hover { background: rgba(0,0,0,0.6); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 14px;
    font-family: sans-serif;
    background: rgba(255,255,255,0.2);
    padding: 6px 15px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.lightbox-download {
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
    font-size: 15px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lightbox-download:hover {
    background: rgba(255, 255, 255, 0.4);
    color: white;
}

/* Responzivita */
@media (max-width: 600px) {
    .images-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .lightbox-img {
        max-width: 100vw;
        border-radius: 0;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
    }

    .lightbox-download {
        top: 10px;
        left: 15px;
        padding: 6px 12px;
        font-size: 13px;
    }

    .lightbox-prev, .lightbox-next {
        display: block !important; 
        font-size: 28px !important;
        padding: 8px 12px !important;
        background: rgba(0, 0, 0, 0.3) !important;
        border-radius: 8px !important;
    }
    
    .lightbox-prev { left: 5px !important; }
    .lightbox-next { right: 5px !important; }
}
/* =========================================
   FOOTER
========================================= */
footer {
    background-color: #213E60;
    color: rgba(255,255,255,0.4);
    text-align: center;
    padding: 15px;
    margin-top: auto;
    width: 100%;
}