/* === ZÁKLADNÍ NASTAVENÍ === */
body {
    margin: 0;
    padding-top: 80px;
    font-family: "Comic Sans MS", cursive, sans-serif;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* === ZÁHLAVÍ === */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #fff;
    color: #ecba77;
    z-index: 9999;
    box-sizing: border-box;
}

.header h1 {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: 1px;
}

/* === MENU === */
.menu {
    position: fixed;
    top: 75px;
    right: 20px;
    z-index: 10000;
    background: transparent;
    border: none;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: none;
    justify-content: center;
    gap: 30px;
}

.menu.active ul {
    display: flex;
    flex-direction: column;
    gap: 20px;

    background: rgba(0,0,0,0.95);
    padding: 15px;
    margin: 0;

    border: 1px solid #444;
    border-radius: 8px;

    min-width: 200px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.menu.active a {
    display: block;
    padding: 8px 0;
}

.menu a:hover {
    color: #ecba77;            /* stejné zvýraznění jako na titulce */
    text-decoration: none;
}


/* === HAMBURGER === */
.hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #FFFFFF;
    cursor: pointer;
    line-height: 1;
}

/* === HERO – FOTKA JAKO POZADÍ === */
.hero-bg {
    flex: 1 1 auto;
    background-image: url("../o-mne-foto.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding: 0 20px 40px;

}


/* === TEXTOVÝ BOX === */
.hero-textbox {
    margin-top: 60px;   /* příjemná mezera pod menu */
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 40px 60px;
    width: 90%;
    max-width: 1200px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    line-height: 1.7;
    font-size: 1.1rem;
}

.hero-textbox h2 {
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.hero-textbox p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* === IKONY KONTAKTŮ === */
.contacts-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.icon-link {
    display: inline-block;
    width: 40px;
    height: 40px;
}

.icon {
    width: 100%;
    height: 100%;
    fill: white;
    transition: transform 0.2s ease;
}

.icon-link:hover .icon {
    transform: scale(1.15);
}

/* === ZÁPATÍ === */
.footer {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #444;
    background: #000;
    font-size: 0.9rem;
}

/* === MOBILNÍ VERZE === */
@media (max-width: 768px) {

     .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header h1 {
        flex: 1;
        margin: 0;
        padding-right: 15px;
        text-align: left;
        font-size: 1rem;
        line-height: 1.3;
    }

    .hamburger {
        flex-shrink: 0;
    }

    .menu ul {
        display: none;
    }

    .menu.active ul {
        display: flex;
    }

    .hero-bg {
        padding: 15px;
        background-position: center top;
    }

    .hero-textbox {
        padding: 20px;
        max-width: 90%;
        font-size: 0.95rem;
    }

    .icon-link {
        width: 32px;
        height: 32px;
    }
}

