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

body {
    font-family: 'Arial', sans-serif; /* zůstává tvůj původní feel */
    overflow-x: hidden;
    min-height: 100vh;
    background: #000;
    color: #fff;
}

/* ============================= */
/* VIDEO POZADÍ */
/* ============================= */
.video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -100;
    object-fit: cover;
}

/* ============================= */
/* NAVBAR (TVŮJ STYL ZACHOVÁN) */
/* ============================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.nav-link:hover {
    background: rgba(0, 255, 0, 0.25);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.4);
}

.nav-link.active {
    background: rgba(0, 150, 0, 0.35);
    border-bottom: 2px solid #00ff00;
}

/* ============================= */
/* LAYOUT */
/* ============================= */
.gallery-container {
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 0 30px;
}

.text-container {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.text-container h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.text-container p {
    font-size: 20px;
    color: #d6ffd6;
}

/* ============================= */
/* GALERIE */
/* ============================= */
.gallery-item {
    margin-bottom: 80px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* TEXT BLOKY */
.image-caption {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0,40,0,0.5);
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.5;
}

/* ============================= */
/* VIDEO */
/* ============================= */
.youtube-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    background: #000;
}

.youtube-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

/* ============================= */
/* SYNOPSIS BOX */
.film-synopsis {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ============================= */
/* COUNTER (OPRAVENÉ SRDCE + ČÍSLO) */
/* ============================= */
.visit-counter {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.heart-container {
    width: 90px;
    height: 90px;
    position: relative;
    animation: heartbeat 2s infinite;
}

/* OPRAVENÝ HEART (funkční + čistý) */
.heart-shape {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,0,0,0.25);
    transform: rotate(-45deg);
    top: 15px;
    left: 15px;
    border-radius: 10px;
}

.heart-shape::before,
.heart-shape::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,0,0,0.25);
    border-radius: 50%;
}

.heart-shape::before {
    top: -30px;
    left: 0;
}

.heart-shape::after {
    left: 30px;
    top: 0;
}

.counter-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    animation: pulse 1.5s infinite;
}

/* ============================= */
/* ANIMACE */
/* ============================= */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    10% { transform: scale(1.08); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 992px) {
    .youtube-container {
        max-width: 100%;
    }
}

/* ============================= */
/* DECOR LINE */
/* ============================= */
.decorative-line {
    width: 100%;
    height: 4px;
    margin: 40px 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,1),
        rgba(0,255,0,0.7) 30%,
        rgba(0,255,0,1) 50%,
        rgba(0,255,0,0.7) 70%,
        rgba(0,0,0,1)
    );
}
.image-caption.side-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    /* filmový „air“ */
    max-width: 420px;
}

/* credits blok */
.credits-block {
    text-align: left;
}

/* text v credits – jemnější filmový styl */
.credits-block p {
    font-weight: 300;       /* NE TUČNÉ */
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.2px;
    opacity: 0.9;
}

/* nadpisy */
.image-caption h3 {
    font-weight: 300;       /* jemný filmový nadpis */
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* award text */
.award {
    text-align: left;
    font-weight: 300;
    font-style: italic;
    opacity: 0.85;
}

/* synopse (lehce vylepšený filmový feeling) */
.film-synopsis {
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.2px;
    opacity: 0.9;
}