@import url("https://fonts.googleapis.com/css2?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;
}

html {
  scroll-behavior: smooth;
}

body {
  background-size: cover;
  background-position: center;
  overflow-x: hidden;
  background: rgba(241, 248, 255, 255);
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: #a8a8a8;
}

::-webkit-scrollbar-thumb:hover {
  background: #9a9a9a;
}

:root {
  --bg-color: #e2e2e2;
  --primary: #1c1c1c;
  --secondary: #e24806;
  --tertiary: #f4f4f4;
  --fourth: #a7a7a7;
  --linear-background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.54)
  );
  --linear-background-destination: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.8)
  );
}

/*------------------------HEADER----------------------------*/
header {
  font-family: "Poppins", sans-serif;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
  padding: 0 50px;
  transition: 0.6s;
}

header .logo img {
  width: 80px;
  height: 70px;
}

header .navigation {
  position: relative;
  line-height: 75px;
}

header .navigation .menu {
  position: relative;
  display: flex;
  justify-content: center;
  list-style: none;
  user-select: none;
}

.menu-item > a {
  font-family: "Poppins", sans-serif;
  color: #000;
  font-size: 1.05em;
  font-weight: 400;
  text-decoration: none;
  margin: 20px;
  padding: 25px 0;
}

.menu-item > a:hover {
  color: #469dff;
  transition: 0.2s;
}

.menu-item .sub-menu {
  position: absolute;
  background: #fff;
  top: 74px;
  line-height: 40px;
  list-style: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
  pointer-events: none;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.1 s;
  transition-property: transform, opacity;
}

.menu-item:hover .sub-menu {
  pointer-events: all;
  transform: translateY(0);
  opacity: 1;
}

.menu-item .sub-menu .sub-item {
  position: relative;
  padding: 7px 0;
  cursor: pointer;
  box-shadow: inset 0px -30px 5px -30px rgba(255, 255, 255, 0.2);
}

.menu-item .sub-menu .sub-item a {
  color: #000;
  font-size: 1.05em;
  text-decoration: none;
  padding: 15px 30px;
}

.menu-item .sub-menu .sub-item:hover {
  background: #469dff;
}

.menu-item .sub-menu .sub-item:last-child:hover {
  border-radius: 0 0 8px 8px;
}

/*Boton green*/
.menu-item > .green:hover {
  color: #36cf61;
  transition: 0.2s;
}

.menu-item .sub-menu .sub-item1 {
  position: relative;
  padding: 7px 0;
  cursor: pointer;
  box-shadow: inset 0px -30px 5px -30px rgba(255, 255, 255, 0.2);
}

.menu-item .sub-menu .sub-item1 a {
  color: #000;
  font-size: 1.05em;
  text-decoration: none;
  padding: 15px 30px;
}

.menu-item .sub-menu .sub-item1:hover {
  background: #36cf61;
}

.menu-item .sub-menu .sub-item1:last-child:hover {
  border-radius: 0 0 8px 8px;
}

/*--------*/

.menu-btn {
  display: none;
}

.bg_image_section {
  width: 100%;
  height: 40vh;
  background:
    var(--linear-background),
    url("./des.webp") no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero_section {
  width: 100%;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  row-gap: 2rem;
  flex-direction: column;
}

.text_section {
  font-size: 4rem;
  font-weight: bold;
  color: var(--tertiary);
  line-height: 7rem;
  margin-bottom: 1rem;
}

.btn_group {
  display: flex;
  align-items: center;
  column-gap: 1.7rem;
}

/* texto */
.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding-top: 35px;
  padding-right: 45px;
  margin-left: 30px;
}

.about-img img {
  max-width: 100%;
  height: auto;
  width: 90%;
  border-radius: 1.6rem;
  margin-left: 50px;
}

.about-text {
  margin-top: 25px;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 20px;
}

