:root {
    --main-font: 'Roboto', sans-serif;
    --title-font: 'Oswald', sans-serif;
    --text-color: #ffffff;
    --background-color: #000000;
    --accent-color: #ff8c00;
    --border-color: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}


/* === HLAVIČKA === */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.subpage-header {
    background-color: var(--background-color);
}

/* === KONTAKTNÝ DROPDOWN V HLAVIČKE === */

/* Wrapper pre umiestnenie */
.contact-wrapper {
    position: relative; /* Dôležité pre umiestnenie drop-downu */
}

/* Štýl pre samotné drop-down okno */
.contact-dropdown {
    position: absolute;
    top: 100%; /* Umiestni hneď pod tlačidlo */
    right: 0;
    min-width: 220px;
    padding: 1rem 1.5rem;
    margin-top: 40px; /* Malá medzera pod tlačidlom */
    background-color: #1a1a1a; /* Tmavé pozadie pre kontrast */
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    
    /* Prechod pre animáciu */
    opacity: 0; 
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Zobrazenie pop-upu po aktivácii triedy 'active' cez JS */
.contact-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-dropdown .contact-name {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color); /* Biela farba */
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.5rem;
}

.contact-dropdown .contact-phone {
    display: block;
    text-decoration: none;
    color: var(--text-color); 
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-dropdown .contact-phone:hover {
    color: #999; /* Jemné stmavnutie pri hoveri */
}

/* === VLASTNÁ IKONA MENU === */

.menu-toggle {
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

.custom-menu-icon {
    position: relative;
    width: 30px;
    height: 14px;
}

.custom-menu-icon::before,
.custom-menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.custom-menu-icon::before {
    top: 0;
    width: 100%;
}

.custom-menu-icon::after {
    bottom: 0;
    width: 60%;
}

.brand-logo-top {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 60px;
    transition: height 0.3s ease;
}

.tickets-btn {
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.tickets-btn:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    background-color: rgba(0, 0, 0, 0.9);
}

.overlay-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    padding: 8rem 3rem;
}

.menu-nav a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 0;
    text-decoration: none;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.overlay-menu.active .menu-nav a {
    opacity: 1;
    transform: translateY(0);
}

.menu-nav a img {
    width: 120px;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-nav a:hover img {
    transform: translateX(-15px);
}

.menu-nav a::after {
    content: attr(data-text);
    position: absolute;
    left: 140px;
    top: 50%;
    transform: translate(-15px, -50%);
    font-family: var(--main-font);
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-nav a:hover::after {
    opacity: 1;
    transform: translate(0, -50%);
}

body.menu-open .custom-menu-icon::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

body.menu-open .custom-menu-icon::after {
    bottom: 50%;
    width: 100%;
    transform: translateY(50%) rotate(-45deg);
}


/* === SEKCE 1: ÚVOD S VIDEO POZADÍM === */

.vlogrs-hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    max-width: 800px;
}

.vlogrs-hero-logo {
    max-width: 350px;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down-arrow a {
    color: var(--text-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
    display: inline-block;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}


/* === SEKCE 2: ZOZNAM VLOGOV (NOVÁ VERZIA) === */

.vlogrs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.vlog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Medzera medzi položkami */
}

.vlog-item {
    position: relative;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    align-items: flex-start;
    /* Zarovnanie na vrch */
    padding: 2rem;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: grid-template-columns 0.6s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.4s ease;
}

.vlog-item.active {
    grid-template-columns: 600px 1fr;
    /* Väčší priestor pre video */
    background-color: #111;
    cursor: default;
}

.vlog-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.vlog-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.vlog-item:not(.active):hover .vlog-thumbnail {
    transform: scale(1.03);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vlog-item:not(.active):hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 2.5rem;
    color: white;
}

.vlog-player {
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

.vlog-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertikálne centrovanie textu */
    height: 100%;
}

.vlog-info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.vlog-number {
    font-family: var(--title-font);
    font-size: 1.5rem;
    color: #555;
}

.vlog-title {
    font-family: var(--title-font);
    font-size: 2.5rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.vlog-description {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    max-width: 90%;
    opacity: 0;
    /* Skrytý v predvolenom stave */
}

.close-vlog {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, background-color 0.3s ease;
}

.close-vlog:hover {
    background-color: var(--accent-color);
}


/* Responzivita */

@media (max-width: 1024px) {
    .vlog-item,
    .vlog-item.active {
        grid-template-columns: 1fr;
    }
    .vlog-item.active {
        padding-bottom: 2rem;
    }
    .vlog-info {
        padding-top: 1rem;
    }
    .vlog-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .vlogrs-container {
        padding: 2rem 1rem;
    }
    .vlog-item {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    /* === ÚPRAVA: Hlavička s presahujúcim logom a tmavším gradientom === */
    header {
        /* Zväčšený padding, aby dal priestor väčšiemu logu */
        padding: 2.5rem 1rem;
        justify-content: space-between;
        /* Kľúčová zmena: Tmavší gradient */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
        border-bottom: none;
    }
    .brand-logo-top {
        /* Kľúčová zmena: Výrazne väčšie logo, ktoré bude presahovať */
        height: 40px;
    }
    /* ==================================================================== */
    .tickets-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    .side-elements {
        display: none;
    }
    .menu-nav {
        padding: 6rem 1.5rem;
        align-items: center;
    }
    .menu-nav a {
        text-align: center;
    }
    .menu-nav a:hover img {
        transform: none;
    }
    .menu-nav a::after {
        display: none;
    }
}