@import url("https://fonts.googleapis.com/css2?family=Italiana&family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #fff;
}

header {
  padding: 20px 8%;
}

section {
  padding: 70px 8%;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-div {
  width: 30%;
  border-radius: 20%;
}

.logo img {
  width: 95px;
  height: 50px;
  border-radius: 20%;
}

ul {
  display: flex;
  justify-content: center;
  width: 40%;
  list-style: none;
}

ul li {
  padding: 10px 25px;
}

ul li a {
  text-decoration: none;
  color: #999;
  transition: 0.5s;
  font-size: 14px;
}

ul li a:hover {
  background-color: #f6d238;
  padding: 15px;
  color: #000;
  font-weight: bold;
  border-radius: 20px;
}

.btn-header {
  width: 30%;
  display: flex;
  justify-content: end;
}

.btn {
  color: #000;
  background-color: #f6d238;
  border: 2px solid #f6d238;
  padding: 15px 30px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  transition: 0.5s;
}

.btn:hover {
  background-color: #f1f1f1;
  transform: rotate(5deg);
}

.btn i {
  margin-right: 5px;
}

.home-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.home-section .left {
  position: relative;
  height: 450px;
  width: 500px;
}

.home-section .left img {
  position: absolute;
  object-fit: cover;
  border: 8px solid #fff;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
}

.home-section .left-image-1 {
  width: 350px;
  height: 400px;
  transition: 0.5s;
}

.home-section .left-image-1:hover {
  transform: scale(1.1) rotate(10deg);
}

.home-section .left-image-2 {
  width: 250px;
  height: 250px;
  top: 150px;
  left: 250px;
  transition: 0.5s;
}
.home-section .left-image-2:hover {
  transform: scale(1.1) rotate(-10deg);
}

.right {
  margin-left: 100px;
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.right .text-right {
  color: #f6d238;
  font-weight: bold;
}

.right h1 {
  margin: 20px 0;
  font-size: 35px;
  font-weight: bold;
  line-height: 50px;
}

.right p {
  margin-bottom: 25px;
  color: #999;
  width: 70%;
  font-size: 14px;
}

.see-video {
  border: 0;
  display: flex;
  background-color: transparent;
  align-items: center;
  cursor: pointer;
}

.buttons {
  display: flex;
  align-items: center;
}

.see-video span {
  margin-left: 25px;
  font-weight: bold;
}

.video-bg {
  margin-left: 20px;
  background: url(image/img3.jpg);
  height: 50px;
  width: 50px;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  position: relative;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
}

.play-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 30px;
  width: 30px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  right: -20px;
  transform: translate(-20%, 50%);
}

.play-btn i {
  color: #cf0711;
}

.destinations .title {
  font-size: 30px;
}

.desc-button {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}

.desc-button .buttons button {
  background-color: #f6d238;
  border: 0;
  cursor: pointer;
  border: 2px solid #f6d238;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
}

.desc-button .buttons button:hover {
  background-color: #f1f1f1;
  transform: rotate(10deg);
}

.second {
  margin-left: 10px;
}

.desc-button .buttons button i {
  font-size: 25px;
}

.destinations .small-desc {
  color: #999;
  width: 60%;
  font-size: 14px;
}

.destinations .gallerie .image {
  width: 24%;
  height: 350px;
  border-radius: 1rem;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-color: #fff;
  padding: 20px;
}

.destinations .gallerie .image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  transition: 0.5s;
}

.destinations .gallerie {
  display: flex;
  justify-content: space-between;
}

.destinations .gallerie .description {
  transform: translateY(350px);
  background: #fff;
  padding: 20px;
  text-align: center;
  transition: 0.5s;
}

.destinations .gallerie .description h1 {
  font-size: 20px;
  margin-bottom: 10px;
}

.destinations .gallerie .description p {
  font-size: 14px;
  color: #999;
}

.destinations .gallerie .image:hover .description {
  transform: translateY(-120px);
}

.destinations .gallerie .image:hover img {
  transform: translateY(-120px);
}

