/* ==========================================================================
   Open Mic Eurion - CSS Framework
   Brand Color: #C6FF00 (Electric Lime / Yellow)
   2026 Edition Color: #ED1C24 (Red - ONLY on 2026 badge & 2026 subpage)
   Vina Sans: ONLY for "OPEN MIC EURION" (No diacritics)
   Bahnschrift / Oswald: For Czech headings & tag boxes
   ========================================================================== */

:root {
    /* Brand Primary Accent Color */
    --brand-color: #C6FF00;
    --brand-hover: #B2E600;
    --brand-text: #000000;
    
    /* 2026 Edition Red (Used ONLY for 2026 items) */
    --year-2026-color: #ED1C24;
    --year-2026-hover: #C4131A;
    
    --bg-main: #FFFFFF;
    --bg-light: #F4F4F6;
    --border-dark: #000000;
    
    --text-color: #111111;
    --text-muted: #555555;
    
    /* Fonts */
    --font-vina: 'Vina Sans', cursive, sans-serif; /* ONLY FOR OPEN MIC EURION */
    --font-heading: 'Bahnschrift', 'Oswald', sans-serif;
    --font-body: 'Roboto', 'Segoe UI', sans-serif;
    
    --radius-sm: 4px;
    --max-width: 1040px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 3px solid #000000;
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo with Vina Sans for OPEN MIC EURION */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-vina);
    font-size: 2.5rem;
    color: #000000;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 0.9;
}

.logo-mic-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo span {
    background: var(--brand-color);
    color: #000000;
    padding: 0 6px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.nav-link {
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    background: var(--brand-color);
    color: #000000;
}

/* 2026 Red Badge */
.badge-2026 {
    background: var(--year-2026-color) !important;
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    text-transform: uppercase;
}

.badge-2026:hover {
    background: var(--year-2026-hover) !important;
    color: #FFFFFF !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 1.8rem;
    cursor: pointer;
}

/* HERO SEKCE (PLAKÁTOVÝ VIZUÁL S VELKÝM MIKROFONEM NA POZADÍ) */
.hero-section {
    padding: 40px 0;
    border-bottom: 3px solid #000000;
    background: #FFFFFF;
}

/* Poster Frame Container */
.poster-hero-card {
    background: #FFFFFF;
    border: 3px solid #000000;
    box-shadow: 6px 6px 0 #000000;
    padding: 35px 40px;
    position: relative;
    overflow: hidden;
}

/* VELKÝ MIKROFON NA POZADÍ CELÉHO BLOKU */
.poster-hero-card::before {
    content: '';
    position: absolute;
    right: -10px;
    top: -20px;
    bottom: -20px;
    width: 60%;
    max-width: 600px;
    background-image: url('../assets/images/microphone_hand.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
}

.poster-top-slogan {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.85);
}

.poster-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

/* Vina Sans ONLY for "OPEN", "MIC", "EURION" stacked */
.poster-title-stacked {
    font-family: var(--font-vina);
    font-size: clamp(5rem, 14vw, 10.5rem);
    line-height: 0.78;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 25px;
}

.poster-title-stacked .line-1 { display: block; color: #000000; }
.poster-title-stacked .line-2 { display: block; color: #000000; }
.poster-title-stacked .line-3 { display: inline-block; color: #000000; background: var(--brand-color); padding: 0 12px; }

/* Tagy - Červené/Žluté obdélníky jako na plakátu */
.poster-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.poster-tag-box {
    background: var(--brand-color);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    padding: 6px 16px;
    letter-spacing: 0.5px;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0 #000000;
    display: inline-block;
}

.poster-tag-box small {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: lowercase;
}

/* Vertikální Štítek Ročníku na Pravé Stránce */
.poster-date-vertical {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
    font-family: var(--font-vina);
    font-size: 3.5rem;
    color: #000000;
    background: var(--brand-color);
    padding: 0 16px;
    border: 3px solid #000000;
    white-space: nowrap;
    box-shadow: 4px 4px 0 #000000;
    z-index: 3;
}

/* Counter Box */
.counter-box {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #000000;
    padding: 18px 25px;
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 4px 4px 0 #000000;
}

.counter-info h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #000000;
}

.counter-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.counter-number-badge {
    background: var(--brand-color);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    padding: 6px 20px;
    border: 3px solid #000000;
    box-shadow: 3px 3px 0 #000000;
}

/* Tlačítka */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 3px solid #000000;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0 #000000;
}

.btn-brand {
    background: var(--brand-color);
    color: #000000;
}

.btn-brand:hover {
    background: var(--brand-hover);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000000;
}

.btn-outline {
    background: #FFFFFF;
    color: #000000;
}

.btn-outline:hover {
    background: #000000;
    color: #FFFFFF;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--brand-color);
}

/* Sekce */
.section {
    padding: 55px 0;
    border-bottom: 3px solid #000000;
}

h2 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 20px;
    font-size: 2.2rem;
    letter-spacing: 0.5px;
}

/* CALL TO ACTION SEKCE - SLEDUJ NÁS & PODPOŘ TALENTY */
.social-cta-box {
    background: var(--brand-color);
    border: 3px solid #000000;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 6px 6px 0 #000000;
}

.social-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.social-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: #FFFFFF;
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: 3px solid #000000;
    box-shadow: 4px 4px 0 #000000;
    transition: all 0.2s ease;
}

