* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color:white;
    text-shadow: 1px 1px 1px rgb(19, 19, 19);
    background-color: rgb(24, 78, 19);
    background-color: rgba(24, 78, 19, 1);
    background-image: linear-gradient(0deg, rgba(24, 78, 19, 1) 0%, rgba(5, 5, 5, 1) 100%);
}
.hero {
    background-image: url('../images/sunset-home.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.2rem;
    text-shadow: 6px 4px 6px rgb(19, 19, 19);
    opacity: 0; 
    animation: fadeIn 1s ease-in-out forwards; 
}
.hero p {
    font-size: 1.2rem;
    text-shadow: 6px 4px 6px rgb(19, 19, 19);
    font-weight: 600;
    opacity: 0; 
    animation: fadeIn 1s ease-in-out forwards; 
}

.hero-content {
    padding: 1rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    margin: 1rem;
    margin-top: 15vh;
    text-align: center;
}

#content1 {
    width: 100%;
    padding-top: 3%;
}

#content1 .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
}


#content2-price {
    width: 100%;
    padding-top: 3%;
}

#content2-price .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
}

.section.first h2,h3 {
    margin-top: 5%;
    margin-bottom: 1rem;
}

#content1 .section {
    flex-basis: 100%;
    padding: 3% 5%;
    box-sizing: border-box;
    -webkit-box-shadow: 0px 0px 15px -10px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 15px -10px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 15px -10px rgba(0, 0, 0, 1);
    margin-bottom: 0.5rem;
    text-align: justify;
}

#content1 .section.second {
    display: flex;
    justify-content: center;
    align-items: center;   
}
#content1 .content-img-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

#content1 .content-img-div img {
    width: 85%;
    border-radius: 60px 60px 40px 40px;
}

.section ul {
    padding-left: 5%;
}

.map-contact-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.map-container, .contact-div {
    width: 100%;
    padding: 0 5%;
}

.map-container h2, .contact-div h2 {
    margin-bottom: 15px;
}

.contact-div ul {
    list-style-type: none;
    padding: 0;
}

.contact-div li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-div li span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.contact-div li i {
    font-size: 1.2em; /* Dostosuj rozmiar ikon według potrzeb */
}

.contact-div li p {
    margin: 0;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
}

.contact-div p {
    margin: 10px 0;
}

@media (min-width: 768px) {
    .map-contact-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .map-container, .contact-div {
        width: calc(50% - 10px);
    }

    .map-container iframe {
        height: 400px;
    }

    .contact-div {
        flex: 1;
    }

    .hero {
        justify-content: flex-end;
        align-items: center;
    }

    .hero-content {
        margin-right: 20%;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 5rem;
    }
    .hero p {
        font-size: 1.5rem;
    }

    .hero .btn-container {
        padding-top: 2%;
    }

    #content1 .section{
        padding: 3% 5%;
    }

    #content1 .section:last-child {
        flex-basis: 100%;
    }
}

@media (min-width: 1024px) {

    #content1 .section {
        flex-basis: calc(50% - 10px);
    }
}

@media (min-width: 1200px) {
    .hero-content {
        margin-right: 20%;
    }

    #content1 .section{
        padding: 3% 2%;
    }
    
    #content1 .content-img-div img {
        border-radius: 60px 60px 40px 40px;
    }
}


.popup-image {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background:  rgba(0, 0, 0, 0.562);
    height: 100%;
    width: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  
  .popup-image span {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    font-weight: bolder;
    color: white;
    cursor: pointer;
    z-index: 1100;
  }
  
  .popup-image img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 60px 60px 40px 40px;
    object-fit: contain;
  }
  
  .content-img-div:hover img {
    transform: scale(1.05);
 }

  @media (max-width: 768px) {
    .popup-image img {
      width: 95%;
    }   
  }
  

.gallery-section {
    width: 100%;
    padding: 3% 5%;
    box-sizing: border-box;
    -webkit-box-shadow: 0px 0px 15px -10px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 15px -10px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 15px -10px rgba(0, 0, 0, 1);
    margin-bottom: 0.5rem;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.gallery-div {
    flex-basis: 100%;
    max-width: 300px;
    height: 200px; /* Ustaw stałą wysokość dla wszystkich kontenerów */
    overflow: hidden; /* Ukryj części obrazu, które wychodzą poza kontener */
    border-radius: 20px 20px 20px 20px;
}

.gallery-div img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Skaluj obraz, zachowując proporcje i wypełniając cały kontener */
    object-position: center; /* Wyśrodkuj obraz w kontenerze */
    transition: transform 0.3s ease; /* Dodaj płynną animację przy hover */
}

.gallery-div:hover  {
    transform: scale(1.05); /* Lekko powiększ obraz przy najechaniu myszką */
}

@media (min-width: 768px) {
    .gallery-div {
        flex-basis: calc(50% - 20px);
    }
}

@media (min-width: 1024px) {
    .gallery-div {
        flex-basis: calc(33.333% - 20px);
    }
}


.gallery-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.gallery-popup-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 1100;
}

.gallery-popup-slider {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.gallery-popup-slider img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: none;
}

.gallery-popup-slider img.active {
    display: block;
}

.gallery-prev-button, .gallery-next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 1100;
}

.gallery-prev-button {
    left: 15px;
}

.gallery-next-button {
    right: 15px;
}

/* Dodaj to do istniejących stylów gallery-div */
.gallery-div {
    cursor: pointer;
}

.btn-container {
    padding-top: 50%;
}

.showMore-btn {
    display: inline-block;
     text-decoration: none;
    color: white;
    border: 1px solid #e7e7e77c;
    border-radius: 20px;
    padding: 7px 15px;
    position: relative;
    cursor: pointer;
    opacity: 0; 
    animation: fadeIn 1s ease-in-out forwards; 
    overflow: hidden;
    background: rgba(255, 255, 255, 0); /* Przezroczyste tło */
    backdrop-filter: blur(5px); /* Rozmycie tła */
    -webkit-backdrop-filter: blur(5px); /* Dla kompatybilności z Safari */
}

.showMore-btn:hover {
    background: #1b5e1e7c;
    transition: 0.7s;
}

@keyframes fadeIn {
    to {
      opacity: 1; /* End visible */
    }
  }
