/* ===== Layout Wrapper ===== */
.layout-images {
  align-items: center;
  padding: 40px 40px;
}
/* ===== Section 1: Rosinda (image left, text right) ===== */
.rosinda-section {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 50px;
  align-items: center;
}

.rosinda-section .img-wrapper {
  flex-shrink: 0;
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.rosinda-section .img-wrapper img {
  width: 100%;
   object-fit: cover;
  display: block;
  transition: transform 2.1s ease;
}

.rosinda-section .text-box {
  flex: 1;
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-box p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ===== Section 2: Team =====
.team-section {
  margin-bottom: 50px;
  text-align: center;
}

.team-section .img-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-section .img-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 2.1s ease;
}

.team-section .team-text {
  margin-top: 15px;
  color: #816b67;
  font-size: 1.1em;
  font-style: italic;
}

/* ===== Section 3: Slideshow ===== */
.slideshow-section {
  margin-bottom: 50px;
}

.slideshow-container {
  max-width: 600px;
  position: relative;
  margin: 0 auto;
}

.slideshow-container button {
  background: rgba(129, 107, 103, 1);
  color: #ffffff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.slide {
  display: none;
}

.slide:first-child {
  display: block;
}

.slide img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border: none;
  transition: 0.6s ease;
  user-select: none;
  z-index: 1;
}

.next {
  right: 0;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 28px;
  width: 100%;
  text-align: center;
}

/* Dots */
.dott {
  margin-top: 15px;
}

span.dot {
  cursor: pointer;
  height: 14px;
  width: 14px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

span.dot.active, span.dot:hover {
  background-color: #816b67;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}


/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .layout-wrapper {
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  .rosinda-section {
    flex-direction: column;
    align-items: center;
  }

  .rosinda-section .img-wrapper {
    width: 100%;
    max-width: 300px;
    max-height: 350px;
  }

  .team-section .img-wrapper {
    width: 100%;
    max-width: 400px;
  }


    .team-section .img-wrapper img {
      width: 100%;
      height: auto;
    }
  }
