/* ===========================================================
   STYLE-MAIN.CSS (Hlavní stránka)
   =========================================================== */

/* --- Základní nastavení a Proměnné --- */
:root {
    --color-theatre: #AB1D22;
    --color-music: #002eff;
    --color-originals: #216d2a;
    
    --color-theatre-rgb: 171, 29, 34;
    --color-music-rgb: 0, 46, 255;
    --color-originals-rgb: 33, 109, 42;

    --color-bg-dark: #0A0A0E;
    --color-glass-text: #E0E0E0;
    --color-glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-glass-text);
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.6;
}

/* --- Scrollbar --- */
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: rgba(10, 10, 14, 0.5); }
body::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.3); border-radius: 5px; }

/* --- Animované Pozadí (Míchá všechny 3 barvy) --- */
.background-blobs {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite alternate ease-in-out;
    opacity: 0.6;
}

.blob-1 { width: 40vw; height: 40vw; background: rgba(var(--color-originals-rgb), 0.4); top: -10%; left: -10%; animation-delay: 0s; }
.blob-2 { width: 35vw; height: 35vw; background: rgba(var(--color-theatre-rgb), 0.4); top: 40%; right: -10%; animation-delay: -5s; }
.blob-3 { width: 45vw; height: 45vw; background: rgba(var(--color-music-rgb), 0.4); bottom: -10%; left: 20%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
    100% { transform: translate(-30px, -20px) scale(0.9); }
}

/* ===========================================================
   NAVIGACE (Sjednocená pro celý web)
   =========================================================== */

/* 1. NEWS TICKER BAR */
.news-ticker-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 45px;
    background: #000; color: #fff; z-index: 5000;
    display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker-wrap { width: 100%; overflow: hidden; white-space: nowrap; }
.ticker-move { display: inline-block; white-space: nowrap; padding-left: 100%; animation: ticker 25s linear infinite; }
.ticker-item { 
    display: inline-block; padding: 0 3rem; 
    font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; 
}
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

