.galerie-section {
  text-align: center;
  padding: 40px 0;
  /*background-color: #e4d1cb;*/
}

.galerie-section h2 {
  font-size: 3rem;
  font-weight: 550;
  margin-bottom: 20px;
}

.swiper-container {
  width: 95%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* Custom styles for Swiper controls */
.swiper-button-next::after,
.swiper-button-prev::after {
  color: #cfaaa4;
}

.swiper-pagination-bullet {
  background: white !important;
  border-radius: 50%;
}

.swiper-pagination-bullet-active {
  background: rgba(48, 48, 48, 0.62) !important;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}

/* Swiper Slide Images */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fits the slide without distortion */
  object-position: center; /* Center the image in the slide */
  max-height: 50rem; /* Prevents vertical overflow *!*/
  min-height: 50rem;
  /*max-width: 40rem;*/ /* Keeps the images from overflowing horizontally *!*/
  /*min-width: 40rem;*/
}


.contact-button {
  margin-top: 25px;
  padding: 10px 60px;
  background-color: #303030;
  color: #ece8e8; /*white*/
  border: none;
  cursor: pointer;
  font-size: 20px;
}

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

.modal .swiper-container {
  width: 80%;
  height: 80%;
}


/* Fullscreen Modal Image */
.modal img {
  max-width: 100%;
  max-height: 100%;
  width: auto; /* Adjusts for landscape images */
  height: auto; /* Adjusts for portrait images */
  object-fit: contain; /* Maintain aspect ratio while fitting in the modal */
}


.modal .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Media Queries for responsiveness */
@media (max-width: 1377px) {
  .swiper-slide img {
    max-height: 40rem;
    min-height: 40rem;
  }
}

@media (max-width: 1024px) {
  .swiper-slide img {
    max-height: 30rem;
    min-height: 30rem;
  }
}

@media (max-width: 768px) {
  .swiper-slide img {
    max-height: 30rem;
    min-height: 30rem;
  }
}

@media (max-width: 425px) {
  .swiper-slide img {
    max-height: 30rem;
    min-height: 30rem;
  }
}


/*2200*/
/*1440*/
/*1366*/
/*768*/
/*393*/


