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

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

section {
  padding: 5rem 9%;
  
}
.btn {
  margin-top: 1rem;
  display: inline-block;
  border: 0.2rem solid green;
  color: green;
  cursor: pointer;
  background: none;
  font-size: 1.7rem;
  padding: 1rem 3rem;
  border-radius: 40px;
}
.btn:hover {
  background: black;
  color: white;
   border: 0.2rem solid white;
}
.heading {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 4rem;
  color: #10221b;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem 9%;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.header.active {
    color: black;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.header .logo {
  margin-right: auto;
  font-size: 2.5rem;
  color: black;
  font-weight: bolder;
}
.wrapper1 {
  margin-left: auto;
  margin-right: auto;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 550px;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.wrapper1 .title1 h1 {
  color: green;
  text-align: center;
  margin-bottom: 25px;
  font-size: 3.5rem;
}
i {
  color: green;
}

/* Navbar Styles */

/*-------------- NavBar updated------------- */
.header .navbar a {
  color: #000000;
  font-size: 16px;
  text-transform: capitalize;
  margin: 0 10px;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.header .navbar a:hover {
  background-color: #23c55e;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.header .navbar #nav-close {
  font-size: 5rem;
  cursor: pointer;
  color: black;
  display: none;
}
.header .icons a,
.header .icons div {
  font-size: 2.5rem;
  margin-left: 2rem;
  cursor: pointer;
  color: black;
}

.header.icons a:hover,
.header.icons div:hover {
  color: green;
}
.header #menu-btn {
  display: none;
}
/* Search Form Styles */

/* Carousel Styles */
.home .wrapper {
    position: relative;
    min-height: 100vh;
}

.home .box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 9%;
}

.home .box.active {
    opacity: 1;
    position: relative; /* Para mantener el flujo del documento */
}

.home .content {
    width: 50rem;
    animation: fadeInUp 1s ease-out;
}

.home .content a{
  background-color: white;
}

.home .content a:hover{
  border: 0.2rem solid white;
  color: #fff;
  background-color: #23c55e;
}



/* -------Card Destinations------- */

.destinations .cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  margin: auto;
  width: 100%;
  max-width: 1200px;
  grid-gap: 24px;
}

@media (min-width: 540px) {
  .destinations .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .destinations .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.destinations .card {
  position: relative;
  padding-bottom: 150%;
}

.destinations .card-background {
  background-size: cover;
  background-position: center;
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  border-radius: 24px;
  filter: brightness(.75) saturate(1.2) contrast(.85);
  transition: .3s;
}

.destinations .card-content {
  position: absolute;
  padding: 24px;
  font-family: arial, sans-serif;
  color: white;
}

.destinations .card-content p {
  color: rgba(255, 255, 255, .6);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 14px;
}

.destinations .card-content h3 {
  font-size: 22px;
  color: rgba(255, 255, 255, .9);
  text-shadow: 2px 2px 20px rgba(0, 0, 0, .2);
}

.destinations .card:hover .card-background {
  transform: scale(1.05);
}

.destinations .cards:hover > .card:not(:hover) > .card-background {
  filter: brightness(.5) saturate(0) contrast(1.2) blur(2px);
}

/* -------Card Adventure------- */
.adventure .box-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    grid-template-areas: 
        "big-top right"
        "small-bottom right";
    height: 50rem; /* Ajusta según necesites */
}

/* Definición de áreas */
.adventure .box-container .box:nth-child(1) {
    height: 25rem;
}

.adventure .box-container .box:nth-child(2) {
    height: 25rem;
}

.adventure .box-container .box:nth-child(3) {
    grid-area: right;
    height: 51rem; /* 25rem + 25rem + gap */
}

/* Contenido dividido en la segunda fila de la primera columna */
.adventure .box-container .box-small-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 25rem;
}

/* Estilos base (manteniendo los tuyos) */
.adventure .box-container .box {
    background-size: cover;
    background-position: center;
    border: 0.2rem solid #e5f6eb;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.adventure .box-container .box:hover {
    transform: scale(1.02);
}

