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

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* Základní styly */
body {
    font-family: 'Montserrat', sans-serif;
    background: #000000;
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Společná proměnná pro padding */
:root {
    --side-padding: 8%;
    --blue: #008DD2;
    --yellow: #FED800;
    --dark: #191919;
    --gray: #474747;
    --deep-dark: #000514;
}

/* Hlavní kontejner */
.main-container {
    min-height: 100vh;
    width: 100%;
    background: 
        radial-gradient(circle at 0% 0%, #191919 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(0, 141, 210, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(254, 216, 0, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(71, 71, 71, 0.05) 0%, transparent 70%),
        #191919;
}

/* Navigace */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #000000;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: var(--side-padding);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-brand:hover {
    color: white;
    transform: scale(1.05);
}

.nav-menu ul {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: var(--side-padding);
    list-style: none;
}

.nav-menu li {
    margin-left: 3rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero sekce */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 60px var(--side-padding) 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.brand-name {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.893);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Nadpisy sekcí */
.section-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 3rem;
    line-height: 1.1;
    background: linear-gradient(45deg, var(--blue), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--blue), var(--yellow));
}

.hero-image-container {
    position: relative;
    justify-self: end;
    max-width: 60%;
    z-index: 1;
    margin-right: -1%;
}

.hero-image.flip {
    transform: scaleX(-1);
    max-width: 100%;
    height: auto;
}

/* Sekce */
.section {
    position: relative;
    padding: 8rem var(--side-padding);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.section:nth-child(even) {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
}

/* O mně sekce */
.about-section {
    text-align: left;
    width: 100%;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* YouTube sekce */
.youtube-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto;
    width: 100%;
}

.video-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

/* Call to Action */
.youtube-cta {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.subscribe-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: #FF0000;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.subscribe-button:hover {
    background: #cc0000;
    transform: scale(1.05);
}

.subscribe-button i {
    font-size: 1.5rem;
}

.button-highlight {
    display: inline-block;
    transition: transform 0.3s ease;
}

.subscribe-button:hover .button-highlight {
    transform: translateX(5px);
}

.youtube-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* Podcast sekce */
.podcast-links {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    gap: 1rem;
    align-items: center;
}

.podcast-links a {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 300px;
    text-align: center;
}

.spotify-button {
    background: linear-gradient(45deg, #1DB954, #1ED760);
}

.apple-button {
    background: linear-gradient(45deg, #872EC4, #FF3B30);
}

.podcast-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.spotify-embed {
    width: 100%;
}

/* Kontaktní sekce */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.contact-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.email-link {
    font-size: 1.4rem;
    color: var(--blue);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--yellow);
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-links img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Responzivní design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        min-height: auto;
        display: block;
        text-align: center;
        padding: 2rem 20px;
    }

    .hero-image-container {
        position: relative;
        justify-self: unset;
        max-width: 100%;
        margin-right: 0;
        order: 1;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero-image.flip {
        max-width: 70%;
        height: auto;
        margin: 0 auto;
        display: block;
        transform: scaleX(-1) translateX(0);
    }

    .hero-content {
        order: 0;
        margin-bottom: 2rem;
        padding-top: 2rem;
    }

    .section-title {
        margin-bottom: 1.5rem;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(to right, var(--blue), var(--yellow));
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .section {
        text-align: left;
        padding: 6rem var(--side-padding);
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .youtube-cta {
        display: flex;
        justify-content: center;
        padding: 1rem;
    }

    .subscribe-button {
        width: 300px;
        justify-content: center;
        margin: 0 auto;
        font-size: 1.2rem;
        padding: 1rem 2rem;
        gap: 1rem;
    }

    /* Divider pro hero sekci zůstane na středu */
    .hero .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Divider pro ostatní sekce bude vlevo */
    .section .section-title::after {
        left: 0;
        transform: none;
    }
}