/* GLOBAL RESET --------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fafafa;
  color: #333;
}
/* MAIN --------------------------------------------------------- */

.heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 380px;
  background-color: white;
}

.heading h1 {
  font-size: 4rem;
  color: #466060;
  font-family: "Rozha One", serif;
}

.heading h2 {
  color: #f8c7cc;
  font-family: Helvetica, serif;
  font-size: 35px;
  padding-bottom: 10px;
}

.heading button {
   font-size: 1rem;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #57886C;
    color: #fafafa;
    margin: 10px 0 20px;
}

.heading button:hover {
  background-color: #f8c7cc;
  translate: 0 -5px;
}
  
  .heading p {
    color: #466060;
    font-weight: 100;
    font-size: 1rem;
    letter-spacing: 1px;
  }

/* Slide --------------------------------------------------------- */
.back {
  background-color: white;
  padding: 0px 30px 30px;
}

.slider {
  position: relative;
  width: auto;
  max-width:100%;
  height: 600px;
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  border-radius: 15px 15px 0 0;
  margin-top: 30px;
}

.slide {
  min-width: 100%;
  height: 100%;
  width:100%;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

.slide.active {
  pointer-events: auto;
}

.bottom-center {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  background: #fff;
  padding: 15px 20px;
  padding-bottom: 0;
  text-align: center;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  overflow: visible;
  border-radius: 20px 20px 0 0;
  transition:all 0.3s ease-in-out;
}

.bottom-center::before, .bottom-center::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 50px;
  height: 40px;
  background: #fff;
  border-radius: 0;
  z-index: -1;
}

.bottom-center::before {
  left: -30px;
  bottom: -10px;
  mask: radial-gradient(30px at top left, #0000 98%, #000);
}

.bottom-center::after {
  right: -30px;
  bottom: -10px;
  mask: radial-gradient(30px at top right, #0000 98%, #000);
}

.bottom-center h3 {
  margin: 5px 0;
  font-size: 18px;
  color: #333;
}

.bottom-center p {
  margin: 5px 0 10px;
  color: #666;
  font-size: 14px;
}

.indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #333;
}

.text_overlay {
  position: absolute; 
   top: 600px; 
   left: 0; 
   width: 100%;
  z-index: 10; 
  color: white;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
  padding: 20px;
}

.text_overlay h1 {
    color: white;
    font-size: 80px;
    font-family: "Rozha One", serif;
    padding-top: 30px;
  }
  
  .text_overlay h2 {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: 25px;
    letter-spacing: 1px;
}


/* FLEX --------------------------------------------------------- */
.cards-section {
    text-align: center;
    color: #57886C;
    padding: 4em 1em;
  }
  
  .cards-heading {
    font-size: 3em;
    margin-bottom: 1em;
    position: relative;
  }
  
  .cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
  }
  
  .card {
    background: #fff;
    color: #57886C;
    width: 250px;
    border-radius: 20px;
    overflow: hidden;
  }
  
  .card img {
    width: 250px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .card-body {
    background-color: #57886C;
    color: white;
    padding: 1em;
    text-align: left;
    text-decoration: none;
    
  }
  
  .card-body h3 {
    color: #f8c7cc;
    margin-bottom: 0.3em;
    transition: 0.5s;
  }

   .card-body a {
    text-decoration: none;
    color: #f8c7cc;
   }

  .card-body p {
    letter-spacing: 1px;
    font-weight: 100;
  }
    .card-body h3:hover{
    text-decoration: underline dotted;
    color: #f8c7cc;
    translate: 0 -2px;
   }

  .rating-container {
    text-align: center;
    background: white;
    padding: 20px 30px;
  }

  .rating-container h2 {
    color: #57886C;
    font-family: Helvetica, serif;
  }
  
  .stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
  }
  
  .star {
    font-size: 40px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .star.hovered,
  .star.selected {
    color: #f8c7cc;
  }
  
  #rating-value {
    margin-top: 10px;
    font-size: 18px;
    color: #13313d;
    font-family:  "Segoe UI", "Helvetica Neue", sans-serif;
    letter-spacing: 1px;
    font-weight: 100;
  }
  
  @media(max-width:768px){
  .slider {
    width:95%;
    height:400px;
  }
  .slider{
    border-radius:10px;
  }
  .text_overlay{
    top: 500px;
  }
  .heading h1 {
    font-size: 4rem;
    text-align: center;
  }

}