.adventure .box-container .box .content {
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.adventure .box-container .box .content .button {
    display: flex;
    justify-content: flex-end;
    font-size: 2rem;
    color: #fff;
}

.adventure .box-container .box .content .button a {
    border: 0.2rem solid green;
    background-color: white;
    height: 40px;
    width: 40px;
    padding: 10px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}


.adventure .box-container .box .content .button a:hover {
    border: 0.2rem solid white;
    background-color: #23c55e;
}

.adventure .box-container .box .content .button a:hover i{
    color: #fff;
}

.adventure .box-container .box .content h3 {
    font-size: 2rem;
    color: #fff;
}

.adventure .box-container .box .content p {
    font-size: 1.5rem;
    color: #fff;
    line-height: 2; 
    line-height : 1.5;
}


/* -------Card Service------- */
.card {
  position: relative;
  display: flex;
  max-width: 500px;
  padding: 42px 32px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 30px;
  border: 2px solid #d1f7de;
  background: #fff;
  transition: 1s all;
  text-decoration: none;
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  margin: 10px 0 15px 0;
}
.title {
  color: #072713;
  text-align: center;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 35.196px;
  transition: 0.4s all;
}
.subtitle {
  color: black;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  transition: 0.4s all;
}
.icon-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e5f6eb;
}

.icon-circle i{
  color: #23c55e;
  font-size: 3rem;
  transition: 0.4s all;
}
.card:hover {
  background: #23c55e;
  transition: 0.4s all;
  transform: scale(1.05);
}
.card:hover .title,
.card:hover .subtitle {
  color: #fff;
  transition: 0.4s all;
}

.services .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(32rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 1.5rem;
}

/* -------CSS updated------- */

.search-form {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}

.search-form.active {
  visibility: visible;
  opacity: 1;
}

.search-form form {
  width: 80%;
  max-width: 500px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
}
.search-form input[type="search"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  margin-right: 10px;
  color: #0056b3;
}

.search-form label {
  color: #007BFF;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.search-form label:hover {
  color: #0056b3;
}

.search-form #close-search {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.search-form #close-search:hover {
  color: #ff6347;
}

/* -------Contact Section------- */

.contact {
  background: url(../images/back.jpeg) no-repeat;
  background-size: cover;
  background-position: center;
}

.contact .box{
  display: flex;
  justify-content: flex-end;
}

.contact .form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #ffffff;
  padding: 30px;
  width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact.form button {
  align-self: flex-end;
}

.contact .flex-column > label {
  color: black;
  font-size: 1.5rem;
  font-weight: 500;
}

.contact .inputForm {
  border: 1.5px solid #ecedec;
  background-color: #e5f6eb;
  border-radius: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 10px 0 10px;
  transition: 0.2s ease-in-out;
}

.contact .input {
  background-color: #e5f6eb;
  border-radius: 10px;
  border: none;
  width: 100%;
  height: 100%;
  cursor: pointer;
}


.contact .input:focus {
  outline: none;
}

.contact .inputForm:focus-within {
  border: 1.5px solid #23c55e;
}

.contact .flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.contact .flex-row > div > label {
  font-size: 14px;
  color: black;
  font-weight: 400;
}

.contact .button-submit {
  margin: 20px 0 10px 0;
  background-color: #23c55e;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  cursor: pointer;
}

.contact .button-submit:hover {
  background-color: #252727;
}


.contact .input option {
  background-color: #f0f8f3;
  border-radius: 30px;
  width: 350px;
}

.contact .input option {
  background-color: #f0f8f3;
  border-radius: 30px #23c55e;
  border: 0.2rem solid ;
  width: 350px;
}

/* -------Home Section------- */
.home {
  padding: 0;
}
.home .box {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: center !important;
  justify-content: flex-end;
  padding: 2rem 9%;
}

.home .content {
  width: 50rem;
}
.home .content span {
  font-size: 4rem;
  color: black;
}
.home .content h3 {
  font-size: 6rem;
  color: green;
  padding-top: 0.5rem;
  text-transform: uppercase;
}
.home .content p {
  line-height: 2;
  color: white;
  font-size: 1.5rem;
  padding: 1rem 0;
}
.category .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(29rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(29rem, 1fr));
  gap: 1.5rem;
}