.about-text p {
  line-height: 2;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .about-img {
    text-align: center;
    margin: 0;
  }

  .about-img img {
    width: 100%;
    max-height: 500px;
    display: block;
    margin: 0 auto;
  }

  .about-text {
    margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .about {
    grid-template-columns: repeat(1, 1fr);
  }

  .about-img img {
    width: 90%;
    max-height: 600px;
    display: block;
    margin: 0 auto;
  }
}

/* css slider */
.slider {
  height: 100vh;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}
.slider .list .item {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}
.slider .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider .list .item::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(to top, #000 10%, transparent);
}
.slider .list .item .content {
  position: absolute;
  left: 10%;
  top: 15%;
  width: 600px;
  max-width: 80%;
  z-index: 1;
  color: #eee;
}
.slider .list .item .content p:nth-child(1) {
  text-transform: uppercase;
  letter-spacing: 10px;
}
.slider .list .item .content h2 {
  font-size: 70px;
  margin: 0;
}
.slider .list .item.active {
  opacity: 1;
  z-index: 10;
}
@keyframes showContent {
  to {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
  transform: translateY(30px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 0.7s ease-in-out 1 forwards;
}
.slider .list .item.active h2 {
  animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3) {
  animation-duration: 1.3s;
}

.thumbnail {
  position: absolute;
  bottom: 50px;
  z-index: 11;
  display: flex;
  gap: 10px;
  width: 100%;
  height: 250px;
  padding: 0 50px;
  box-sizing: border-box;
  overflow: auto;
  justify-content: center;
}
.thumbnail::-webkit-scrollbar {
  width: 0;
}
.thumbnail .item {
  width: 150px;
  height: 220px;
  filter: brightness(0.5);
  transition: 0.5s;
  flex-shrink: 0;
}
.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.thumbnail .item.active {
  filter: brightness(0.9);
}
.thumbnail .item .content {
  position: absolute;
  inset: auto 10px 10px 10px;
  color: #eee;
}
@media screen and (max-width: 678px) {
  .thumbnail {
    justify-content: start;
  }
  .slider .list .item .content h2 {
    font-size: 40px;
  }
  .arrows {
    top: 10%;
  }
}

/*---------------Banner---------------*/
.banner {
  margin-top: 50px;
  background:
    linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)),
    url("../../../img/banner.webp") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 3rem 2rem;
  text-align: center;
}

.conten span {
  font-size: 2rem;
  color: blue;
}

.conten h3 {
  font-size: 3.5rem;
  color: #29ceb0;
  margin-top: 1rem;
  transition: 0.4s;
}

.conten h3:hover {
  cursor: default;
  letter-spacing: 4px;
  transition: 0.3s;
}

.conten p {
  max-width: 60rem;
  margin: 1.2rem auto;
  font-size: 1.2rem;
  color: #fff;
  line-height: 2;
}

.conten a {
  font-size: 1rem;
  padding: 7px 22px;
  color: #000;
  text-decoration: none;
  background: #3eccb2;
  border-radius: 15px;
  border: 2px solid #fff;
  transition: 0.3s;
}

.conten a:hover {
  background: transparent;
  color: #fff;
  border: 2px solid #000;
  transition: 0.3s;
}

/*------------------------------FOOTER-------------------------------*/
footer {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 60px;
  background: #fff;
}

.footer {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 12px;
}

.footer-widget a img {
  width: 110px;
  height: 100px;
}

.wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}

.wrapper .footer-widget {
  width: calc(20% - 30px);
  margin: 0 15px 50px;
  padding: 0 12px;
}

.wrapper .footer-widget:nth-child(1) {
  width: calc(40% - 50px);
  margin-right: 15px;
}

.wrapper .footer-widget .logo {
  margin-bottom: 0;
  vertical-align: middle;
}

.wrapper .footer-widget p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 24px;
}

.wrapper .footer-widget .socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.wrapper .footer-widget .socials li {
  list-style: none;
}

.wrapper .footer-widget .socials li a {
  color: #000;
  width: 44px;
  height: 44px;
  margin-right: 10px;
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-out;
}

.wrapper .footer-widget h6 {
  color: #585978;
  margin: 10px 0 35px;
  font-size: 20px;
  font-weight: 600;
}

