body {
    margin: 0;
    font-family: 'Playfair Display', serif;
    background-color: black;
    color: white;
}

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.76);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup {
    background: #030303c0;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: calc(100% - 100px);
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 32px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.background-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}

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

.hero-content h1 {
    font-size: 300%;
    text-shadow: #222;
}

.products {
    text-align: center;
    padding: 50px;
    background: #ffffff;
}

.product-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
}

.product {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    min-width: 200px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0.5%;
    }
    .nav-links {
        flex-direction: column;
        gap: 15%;
        text-align: center;
    }
}

.nadpis h2 {
    color: #222;
    padding: 0.5%;
    font-size: 320%;
}

.Story {
    background-color: rgb(255, 253, 253);
    padding: 5%;
}

.Story h2 {
    font-size: 320%;
    color: #222;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 5%;
    
}

.cara {
    background-color: black;
    padding: 1px;
}

.logo a {
    color: whitesmoke;
}

.stories-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.story-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stories-container .story-item:nth-child(even) {
    flex-direction: row-reverse;
}

.story-image {
    max-width: 60%;
    width: 100%;
    height: auto;
    display: block;
}

.story-text {
    flex: 1;
    font-size: 140%;
    color: #222;
    line-height: 1.5;
    padding: 5%;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 80%;
    margin: auto;
    overflow: hidden;
}

.product-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.product {
    background: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 250px;
    text-align:left;
}

.product img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    background: white;
}

.slider-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

.left { left: 0; }
.right { right: 0; }

.contact {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #1a1a1a, #111);
    color: whitesmoke;
    font-family: 'Playfair Display', serif;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80%;
    margin: 0 auto;
}

#contact-info {
    flex: 1;
    text-align: left;
    padding-right: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 22px;
    margin-bottom: 15px;
    gap: 15px;
}

.contact-item span {
    font-size: 28px;
}

#map-container {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
}

#map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}
/* Obrázky – základní styl */
.story-image {
    max-width: 60%;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* První a poslední obrázek – menší velikost */
.story-item:first-child .story-image,
.story-item:last-child .story-image {
    max-width: 40%; /* Menší šířka */
}

/* Hover efekt pro obrázky */
.story-item:hover .story-image {
    transform: scale(1.1);
    filter: brightness(0.9);
}

