/* --- BARVY --- */
:root {
    --bg-blue: #0a1a3f;      
    --bg-darker: #050d21;    
    --accent-blue: #2563eb;  
    --menu-gray: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
}

/* --- ZÁKLAD --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--bg-blue); color: var(--text-white); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- STATICKÉ MENU --- */
.main-header {
    background-color: var(--bg-darker); 
    padding: 15px 0 10px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-top { 
    display: flex; justify-content: space-between; align-items: center; 
    margin-bottom: 12px; padding-bottom: 10px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.site-title { font-size: 1.1rem; text-transform: uppercase; font-weight: 800; letter-spacing: -0.5px; }

.lang-switcher { display: flex; gap: 12px; align-items: center; }
.lang-link { text-decoration: none; color: white; font-weight: bold; font-size: 0.8rem; display: flex; align-items: center; gap: 5px; opacity: 0.5; transition: 0.3s; }
.lang-link:hover { opacity: 1; color: var(--accent-blue); }

/* Aktivní jazyk (zvýrazněný) */
.lang-link.active {
    opacity: 1;
    color: var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 2px;
}

.flag-img { width: 22px; height: auto; border-radius: 3px; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }

.header-bottom { 
    display: flex; justify-content: space-between; align-items: center; 
}

.main-nav { display: flex; gap: 10px; }
.nav-btn { background-color: var(--menu-gray); border: 1px solid rgba(255,255,255,0.05); color: white; text-decoration: none; padding: 8px 18px; border-radius: 6px; font-weight: 600; font-size: 0.8rem; transition: all 0.3s ease; white-space: nowrap; }
.nav-btn:hover { background-color: var(--accent-blue); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3); }

.social-icons { display: flex; gap: 15px; }
.social-icons a { color: white; font-size: 1.4rem; opacity: 0.8; transition: 0.3s; }
.social-icons a:hover { color: var(--accent-blue); opacity: 1; transform: scale(1.1); }

/* --- HERO --- */
.hero-section {
    padding: 60px 0; 
    text-align: center;
    background-image: url('web.png');
    background-size: cover; background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(10, 26, 63, 0.6); 
}

.registration-area { 
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 20px; 
    margin-bottom: 45px; 
}

.event-date { 
    font-size: 1.6rem; 
    font-weight: 800; 
    font-style: italic; 
    letter-spacing: 1px; 
    margin: 0; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    color: var(--text-white);
}

.btn-register { 
    display: inline-block; 
    background-color: var(--accent-blue); 
    color: white; 
    text-decoration: none; 
    padding: 16px 45px; 
    border-radius: 30px; 
    font-weight: 800; 
    font-size: 1.3rem; 
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4); 
    transition: 0.3s; 
    margin: 0;
}
.btn-register:hover { transform: translateY(-4px); background-color: #1d4ed8; box-shadow: 0 15px 30px rgba(37, 99, 235, 0.6); }

/* Oprava rámečku pod videem */
.video-wrapper { 
    max-width: 800px; 
    margin: 0 auto; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.6); 
    border: 1px solid rgba(255,255,255,0.1); 
    background-color: #000;
}
.video-wrapper video { 
    display: block; 
    width: 100%; 
    border-radius: 10px; 
}

/* Velké logo Interreg pod videem */
.hero-interreg-logo {
    max-width: 850px; 
    width: 100%;
    margin: 50px auto 0; 
    display: block;
    transition: 0.3s;
}
.hero-interreg-logo:hover { transform: scale(1.02); }


/* --- SCHEDULE --- */
.schedule-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.saturday-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