.best-trip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.box-list {
  width: 80%;
  display: flex;
  justify-content: space-between;
}

.box-list .box {
  width: 32.33%;
  height: 400px;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
}

.box-list .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.box-list .box:hover img {
  transform: scale(2) rotate(10deg);
}

.box-list .box .description {
  position: absolute;
  bottom: 0;
  background-color: #fff;
  padding: 20px;
  width: 100%;
  transition: 0.5s;
}

.box-list .box .description h2 {
  font-size: 16px;
  font-weight: 500;
}

.rating {
  color: #f6d238;
  margin-top: 5px;
}

.box-list .box .description .button-description {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.box-list .box .description .button-description span {
  font-size: 15px;
}

.box-list .box .description .button-description button {
  padding: 10px 20px;
  background-color: transparent;
  border: 1px solid #f6d238;
  color: #f6d238;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.5s;
}

.box-list .box .description .button-description button:hover {
  background-color: #f6d238;
  color: black;
  font-weight: bold;
}

.best-trip .title {
  text-align: center;
  font-size: 30px;
}

.best-trip .small-desc {
  text-align: center;
  margin: 30px auto;
  color: #999;
  font-size: 14px;
}

.view-all {
  margin: 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-trip h1 {
  margin-bottom: 20px;
}

.email-trip p {
  font-size: 14px;
  color: #999;
}

.together {
  display: flex;
  justify-content: space-between;
}

.email-trip .together .text {
  width: 500px;
}

.input {
  border: #fff;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
}

.input input {
  border: 0;
  padding: 12px;
  padding-left: 20px;
  width: 400px;
  outline: none;
}

footer {
  background-color: #f1f1f1;
  border-radius: 60px 60px 0 0;
  padding: 20px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

footer .right-footer {
  color: #999;
  font-size: 14px;
}

footer .right-footer span {
  color: #f6d238;
}

/* MEDIA QUERIES */

/* Tablettes */
@media screen and (max-width: 992px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  ul {
    margin: 15px 0;
    flex-wrap: wrap;
  }

  .btn-header {
    margin-top: 10px;
  }

  .right {
    margin-left: 0;
    text-align: center;
  }

  .right p {
    width: 100%;
  }

  .home-section {
    flex-wrap: wrap;
    text-align: center;
  }

  .buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .destinations .gallerie {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .box-list {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .together {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* Mobiles */
@media screen and (max-width: 768px) {
  section {
    padding: 40px 5%;
  }

  .home-section .left {
    position: static;
    width: 100%;
    height: auto;
  }

  .home-section .left img {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .home-section .left-image-2 {
    display: none;
  }

  .right h1 {
    font-size: 24px;
    line-height: 34px;
  }

  .destinations .small-desc {
    width: 100%;
    text-align: center;
  }
}

/* Très petits écrans */
@media screen and (max-width: 576px) {
  ul {
    flex-direction: column;
    align-items: center;
  }

  .buttons {
    flex-direction: column;
    gap: 15px;
  }

  .box-list {
    flex-direction: column;
    align-items: center;
  }

  .input {
    flex-direction: column;
    width: 100%;
  }

  .input input {
    width: 100%;
  }
}

/* 📱 Tablette : réorganisation en 2 colonnes */
@media screen and (max-width: 992px) {
  /* Section destinations */
  .destinations .gallerie {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .destinations .gallerie .image {
    width: 100%;
    height: auto;
  }

  /* Section best-trip */
  .box-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
  }
  .box-list .box {
    width: 100%;
    height: auto;
  }
  .desc-button .buttons {
    display: none;
  }
}

/* 📱 Mobile : 1 colonne pour tout */
@media screen and (max-width: 576px) {
  /* Destinations */
  .destinations .gallerie {
    grid-template-columns: 1fr;
  }

  /* Best-trip */
  .box-list {
    grid-template-columns: 1fr;
  }

  .desc-button .buttons {
    display: none;
  }
}

/* 📱 Mobile : cacher les chevrons dans la section destination */
@media screen and (max-width: 576px) {
  .desc-button .buttons {
    display: none;
  }
}
