@import url("variables.css");

/*
========================
||                    ||
||    indexBoletos    ||
||                    ||
========================
*/

.destinations-page__content {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 24px 72px;
  color: var(--orange-color);
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 30px;
}

.destinations-page__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.destinations-page__section-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-color);
}

.destinations-page__section-title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--orange-dark-color);
}

.titulo-h1 {
  color: var(--blue-dark-color);
  font-size: 2em;
  margin: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.__text__paragraph {
  text-align: center;
  font-size: 20px;
  margin: 0 30px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;

  @media (max-width: 1199px) {
    grid-template-columns: repeat(3, 1fr);
  }

  @media (max-width: 991px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (max-width: 767px) {
    grid-template-columns: 1fr;
  }
}

.destination-card {
  overflow: hidden;
  background: white;
  border: 1px solid rgba(var(--blue-dark-color-rgb), 0.4);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(var(--blue-dark-color-rgb), 0.15);
  transition: all 0.28s ease;
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(var(--orange-dark-color), 0.12);
}

.destination-card__body {
  padding: 18px 18px 20px;
}

.destination-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-dark-color);
}

.destination-card__description {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(var(--blue-color-rgb), 0.78);
  min-height: 68px;

  @media (max-width: 767px) {
    min-height: auto;
  }
}

.destination-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-color), var(--orange-dark-color));
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;

  :hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--orange-color), 0.18);
  }
}

/*
====================
||                ||
||    Landings    ||
||                ||
====================
*/
.paragraph {
  text-align: justify;
  font-size: 20px;
  margin: 0 3rem;
}

/*Banner*/
.container__carousel {
  font-family: "Lato", sans-serif;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
  transition: all .8s ease-in-out;
}

.carousel {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-bottom-left-radius: .625rem;
  border-bottom-right-radius: .625rem;
  box-shadow: 0 .25rem .5rem rgba(0,0,0,.2);
}

.carousel-container {
  padding: 0;
  display: flex;
  transition: transform .8s ease-in-out;
  transform: translateX(0%);
}

.slide {
  position: relative;
  width: 100%;
  height: 550px;
  
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: bottom; 
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.slide__content {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide__location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.slide__location svg {
  color: #ffffff;
}

.slide__location p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.slide__description {
  margin: 0.25rem 0 0 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 400;
}


@media(max-width: 1025px) {
  .container__carousel {
    margin-top: 0;
  }

  .slide {
    height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .slide {
    height: 300px;
  }

  .slide__content {
    top: 1rem;
    left: 1rem;
  }

  .slide img {
    object-position: right;
  }

  .slide__location h2 {
    font-size: 1rem;
  }

  .slide__description {
    font-size: 0.75rem;
    margin-left: 1.2rem;
  }
}

/*Grid imagenes lugares*/
.section__grid{
  margin-top:2rem;
  margin-bottom:0
}

.grid-container{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  width:90%;
  margin:0 auto;
  gap:.75rem;
}

.card {
  position:relative;
  border-radius:1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  overflow:hidden;
  padding:.75rem;
  text-align:center;
  background:none;
  z-index:1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
  z-index: 0;
}

.card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.card h3 {
  position: relative;
  z-index: 2;
  background-color: var(--orange-color);
  border-radius:.5rem;
  padding:.8rem 1.5rem;
  font-size:.9rem;
  transition:background-color .3s ease-in-out,color .3s ease-in-out;
}

.card1 {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  width: 100%;
  height: 100%;
}

.card2 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  width: 100%;
  height: 100%;
}

.card3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  width: 100%;
  height: 100%;
}

.card4 {
  grid-column: 3 / 4; 
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  .grid-container {
    display: flex;
    flex-direction: column;
    height: 60rem;
  }
}

/*Gastronomía*/

.section{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
}

.container-cards__food {
  width: 95%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem auto;       
}

.card__food {
  width: 22rem;
  background-color: var(--blue-dark-color);
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card__food img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  border-radius: 15px;
}

.card-text {
  color: #fff;
  font-weight: bold;
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .container-cards__food {
    margin: 1rem auto;
  }

  .card__food {
    width: 100%;
    max-width: 22rem;
  }
}

/*Carrusel destinos*/

.title-carrusel{
  display:flex;
  justify-content:center;
  align-items:center;
  background-color: var(--orange-color);
  width:100%;
  height:3.5rem;
  text-align:center;
  color:#fff;
  margin-bottom: 1rem;
}

.carrusel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 35px;
  box-sizing: border-box;
}

.carrusel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carrusel-track::-webkit-scrollbar {
  display: none;
}

.carrusel-item {
  position: relative;
  flex: 0 0 30%;
  height: 18rem;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 20px;
  margin-top: 2rem;
}

.carrusel-item_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.carrusel-item:hover .carrusel-item_img {
  transform: scale(1.04);
}

.carrusel-item_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.10) 45%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.carrusel-item_content {
    position: absolute;
    top: 24px;
    left: 22px;
    right: 22px;
    color: white;
    z-index: 2;
}

.carrusel-item_location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
    font-weight: 600;
}

.carrusel-item_location p {
    margin: 0;
}

.carrusel-item_description {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.carrusel-item_text {
  position: absolute;
  bottom: 12px;
  right: 10px;
  z-index: 3;
  background: var(--orange-color);
  color: white;
  padding: 10px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
}

.carrusel-item_text:hover {
  background-color: var(--orange-dark-color);
}

.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 42px;
  height: 65px;
  border-radius: 15px;
  border: 2px solid white;
  background: var(--orange-color);
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.carrusel-btn_prev {
    left: 23px;
}

.carrusel-btn_next {
    right: 23px;
}

@media screen and (max-width: 768px) {
  .carrusel-container {
    margin: 1rem auto;
  }

  .carrusel-item {
    width: 100%;
    max-width: 22rem;
  }
}

/* Tablet */
@media (max-width: 1000px) {
  .carrusel-item {
    flex: 0 0 46%;
  }

}


/* Celular */
@media (max-width: 600px) {
  .carrusel-container {
    padding: 15px 20px;
  }

  .carrusel-track {
    gap: 14px;
  }

  .carrusel-item {
    flex: 0 0 88%;
    height: 360px;
  }

  .carrusel-item_description {
    font-size: 16px;
  }

  .carrusel-btn {
    width: 38px;
    height: 55px;
  }

  .carrusel-btn_prev {
    left: 8px;
  }

  .carrusel-btn_next {
    right: 8px;
  }

}