/* Základní styly */


body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f5f5f5;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    scroll-padding-top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Header */
header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: #d5ab55;
    top: 0;
    z-index: 10;


}
.banner {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    z-index: -1;
}

.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
#logo {
    width: 115px;
    max-width: 20vw;
    transition: transform 0.3s;
}

#logo:hover {
    transform: scale(1.05);
}

/* Pozadí */
.background {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); /* Automaticky generuje sloupce */
    grid-auto-rows: 500px; /* Každý řádek má pevnou výšku 500px */
    gap: 5px;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
    opacity: 0.12;
    z-index: -10;
    filter: grayscale(30%);
}
.background img {
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

/* Kontejner */
.container {
    max-width: 1200px;
    width: 85%;
    margin: 30px auto;
}

/* Sekce */
.section {

    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-left: 5px solid #d5ab55;
    border-top: none;
    border-right: none;
    border-bottom: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.section h2 {
    color: #d5ab55;
    margin-top: 0;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.8rem;
}

.section h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #d5ab55;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Info sekce */
.info-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    text-align: center;
    max-width: 90%;
    margin: auto;
    flex-wrap: wrap;
}
.info-box i {
    font-size: 60px;
    color: #d5ab55;
    margin-bottom: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 50%;
    border: 3px solid #d5ab55;
    display: inline-block;
    transition: transform 0.3s;
}
.info-box {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-box:hover i {
    transform: scale(1.1);
}

/* Události */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.event:hover {
    transform: translateY(-3px);
}

.event-date {
    background-color: #d5ab55;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    font-weight: bold;
    font-size: 1.1rem;
}

.event-info {
    padding: 20px;
    text-align: left;
}

.event-info h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.3rem;
}

/* Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: auto;
}

.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 200px;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px 10px 10px 10px;
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    transition: padding 0.3s;
}

.gallery-item:hover .gallery-caption {
    padding-bottom: 15px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


#lightbox-caption {
    color: white;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: rgba(213, 171, 85, 0.7);
    border-radius: 20px;
    font-size: 1rem;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    z-index: 101;
    transition: transform 0.2s;
}

.close-lightbox:hover {
    transform: scale(1.2);
    color: #d5ab55;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(213, 171, 85, 0.4);
    color: white;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 101;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(213, 171, 85, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 5px solid #d5ab55;
}

footer h2 {
    color: #d5ab55;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.8rem;
    display: inline-block;
}

footer h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #d5ab55;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

footer a {
    color: #d5ab55;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    font-weight: 600;
    display: inline-block;
}

footer a:hover {
    color: white;
    transform: translateY(-2px);
}

.contact-map-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 30px auto;
    max-width: 1200px;
    width: 85%;
}

.contact-info {
    flex: 1;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.05rem;
}

#map {
    flex: 2;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

#map:hover {
    transform: translateY(-5px);
}

#map iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.food-section, .drinks-section {
    margin-bottom: 30px;

}

.food-section h3, .drinks-section h3 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    font-size: 1.5rem;
}

.food-section h3:after, .drinks-section h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #d5ab55;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.food-gallery {

    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    justify-content: center;
    width: 100%;
    max-width: 900px; /* můžete upravit podle potřeby */
    margin-left: auto;
    margin-right: auto;
}

.food-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 180px;
}

.food-item:hover {
    transform: scale(1.03);
}

.food-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.food-item:hover img {
    transform: scale(1.1);
}

.food-item {
    position: relative;
    text-align: center;
}

.food-caption {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.food-item:hover .food-caption {
    padding-bottom: 15px;
}
.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

#lightbox-caption {
    color: white;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: rgba(213, 171, 85, 0.7);
    border-radius: 20px;
    font-size: 1rem;
}
/* Responsivní design */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .section {
        padding: 20px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }


    .food-item {
        height: 150px;
    }
    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .close-lightbox {
        top: 10px;
        right: 15px;
    }

    .event {
        flex-direction: column;
    }

    .event-date {
        padding: 10px;
    }
    .contact-map-container {
        flex-direction: column;
        width: 90%;
    }

    .contact-info, #map {
        width: 100%;
    }

    #map {
        height: 250px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.95rem;
    }

    .gallery-item {
        height: 150px;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .info-box {
        min-width: 100%;
    }


    .food-item {
        height: 120px;
    }
}
