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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

/* Navigace */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

.nav-menu > li > a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    padding: 10px 0;
}

.nav-menu > li > a:hover {
    opacity: 0.7;
}

/* Dropdown menu pro moduly */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.98);
    list-style: none;
    padding: 0;
    margin-top: 20px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.dropdown-menu li {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.dropdown-menu li:last-child {
    border-right: none;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
}

/* Hamburger menu button - skrytý na desktopu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobilní menu overlay - skryté na desktopu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 20px;
}

.mobile-menu-list li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 20px 10px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 20px;
}

/* Úvodní sekce */
#home {
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 20px;
    animation: fadeInUp 1.5s ease;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-content .subtitle {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-content .tagline {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.author-name {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* Dekorativní prvky */
.decorative-line {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.decorative-line.top-left {
    top: -150px;
    left: -150px;
}

.decorative-line.bottom-right {
    bottom: -150px;
    right: -150px;
}

/* Poloviční hvězdy v rozích */
.half-star-decoration {
    position: absolute;
    opacity: 0.15;
    z-index: 1;
}

/* Pro úvodní sekci - levý dolní roh */
#home .half-star-left {
    bottom: 50px;
    left: 0;
    width: 150px;
    height: 300px;
}

/* Pro kontakt sekci - pravý dolní roh */
#contact .half-star-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 300px;
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 200" xmlns="http://www.w3.org/2000/svg"><path d="M0,100 Q360,50 720,100 T1440,100 L1440,200 L0,200 Z" fill="white" opacity="0.05"/></svg>') no-repeat bottom;
    background-size: cover;
}

/* Úvodní video sekce */
#intro-video {
    min-height: 100vh;
    background: #000;
    color: white;
    padding: 120px 50px 50px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.video-container {
    aspect-ratio: 16/9;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* O autorce sekce */
#about {
    min-height: 100vh;
    background: white;
    padding: 100px 0 50px 0;
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 50px;
    position: relative;
}

.author-image-wrapper {
    position: absolute;
    top: 80px;
    left: 50px;
    z-index: 10;
}

.author-image {
    width: 350px;
    height: 500px;
    display: block;
}

.about-content {
    padding-left: 450px;
    padding-top: 0;
}

.about-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1;
    letter-spacing: -2px;
}

.about-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Kontakt sekce */
#contact {
    min-height: 100vh;
    background: #000;
    color: white;
    padding: 100px 50px 50px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    text-align: center;
}

/* Upravené pozicování hvězd pro kontakt sekci */
#contact .half-star-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 300px;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 40px 50px;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 15px;
    display: inline;
}

.footer-links {
    font-size: 14px;
    opacity: 0.7;
    display: inline;
    margin-left: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    border-bottom-color: white;
}

.footer-line-2 {
    font-size: 13px;
    opacity: 0.6;
    margin-top: 15px;
}

.footer-line-2 a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.footer-line-2 a:hover {
    opacity: 1;
    border-bottom-color: white;
}

.contact-container h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.contact-info {
    font-size: 20px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 50px;
}

.contact-email {
    font-size: 28px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-email:hover {
    opacity: 0.7;
}

.contact-phone {
    font-size: 28px;
    color: white;
    text-decoration: none;
    margin-top: 20px;
    display: block;
    transition: opacity 0.3s ease;
}

.contact-phone:hover {
    opacity: 0.7;
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responzivní design */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
    }

    .author-image-wrapper {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto 40px auto;
        text-align: center;
    }

    .author-image {
        width: 280px;
        height: 400px;
    }

    .about-content {
        padding-left: 0;
        text-align: left;
    }

    nav {
        padding: 15px 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .author-image {
        width: 280px;
        height: 400px;
    }

    .image-decoration {
        width: 320px;
        height: 440px;
    }

    #about {
        padding: 80px 20px;
    }

    #contact {
        padding: 80px 20px;
    }

    #intro-video {
        padding: 100px 20px 50px 20px;
    }
}

/* Responzivní menu pro mobilní zařízení */
@media (max-width: 768px) {
    .dropdown-content {
        white-space: normal;
        width: 90vw;
        max-width: 400px;
    }

    /* Skrýt desktop menu na mobilech */
    .nav-menu {
        display: none;
    }

    /* Zobrazit hamburger menu na mobilech */
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
    }

    .nav-container {
        justify-content: flex-start;
    }
}