/* 2. QUICK LINKS BAR */
.quick-links-bar {
    display: flex; position: fixed; 
    top: 60px; 
    left: 50%; transform: translateX(-50%);
    z-index: 4000; pointer-events: auto;
    background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(15px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 8px 30px; border-radius: 50px; gap: 2rem; transition: all 0.3s ease;
}

.quick-link {
    text-decoration: none; font-size: 1rem; font-weight: 900; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7); letter-spacing: 1px; transition: all 0.3s ease;
}
.quick-link:hover { color: #fff; text-shadow: 0 0 15px rgba(255,255,255,0.5); transform: scale(1.05); }
.quick-link.quick-link-active { color: #fff; pointer-events: none; }

/* 3. HAMBURGER ICON */
.hamburger-icon {
    display: flex; flex-direction: column; justify-content: space-around;
    width: 45px; height: 45px; padding: 10px; cursor: pointer;
    position: fixed; 
    top: 60px; 
    right: 20px; 
    z-index: 6000;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px);
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
}
.hamburger-icon span { width: 100%; height: 2px; background: #fff; transition: 0.3s; }
.hamburger-icon.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger-icon.open span:nth-child(2) { opacity: 0; }
.hamburger-icon.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* 4. MOBILE MENU OVERLAY & CONTENT */
.mobile-menu-overlay {
    display: block; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8); z-index: 5400; opacity: 0; visibility: hidden; transition: 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: #050505; border-left: 1px solid #333; 
    z-index: 5500; 
    padding: 2rem; padding-top: 100px; 
    transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; flex-direction: column;
}
.mobile-menu.open { right: 0; }

/* Změna stylu nadpisu MENU */
.mobile-menu-header {
    display: flex;
    justify-content: center; /* Zarovnání na střed */
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header h3 {
    font-size: 0.9rem; /* Menší písmo */
    font-weight: 700;
    color: #666; /* Tmavší šedá, aby to neřvalo */
    text-transform: uppercase;
    letter-spacing: 2px; /* Roztažené písmo */
    margin: 0;
}

.mobile-menu ul { list-style: none; margin-top: 1rem; }
.mobile-menu li { margin-bottom: 1rem; }
.menu-item { font-size: 1.2rem; font-weight: 700; color: #ccc; text-decoration: none; display: block; transition: 0.2s; }
.menu-item:hover { color: #fff; transform: translateX(5px); }

.lang-switcher-mobile {
    margin-top: auto; margin-bottom: 3.5rem; width: 100%; display: flex; justify-content: center; pointer-events: auto;
}
.lang-toggle {
    display: flex; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px; padding: 5px;
}
.lang-btn {
    display: block; padding: 10px 25px; color: #aaa; text-decoration: none; font-weight: 700;
    border-radius: 25px; transition: all 0.3s ease; font-size: 1.1rem;
}
.lang-btn.active { background: #fff; color: #000; box-shadow: 0 2px 10px rgba(255,255,255,0.2); }
.lang-btn:hover:not(.active) { color: #fff; background: rgba(255,255,255,0.05); }

/* ===========================================================
   HLAVNÍ OBSAH (One Page Layout)
   =========================================================== */
section {
    padding: 100px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

h2.section-title {
    font-size: 3rem; font-weight: 700; text-align: center; margin-bottom: 60px;
    color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* --- HERO --- */
.hero-section {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding-top: 120px;
}
.hero-section h1 {
    font-size: 5rem; font-weight: 900; margin-bottom: 1rem; color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.4), 0 0 40px rgba(255,255,255,0.2);
}
.hero-section p {
    font-size: 1.3rem; color: var(--color-glass-text); max-width: 600px; margin-bottom: 3rem; opacity: 0.9;
}

/* --- Tlačítka --- */
.btn {
    text-decoration: none; color: #fff;
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 32px; border-radius: 50px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; transition: all 0.3s ease; display: inline-block;
}
.btn:hover {
    background: rgba(255, 255, 255, 0.2); transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.btn-primary { background: rgba(255, 255, 255, 0.9); color: #000; border: none; }
.btn-primary:hover { background: #fff; color: #000; }

.cta-group { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

/* --- PILLARS (Karty) --- */
.event-date {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Specific colors for each date to match the theme */
.pillar-card.originals .event-date { color: #4caf50; }
.pillar-card.theatre .event-date { color: #ef5350; }
.pillar-card.music .event-date { color: #448aff; }

.pillars-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}
.pillar-card {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid var(--color-glass-border); border-radius: 20px;
    padding: 40px 30px; text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.pillar-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.4); }
.pillar-card h3 { font-size: 2rem; margin-bottom: 1rem; font-weight: 800; }
.pillar-card.originals h3 { color: #4caf50; text-shadow: 0 0 15px rgba(76,175,80,0.4); }
.pillar-card.theatre h3 { color: #ef5350; text-shadow: 0 0 15px rgba(239,83,80,0.4); }
.pillar-card.music h3 { color: #448aff; text-shadow: 0 0 15px rgba(68,138,255,0.4); }

.btn-link {
    color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid transparent;
    margin-top: 20px; display: inline-block; transition: 0.3s;
}
.btn-link:hover { border-bottom-color: #fff; }

/* --- ABOUT & TEAM --- */
.about-content {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid var(--color-glass-border); border-radius: 20px; padding: 40px;
}
.about-text p { font-size: 1.1rem; margin-bottom: 1.5rem; }

.team-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px;
}
.team-member {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border); border-radius: 15px; padding: 20px; text-align: center;
    transition: 0.3s;
}
.team-member:hover { background: rgba(255, 255, 255, 0.1); }
.team-member h4 { color: #fff; margin-bottom: 5px; }
.team-member span { color: #888; font-size: 0.9rem; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 10px; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }

/* ===========================================================
   UNIVERZÁLNÍ FOOTER
   =========================================================== */
.universal-footer {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 60px 20px 40px;
    text-align: center;
    margin-top: 100px;
    position: relative;
    z-index: 10;
}
.footer-container h3 {
    color: #fff; font-size: 1.2rem; font-weight: 900; margin-bottom: 25px;
    text-transform: uppercase; letter-spacing: 2px;
}
.footer-links {
    display: flex; justify-content: center; align-items: center; gap: 25px; flex-wrap: wrap; margin-bottom: 40px;
}
.footer-links a {
    color: #bbb; text-decoration: none; font-size: 1.1rem; font-weight: 600; transition: color 0.3s ease;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.separator { color: #444; }
.footer-copyright {
    color: #555; font-size: 0.9rem; border-top: 1px solid #222; padding-top: 20px; display: inline-block; width: 100%; max-width: 600px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .quick-links-bar { 
        top: 60px; gap: 1rem; padding: 5px 15px; width: max-content; max-width: 80%; 
    }
    .quick-link { font-size: 0.8rem; }
    .hamburger-icon { top: 55px; }
    .hero-section h1 { font-size: 3.5rem; }
    
    .separator { display: none; }
}

/* ===========================================================
   PARTNERS SECTION
   =========================================================== */

#partners {
    padding-bottom: 80px;
}

.partner-category {
    margin-bottom: 60px;
    text-align: center;
}

/* Nadpisy kategorií (Generální partneři, atd.) */
.partner-category h3 {
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 700;
    opacity: 0.8;
}

/* Mřížka pro loga */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

/* Styl pro loga - VÝCHOZÍ STAV */
.partner-logo {
    max-height: 70px;
    max-width: 220px;
    width: auto;
    
    filter: none; /* Show original colors */
    
    opacity: 1; /* Full opacity */
    transition: all 0.3s ease;
}

/* Hover efekt - ORIGINÁLNÍ BARVY */
.partner-link:hover .partner-logo,
.partner-item:hover .partner-logo {
    /* Zruší filtry = zobrazí originální barvy */
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* Styl pro TBA text */
.partner-tba {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    cursor: default;
}