
.carousel {
  font-family: 'Futura', 'Inter', 'Avenir', 'Helvetica Neue', Arial, sans-serif;
  width: 100vw;
  height: 70vh;
  position: relative;
}

.carousel > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul > input {
  display: none;
}

.slide {
  position: absolute; /*absolute*/
  inset: 0;
  opacity: 0;
  transition: 200ms opacity ease-in-out;
  transition-delay: 200ms;
}


.slide > img { /*.slide > img*/
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.slide[data-active] {
  opacity: 1;
  z-index: 1;
  transition-delay: 0ms;
}

.img-content{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;

  /* Dark gradient mask over image for stronger readability */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.22) 40%,
    rgba(0, 0, 0, 0.40) 100%
  );
  color: #ffffff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;
  opacity: 1;
  transition: opacity 0.3s;
  /* Remove side padding so inner panels can reach slide edges */
  padding: 0;
  backdrop-filter: blur(1.2px);
}

.slide-title{
  font-family: 'Source Serif Pro', 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
  line-height: 1;
  padding: 0;
  margin-top: auto;
  margin-bottom: 0;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.65),
    0 6px 24px rgba(0,0,0,0.45);
  -webkit-text-stroke: 0.4px rgba(0,0,0,0.35);
}

.slide-content{
  font-family: 'Futura', 'Inter', 'Avenir', 'Helvetica Neue', Arial, sans-serif;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.7rem;
  width: 100%;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  border-radius: 0;
  margin-top: 0.75rem;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

.slide-btn{
  padding: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: none;
  border-radius: 20px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: bold;
  color: #ced5d5;
  background-color: #008080;

}
.slide-btn:hover,
.slide-btn:active{
  background-color: #00a3a3;
  color: #ffffff;
}

/* Responsive text sizing */
@media (max-width: 768px) {
  .slide-title { font-size: 1.6rem; }
  .slide-content { font-size: 1rem; width: 94%; }
}

.carousel-button {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  font-size: 4rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  border-radius: .25rem;
  padding: 0 .5rem;
  /* background-color: rgba(0, 0, 0, .1); */
}

.carousel-button:hover{
  color: white;
  /* background-color: rgba(0, 0, 0, .2); */
}

.carousel-button:focus {
  outline: 1px solid black;
}

.carousel-button.prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-button.next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.navigation-mannual {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.mannual-btn {
  width: 2px;
  height: 2px;
  border: 0.5px solid #ffffff88;
  padding: 5px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.mannual-btn:hover {
  background-color: #ffffff88;
}

input[name="radio-btn"]{
  display: none;
}

/* Use a class so any number of dots can be highlighted by JS */
.navigation-mannual .mannual-btn.active {
  background-color: #008080;
}