body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

h1 {
    color: #333;
    text-align: center;
}

p {
    color: #666;
    margin: 20px ;
}

.main-slideshow {
    position: relative;
    width: 100%;
    height: 35vh;
    overflow: hidden;
}

.main-slideshow img {
    width: 100%;
    height: auto;
    object-fit: cover;
    top: 0;
    left: 0;
    transition: opacity 2s ease;
    opacity: 0;
}

.main-slideshow img.aktywny {
    opacity: 1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 70%;
    background-color: #564848;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.navbar .logo {
    font-size: 20px;
    font-weight: bold;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.navbar ul li a:hover {
    text-decoration: underline;
}



.content {
    margin-top: 60px; 
    padding: 20px;
}

.galeria {
    width: 100%;
    max-width: 854px;
    height: 480px;
    overflow: hidden;
    position: relative;
    text-align: center;
    margin: 0 auto; /* Wycentrowanie galerii */
    border: 2px solid #f0f0f0;
    background-color: #f0f0f0; /* Ustaw tło kontenera na neutralny kolor */
}

.galeria img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Dopasuj obrazek, zachowując całe wymiary */
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 2s ease;
    opacity: 0;
}

.galeria img.aktywny {
    opacity: 1;
}


.content {
    margin-top: 60px; /* Upewnij się, że zawartość nie jest zakryta przez pasek nawigacyjny */
    padding: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery img {
    width: 80%;
    height: auto;
}



/* Modal (background) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 600px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Navigation Arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    user-select: none;
    -webkit-user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Styles for image titles on hover */
.gallery img {
    position: relative;
}

.gallery img::after {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 5px 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery img:hover::after {
    opacity: 1;
}

.stojak-oferta {
    display: flex;
    align-items: center;
    margin: 20px;
}
.stojak-oferta .text-content {
    flex: 1;
}
.stojak-oferta .image-content {
    margin-left: 20px;
    display: flex;
    align-items: center;
}
.stojak-oferta h1 {
    margin-right: 70%;
    font-size: 1.5em;
}
.stojak-oferta ul {
    list-style: none;
    padding: 0;
}
.stojak-oferta ul li {
    margin: 20px;
}
.stojak-oferta img {
    margin-right: 180px;
    max-width: 300px;
    max-height: 400px;
    border: 2px solid #FFFFFF;
}

.custom-divider {
    height: 4px; /* Grubsza kreska */
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
    background: #766868;
    border-radius: 2px; /* Zaokrąglone końce */
}