.schedule-day h3 { color: #60a5fa; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; font-size: 1.3rem; letter-spacing: 1px; }
.schedule-list { list-style: none; }
.schedule-list li { 
    padding: 10px 12px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    transition: all 0.2s ease;
    border-radius: 4px;
    margin-left: -12px; 
}
.schedule-list li:hover { background: rgba(255,255,255,0.05); transform: translateX(5px); }
.schedule-list span { font-weight: bold; margin-right: 15px; color: #93c5fd; }

/* --- PROPOZICE --- */
.propozice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.propozice-map-area { display: flex; flex-direction: column; gap: 15px; }

.map-image-link { display: block; overflow: hidden; border-radius: 10px; box-shadow: 0 15px 35px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s; }
.map-image-link:hover { transform: scale(1.03); }
.map-image { width: 100%; height: auto; display: block; }

.btn-map-link { text-align: center; background-color: rgba(255,255,255,0.05); border: 1px solid var(--accent-blue); color: var(--text-white); padding: 14px 20px; border-radius: 8px; text-decoration: none; font-weight: bold; font-size: 0.95rem; transition: 0.3s; letter-spacing: 1px; }
.btn-map-link:hover { background-color: var(--accent-blue); }

.propozice-downloads { display: flex; flex-direction: column; gap: 20px; }
.propozice-downloads h3 { font-size: 1.8rem; color: var(--text-white); }
.propozice-downloads p { color: #cbd5e1; margin-bottom: 10px; }
.btn-download { display: flex; align-items: center; justify-content: center; gap: 15px; background-color: var(--accent-blue); color: white; text-decoration: none; padding: 18px 30px; border-radius: 8px; font-weight: 800; font-size: 1.1rem; transition: 0.3s; box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3); }
.btn-download:hover { background-color: #1d4ed8; transform: translateY(-4px); box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5); }

/* --- GALLERY --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 15px; }
.gallery-item { height: 250px; overflow: hidden; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item img:hover { transform: scale(1.1); }
.gallery-buttons-area { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.btn-album { background-color: transparent; border: 2px solid var(--accent-blue); color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: bold; transition: 0.3s; letter-spacing: 1px; }
.btn-album:hover { background-color: var(--accent-blue); box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4); }

/* --- ABOUT US --- */
.organizers-grid { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-top: 40px; }
.organizer-card { flex: 1; min-width: 300px; max-width: 450px; text-align: left; }
.organizer-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 50px; border: 2px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: 0.3s; }
.organizer-card:hover .organizer-img { border-color: var(--accent-blue); }
.organizer-name { font-size: 1.6rem; font-weight: 800; margin-top: 20px; }
.organizer-role { color: var(--accent-blue); font-weight: 800; margin-bottom: 12px; font-size: 0.85rem; letter-spacing: 1.5px; }
.organizer-desc { color: #cbd5e1; font-size: 0.95rem; line-height: 1.7; }

/* --- PARTNERS --- */
.partners-wrapper { text-align: center; }
.eu-logo-main { max-width: 900px; width: 100%; margin-bottom: 20px; transition: 0.3s; } 
.eu-logo-main:hover { transform: scale(1.02); }
.sub-partners { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.sub-partners img { max-width: 95px; opacity: 0.9; transition: 0.3s; }
.sub-partners img:hover { opacity: 1; transform: scale(1.05); }

/* --- OSTATNÍ --- */
.section-padding { padding: 90px 0; }
.dark-bg { background-color: var(--bg-darker); }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 800; margin-bottom: 60px; text-transform: uppercase; letter-spacing: 1px; }
footer { padding: 40px 0; text-align: center; font-size: 0.85rem; opacity: 0.5; }

/* --- MOBIL --- */
@media (max-width: 900px) {
    .header-bottom { flex-direction: column; gap: 15px; }
    .main-nav { justify-content: center; flex-wrap: wrap; width: 100%; }
    .social-icons { justify-content: center; padding-bottom: 5px; }
    .hero-section { padding: 40px 0; } 
    
    .schedule-layout { grid-template-columns: 1fr; gap: 40px; }
    .saturday-split { grid-template-columns: 1fr; gap: 0; }
    .propozice-grid { grid-template-columns: 1fr; gap: 30px; }
    .organizer-card { text-align: center; }
}