.wrapper .footer-widget .links li {
  list-style: none;
}

.wrapper .footer-widget .links li a {
  color: #585978;
  font-size: 16px;
  text-decoration: none;
  line-height: 32px;
  transition: all 0.3s ease-out;
}

.wrapper .footer-widget .links li a:hover {
  color: #037ef3;
}

.copyright-wrapper {
  padding: 20px 0;
  border-top: 1px solid rgba(88, 89, 120, 0.4);
}

.copyright-wrapper p {
  color: rgba(88, 89, 120, 0.4);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.copyright-wrapper p a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.copyright-wrapper p a:hover {
  color: #037ef3;
}

@media (max-width: 992px) {
  .footer {
    max-width: 960px;
  }

  .wrapper .footer-widget,
  .wrapper .footer-widget:nth-child(1) {
    width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .footer {
    max-width: 720px;
  }

  .wrapper .footer-widget,
  .wrapper .footer-widget:nth-child(1) {
    width: 100%;
    margin: 0 10px 50px;
  }
}

@media (max-width: 1024px) and (min-width: 975px) {
  .image_section {
    width: 56%;
  }
  .content_section {
    width: 53%;
    padding: 30px 30px 30px 50px;
  }
  .about_title {
    font-size: 1.7rem;
  }
  .category_box {
    width: 357px;
  }
  .destination_box {
    width: 359px;
  }
  .blog_box {
    width: 358px;
  }
  .map_section {
    width: 56%;
  }
  .form_section {
    width: 53%;
    padding: 30px 30px 30px 50px;
  }
  .card:hover .card-content {
    height: 60%;
    transition: height 0.7s;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    margin: 0 auto;
  }
  .card:last-child {
    grid-column: span 2;
    justify-self: center;
  }
  .thumbnail {
    justify-content: start;
  }
  .slider .list .item .content h2 {
    font-size: 60px;
  }
  .arrows {
    top: 10%;
  }
}

@media (max-width: 975px) and (min-width: 768px) {
  header .navigation .menu {
    font-size: 0.9em;
    position: fixed;
    display: block;
    background: #fff;
    min-width: 350px;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 50px;
    visibility: hidden;
    overflow-y: auto;
    transition: 0.5s;
    transition-property: right, visibility;
  }

  header .navigation .menu.active {
    right: 0;
    visibility: visible;
  }

  .menu-item {
    position: relative;
  }

  .menu-item .sub-menu {
    opacity: 1;
    position: relative;
    top: 0;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    display: none;
  }

  .menu-item:hover .sub-menu {
    transform: translateX(10px);
  }

  .menu-item .sub-menu .sub-item {
    box-shadow: none;
  }

  .menu-item .sub-menu .sub-item:hover {
    background: none;
  }

  .menu-item .sub-menu .sub-item a:hover {
    color: #4080ef;
    transition: 0.3s;
  }

  /*Green*/
  .menu-item .sub-menu .sub-item1 {
    box-shadow: none;
  }

  .menu-item .sub-menu .sub-item1:hover {
    background: none;
  }

  .menu-item .sub-menu .sub-item1 a:hover {
    color: #36cf61;
    transition: 0.3s;
  }
  /*--------*/

  .close-btn {
    position: absolute;
    background: url(./close.png) no-repeat;
    width: 40px;
    height: 40px;
    background-size: 25px;
    background-position: center;
    top: 0;
    left: 0;
    margin: 25px;
    cursor: pointer;
  }

  .menu-btn {
    background: url(./menu.png) no-repeat;
    width: 40px;
    height: 40px;
    background-size: 30px;
    background-position: center;
    cursor: pointer;
    display: block;
  }

  header {
    padding: 15px 20px;
  }

  .text_section {
    font-size: 4rem;
    line-height: 5.5rem;
  }
  .text_section span {
    font-size: 5.2rem;
  }
  .image_section {
    width: 70%;
  }
  .about_img {
    height: 60vh;
  }
  .content_section {
    width: 60%;
    padding: 30px 30px 30px 50px;
  }
  .about_title {
    font-size: 1.4rem;
  }
  .about_desc {
    font-size: 0.89rem;
    line-height: 1.1rem;
    margin-bottom: 1rem;
  }
  .about_btn {
    margin-bottom: 0.2rem;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    margin: 0 auto;
  }
  .card:last-child {
    grid-column: span 2;
    justify-self: center;
  }
  .conteiner2 {
    max-width: 960px;
  }
  .thumbnail {
    justify-content: start;
  }
  .slider .list .item .content h2 {
    font-size: 60px;
  }
  .arrows {
    top: 10%;
  }
}

@media (max-width: 768px) {
  header .navigation .menu {
    font-size: 0.9em;
    position: fixed;
    display: block;
    background: #fff;
    min-width: 350px;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 50px;
    visibility: hidden;
    overflow-y: auto;
    transition: 0.5s;
    transition-property: right, visibility;
  }

  header .navigation .menu.active {
    right: 0;
    visibility: visible;
  }

  .menu-item {
    position: relative;
  }

  .menu-item .sub-menu {
    opacity: 1;
    position: relative;
    top: 0;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    display: none;
  }

  .menu-item:hover .sub-menu {
    transform: translateX(10px);
  }

  .menu-item .sub-menu .sub-item {
    box-shadow: none;
  }

  .menu-item .sub-menu .sub-item:hover {
    background: none;
  }

  .menu-item .sub-menu .sub-item a:hover {
    color: #4080ef;
    transition: 0.3s;
  }

  /*Green*/
  .menu-item .sub-menu .sub-item1 {
    box-shadow: none;
  }

  .menu-item .sub-menu .sub-item1:hover {
    background: none;
  }

  .menu-item .sub-menu .sub-item1 a:hover {
    color: #36cf61;
    transition: 0.3s;
  }
  /*--------*/

  .close-btn {
    position: absolute;
    background: url(./close.png) no-repeat;
    width: 40px;
    height: 40px;
    background-size: 25px;
    background-position: center;
    top: 0;
    left: 0;
    margin: 25px;
    cursor: pointer;
  }

  .menu-btn {
    background: url(./menu.png) no-repeat;
    width: 40px;
    height: 40px;
    background-size: 30px;
    background-position: center;
    cursor: pointer;
    display: block;
  }

  header {
    padding: 15px 20px;
  }

  .text_section {
    font-size: 3rem;
    line-height: 4.5rem;
  }
  .text_section span {
    font-size: 4.2rem;
  }
  .about_section {
    padding: 100px 30px;
  }
  .image_section {
    width: 70%;
  }
  .content_section {
    width: 80%;
    padding: 30px 30px 30px 50px;
    right: 30px;
  }
  .about_desc {
    font-size: 0.89rem;
    line-height: 1.1rem;
    margin-bottom: 1rem;
  }
  .about_btn {
    margin-bottom: 0.2rem;
  }
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .thumbnail {
    justify-content: start;
  }
  .slider .list .item .content h2 {
    font-size: 60px;
  }
  .arrows {
    top: 10%;
  }
}

@media (max-width: 545px) {
  .conteiner1 .mycard .cimg img {
    max-width: 110%;
    transition: 0.3s;
  }
  .conteiner1 .mycard .cdetail .a {
    left: -15%;
    top: 90%;
  }

  .conteiner1 .mycard .cdetail .b {
    left: -42%;
    top: 90%;
  }

  .conteiner1 .mycard .cdetail .c {
    left: -6%;
    top: 90%;
  }
}

/*--------------------WhastApp-------------------*/
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
}

.whatsapp-logo img {
  width: 80px;
  height: auto;
  cursor: pointer;
}

.tooltip {
  background-color: #333;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  position: absolute;
  bottom: 90px;
  right: 0;
  transform: translateY(20px);
  opacity: 0;
  transition:
    opacity 0.5s ease-in-out,
    transform 0.5s ease-in-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-container:hover .whatsapp-logo:hover + .tooltip {
  display: block;
  animation: fadeUp 0.5s ease-in-out forwards;
}
