:root {
    --background: #0a0a0a;
    --text: #ffffff;
    --text-secondary: #888888;
    --accent: #D64933;
    --section-bg: #111111;
    --card-bg: #1a1a1a;
    --video-accent: #D64933;
    --video-accent-soft: rgba(214, 73, 51, 0.1);
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
}

.nav-links a {
    margin-left: 2rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at center,
            transparent 0%,
            var(--background) 90%
        ),
        radial-gradient(
            ellipse at 30% 40%,
            rgba(214, 73, 51, 0.15) 0%,
            transparent 60%
        ),
        radial-gradient(
            circle at 70% 60%,
            rgba(214, 73, 51, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 50% 50%,
            rgba(214, 73, 51, 0.1) 0%,
            transparent 70%
        );
    opacity: 1;
    filter: blur(60px);
    animation: morphBackground 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        var(--background) 100%
    );
    opacity: 0.5;
    z-index: 1;
}

@keyframes morphBackground {
    0% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.2) translate(-3%, 3%);
    }
    50% {
        transform: scale(0.8) translate(3%, -3%);
    }
    75% {
        transform: scale(1.2) translate(3%, 3%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

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

.pre-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    opacity: 0.9;
    font-weight: 300;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(214, 73, 51, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text);
}

/* Video Sections */
.video-section {
    padding: 6rem 2rem;
    background: var(--section-bg);
}

.video-section:nth-child(even) {
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--card-bg);
    transition: transform 0.3s ease;
}

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

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

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--section-bg);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    color: var(--text);
}

.contact-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin-top: 1rem;
    background: var(--accent);
    color: var(--text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: var(--accent-hover);
}

.email-text {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--accent);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.email-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.email-text:not(.visible) {
    opacity: 0;
    pointer-events: none;
}

.copy-notification {
    margin-top: 1rem;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-notification.visible {
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--background);
    padding: 3rem 2rem;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .nav-logo {
        margin: 0;
        font-size: 1.3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .video-section {
        padding: 4rem 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .contact-section {
        padding: 4rem 1rem;
    }

    .email-text {
        font-size: 1rem;
        word-break: break-all;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#changing {
    display: inline-block;
    transition: opacity 0.5s ease;
    color: var(--accent);
    font-weight: 600;
    padding-left: 5px;
    position: relative;
}

#changing::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 5px;
    width: calc(100% - 5px);
    height: 2px;
    background: var(--accent);
    opacity: 0.5;
}

/* About Section */
.about-section {
    background: var(--background);
    padding: 8rem 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text {
    padding-right: 2rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
}

.image-portrait, .image-landscape {
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 8px;
}

.image-portrait {
    transform: translateY(-2rem);
}

.image-landscape {
    transform: translateY(2rem);
}

.about-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-images img:hover {
    transform: scale(1.05);
}

/* Videos Section */
.videos-section {
    background: var(--section-bg);
    padding: 6rem 0;
}

.video-categories {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.video-category {
    margin-bottom: 4rem;
}

.video-category h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.video-category p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-portrait, .image-landscape {
        transform: none;
    }
}

@media (max-width: 576px) {
    .about-images {
        grid-template-columns: 1fr;
    }
}

.youtube-link {
    margin: 2rem 0;
}

.youtube-link a {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 2.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(214, 73, 51, 0.1);
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.youtube-link a:hover {
    transform: translateY(-3px);
    background: var(--darker);
    border-color: var(--accent);
}

.youtube-link i {
    color: var(--accent);
    font-size: 1.4rem;
}

.youtube-link span {
    font-size: 1.1rem;
}

.text-link {
    color: var(--accent);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

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

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Styly pro My Work nadpis - stejné jako About Me */
.videos-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.videos-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

/* Úprava container stylu pro konzistentní zarovnání */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responzivní design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .videos-section {
        padding: 4rem 0;
    }
}

/* Přidáme styly pro mobilní email */
.mobile-email {
    display: none;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--accent);
    cursor: pointer;
    word-break: break-all;
}

/* Responzivní design */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-email {
        display: block;
    }

    .contact-section {
        padding: 4rem 1rem;
    }
}

@media (min-width: 769px) {
    .mobile-email {
        display: none;
    }
} 