@import url(slider.css);

.header {
  background-color: #fff;
}

.white {
  color: #fff;
}

.background {
  position: absolute;
  object-fit: cover;
  width: 100vw;
  height: 90vh;
  /* opacity: 0.4; */
  /* filter: blur(2px); */
}

.header__container,
.overview__content {
  display: flex;
}

.header__container {
  height: 88vh;
  flex-direction: column;
  padding: 0 0 50px;
  position: relative;
}

.header__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.main-nav {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 10px 20px;
  flex-wrap: wrap;
}

.main-nav a {
  color: black;
  position: relative;
  display: inline-block;
  padding-left: 20px;
  padding-right: 10px;
  text-decoration: none;
  transition: color 0.5s ease;
}

.main-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, #a30909);
  transition: width 0.5s ease;
  width: 0;
}

.main-nav a:hover {
  color: #a30909;
  transform: scale(1.1);
}

.main-nav a:hover::before {
  width: 100%;
}

.overview,
.weather,
.cuisine {
  background-image: #f8f8f8;
}

.activities {
  background-image: url(../img/background_3.png);
  background-position: center;
  background-size: cover;
}

.overview .container {
  padding-top: 50px;
}

.overview__container,
.weather__container,
.cuisine__container,
.activities__container {
  padding-top: 75px;
  padding-bottom: 50px;
}

.overview__title,
.weather__title,
.cuisine__title,
.activities__title {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  font-size: 40px;
  margin-bottom: 50px;
}

.overview__content {
  gap: 50px;
}

.overview__text,
.weather__description,
.cuisine__description,
.activities__description {
  font-family: "Montserrat Alternates", sans-serif;
  color: #333;
}

.activities__description,
.activities__title {
  color: #fff;
}

.overview__text {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cuisine-cards {
  font-family: "Montserrat Alternates", sans-serif;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.cuisine-card {
  width: 266px;
}

.cuisine-card__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cuisine-card__title {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 700;
  margin: 20px 0 10px;
}

.cuisine-card__price {
  font-weight: 500;
  margin-bottom: 10px;
}

.activities-cards {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 30px 0 50px;
}

.activities-card {
  width: 350px;
  height: 220px;
  position: relative;
  background-color: #fff;
  border-radius: 20px;
}

.activities-card > img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.activities-card__info {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  text-decoration: none;
  color: #fff;
}

.activities-card__info > img {
  filter: invert(1);
}

.activities-card__title {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
}

.image-hover {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 2/1;
  transition: transform 0.3s ease;
}

.image-hover:hover {
  transform: scale(1.1);
}

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

.dot:hover {
  background-color: #717171;
  transform: scale(1.2);
}

.dot.active {
  background-color: #a30909;
  transform: scale(1.2);
}

@media screen and (width < 900px) {
  .overview__content {
    flex-direction: column;
  }

  .overview__text {
    width: 100%;
  }
}