.social-cta-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 #000000;
}

.social-cta-btn i {
    font-size: 1.5rem;
}

.btn-fb:hover { background: #1877F2; color: #FFF; border-color: #000; }
.btn-ig:hover { background: #E4405F; color: #FFF; border-color: #000; }

/* Grid & Cards */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
}

.highlight-box {
    background: var(--bg-light);
    padding: 28px;
    border: 2px solid #000000;
    border-left: 8px solid #000000;
    box-shadow: 4px 4px 0 #000000;
}

.highlight-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #000000;
}

/* Perex 1. ročníku (2026 Red Accent) */
.perex-2026-box {
    background: #FFFFFF;
    border: 3px solid var(--year-2026-color);
    padding: 30px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: 5px 5px 0 var(--year-2026-color);
}

.perex-2026-poster img {
    width: 100%;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0 #000000;
    cursor: pointer;
}

.perex-2026-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 15px;
}

.badge-red-tag {
    background: var(--year-2026-color);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

/* 9:16 VERTIKÁLNÍ A 16:9 HORIZONTÁLNÍ VIDEO PREHRAVAČ (PŘÍMO ZE SERVERU MP4) */
.video-container-vertical {
    max-width: 380px;
    margin: 0 auto;
    border: 3px solid #000000;
    box-shadow: 6px 6px 0 #000000;
    background: #000000;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.video-container-vertical video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 3px solid #000000;
    background: #000;
    box-shadow: 5px 5px 0 #000000;
    margin-top: 20px;
}

.video-wrapper video, .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Registrační formulář */
.form-card {
    margin-top: 25px;
    padding: 35px;
    border: 3px solid #000000;
    background: #FFFFFF;
    box-shadow: 5px 5px 0 #000000;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: #000000;
    font-size: 0.95rem;
}

.form-label span {
    color: var(--year-2026-color);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    background: #FFFFFF;
    border: 2px solid #000000;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #000000;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    background: var(--bg-light);
    box-shadow: 3px 3px 0 #000000;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* CAPTCHA */
.captcha-container {
    background: var(--bg-light);
    border: 2px dashed #000000;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.captcha-question {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.honeypot-field {
    display: none !important;
}

/* Alerts */
.alert {
    padding: 15px;
    border: 2px solid #000000;
    margin-bottom: 20px;
    font-weight: 700;
    display: none;
}

.alert-success {
    background: var(--brand-color);
    color: #000000;
}

.alert-error {
    background: #FFD2D2;
    color: #000000;
    border-color: var(--year-2026-color);
}

/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.gallery-item {
    position: relative;
    border: 2px solid #000000;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(198, 255, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.2rem;
    color: #000000;
}

/* Footer */
.site-footer {
    background: #000000;
    color: #FFFFFF;
    padding: 40px 0 25px;
    text-align: center;
    border-top: 3px solid #000000;
}

.footer-logo {
    font-family: var(--font-vina);
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1;
}

.footer-logo span {
    color: var(--brand-color);
}

.socials {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    color: #FFFFFF;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid var(--brand-color);
}

.socials a:hover {
    color: var(--brand-color);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    border: 3px solid #FFFFFF;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #FFFFFF;
    cursor: pointer;
}

/* Responsivita */
@media (max-width: 992px) {
    .poster-hero-card::before {
        width: 80%;
        opacity: 0.15;
    }
    .poster-date-vertical {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        display: inline-block;
        margin-top: 15px;
    }
    .perex-2026-box {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        border-bottom: 3px solid #000000;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }

    .social-cta-buttons {
        flex-direction: column;
    }
}
