/* Globální nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent;
    color: #fff;
}

/* Video pozadí */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
    background: black;
}

/* Navigace */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #1e1e1e;
    padding: 15px 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
    cursor: pointer;
}

nav ul li a:hover {
    color: #ff7b00;
}

/* Sekce */
section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 80px;
    background-color: rgba(0, 0, 0, 0.9);
    font-size: large;
    text-shadow: 0 0 5px rgba(0,0,0,0.6);
}

/* Domovská sekce */
#home {
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    padding-top: 120px;
}

/* Logo */
.hero-logo {
    animation: fadeInScale 2s ease-out;
    margin-bottom: 30px;
}

.hero-logo img {
    width: 300px;
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.6));
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}



.carousel {
    position: relative;
    width: 80%;
    max-width: 800px;
    height: 600px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 10px;
}

.carousel img.active {
    opacity: 1;
    z-index: 1;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}

.carousel button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel .prev {
    left: 10px;
}

.carousel .next {
    right: 10px;
}

/* Formulář */
form {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 500px;
    margin: 30px auto 0;
}

form input,
form textarea {
    margin: 10px 0;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    background-color: #333;
    color: white;
}

form button {
    padding: 12px;
    background-color: #ff7b00;
    color: black;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background-color: #a34f01;;
}


.map-container {
    margin: 30px auto;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 20px;
}

/* === RESPONSIVITA === */
@media (max-width: 768px) {
    .background-video {
        display: none;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    section {
        padding: 80px 15px;
        font-size: medium;
    }

    h1, h2 {
        text-align: center;
        font-size: 1.5rem;
    }

    .hero-logo img {
        width: 200px;
    }

    .carousel {
        height: 300px;
    }

    .carousel button {
        font-size: 1.5rem;
        padding: 6px;
    }

    form {
        width: 95%;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;
    }
}

/* Hamburger menu */
.hamburger {
    display: none;
    font-size: 2rem;
    color: white;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background-color: #1e1e1e;
        position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        display: none;
        padding: 20px 0;
    }

    nav ul.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}