.category .box-container .box {
  text-align: center;
  padding: 1rem;
}
.category .box-container .box img {
  height: 20rem;
  width: 20rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 1px 2px 6px 3px grey;
}
.category .box-container .box h3 {
  font-size: 2rem;
  background: linear-gradient(to right, #2545fc,
  #0de3eb, #100a2e, #eedd44);
  -webkit-text-fill-color: transparent;
}

.category .box-container .box p {
  font-size: 1.5rem;
  color: #10221b;
  padding: 1rem 0;
  line-height: 2;
}


/* -------Package Sections------- */
.packages {
  background: #ffffff;
}

.packages .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(32rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 1.5rem;
}

.packages .box-container .box {
  text-align: center;
  background: #fff;
  border: 0.2rem solid #e5f6eb;
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 30px;
}

.packages .box-container .box:hover {
  background: #23c55e;
  transform: scale(1.05);
}

.packages .box-container .box:hover .content > * {
  color: #fff;
}

.packages .box-container .box:hover .btn {
  border-color: #fff;
}

.packages .box-container .box:hover  .content .price{
  color: #10221b;
}

.packages .box-container .box:hover .btn:hover {
  background: #fff;
  color: #10221b;
}

.packages .box-container .box .image {
  height: 25rem;
  overflow: hidden;
  padding: 2rem;
  padding-bottom: 0;
  border-radius: 20px;
}

.packages .box-container .box .image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 20px;
}

.packages .box-container .box .content {
  padding: 2rem;
}

.packages .box-container .box .content h3 {
  font-size: 2rem;
  color: #10221b;
}

.packages .box-container .box .content p {
  font-size: 1.5rem;
  color: #10221b;
  padding: 1rem 0;
  line-height: 2;
  line-height : 1.5;
}

.packages .box-container .box .content .price {
  font-size: 2rem;
  color: #219150;
}

/* Gallery Styles */

.gallery-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:nth-child(3) {
    grid-area: 1 / 2 / 3 / 3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-image:hover img {
    transform: scale(1.05);
}


.footer {
  background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.5)),
      to(rgba(0, 0, 0, 0.5))
    ),
    url(../images/footer-bg.jpg) no-repeat;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/footer.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.footer .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(25rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 1.5rem;
}

.footer .box-container .box h3 {
  font-size: 2rem;
  padding: 1.5rem 0;
  color: #fff;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.4rem;
  color: #fff;
  padding: 1rem 0;
}

.footer .box-container .box a i {
  color: #219150;
  padding-right: 0.5rem;
}

.footer .box-container .box a:hover {
  color: #219150;
}

.footer .box-container .box a:hover i {
  padding-right: 2rem;
}

.footer .credit {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  padding-top: 2rem;
  font-size: 2rem;
  color: #fff;
}

.footer .credit span {
  color: #219150;
}

@media (max-width: 1200px) {
  .header {
    padding: 2rem;
  }
  section {
    padding: 3rem 2rem;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  .home .box {
    padding: 2rem;
    justify-content: center;
    background-position: right !important;
  }
  .home .box .conent {
    text-align: center;
  }
  .home .box .conent span {
    font-size: 3rem;
  }
  .home .box .conent h3 {
    font-size: 4rem;
  }
}
@media (max-width: 768px) {
  .header #menu-btn {
    display: inline-block;
  }
  .header .navbar {
    position: fixed;
    top: 0;
    left: -110%;
    background: white;
    z-index: 10000;
    width: 35rem;
    height: 100%;
   
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
  }
  .header .navbar.active {
    left: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.8);
  }
  .header .navbar a {
    margin: 1rem 0;
    font-size: 3rem;
  }
  .header .navbar #nav-close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 2rem;
  }
  .contact-form {
    flex-direction: column;
  }
  .msg textarea {
    height: 80px;
  }
  .input-fields,
  .msg {
    width: 100%;
  }
  .input, textarea {
    width: 60vw !important;
  }
  .msg {
    margin-left: -20px;
  }
  form {
    flex-direction: column;
    width: 70vw;
  }

  .gallery-list {
    grid-template-columns: 1fr 1fr;
}
.adventure .box-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "big-top"
            "small-bottom"
            "right";
        height: auto;
    }
    
    .adventure .box-container .box:nth-child(3) {
        height: 25rem;
    }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  .heading {
    font-size: 3rem;
  }
    .input, textarea {
    width: 70vw !important;
  }
  form {
    width: 50vw;
  }
  .wrapper1 {
    padding: 10px;
  }
}



/* Carousel Styles */
.home .wrapper {
    position: relative;
    min-height: 100vh;
}

.home .box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 9%;
}

.home .box.active {
    opacity: 1;
    position: relative; /* Para mantener el flujo del documento */
}

.home .content {
    width: 50rem;
    animation: fadeInUp 1s ease-out;
}



