/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --first-color: hsl(22, 90%, 55%);
  --first-color-alt: hsl(22, 90%, 50%);
  --title-color: hsl(22, 8%, 15%);
  --text-color: hsl(22, 8%, 35%);
  --body-color: hsl(22, 100%, 99%);
  --container-color: #f5f5f5;
  --form-color: #fff;

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
select {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  margin: var(--header-height) 0 0 0;
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .4s;
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.main {
  overflow: hidden;
}

.section {
  padding: 4.5rem 0 2.5rem;
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*=============== HEADER ===============*/
.header {
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo img {
  width: 80px;
  transition: .3s;
}

.nav__toggle,
.nav__close {
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

.nav__toggle {
  color: var(--first-color);
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    padding: 6rem 2rem 3.5rem;
    transition: .3s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}

.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  box-shadow: 0 1px 4px hsla(22, 4%, 15%, .1);
}

/* Active link */
.active-link {
  position: relative;
  color: var(--first-color);
}

.active-link::before {
  content: '';
  position: absolute;
  background-color: var(--first-color);
  width: 100%;
  height: 2px;
  bottom: -.75rem;
  left: 0;
}

/* Language selector styles */
.lang__selector {
  position: relative;
  display: inline-block;
}

.lang__selected {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  color: var(--title-color);
}

.lang__selected i {
  transition: .3s;
}

.lang__selected:hover i {
  color: var(--first-color);
}

.lang__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.5rem 0;
  z-index: 10;
  min-width: 160px;
}

.lang__selector.open .lang__list {
  display: block;
}

.lang__item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: var(--text-color);
}

.lang__item:hover {
  background-color: hsla(22, 90%, 55%, 0.1);
  color: var(--first-color);
}

.cart__link {
  position: relative;
}

.cart__icon {
  font-size: 1.5rem;
}

.cart__count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--first-color);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--smaller-font-size);
}

/*==================== HOME ====================*/
.home {
  position: relative;
  padding: 2rem 0 4rem;
  z-index: 1;
  overflow: hidden;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/images/fondo-form.png') no-repeat center center/cover;
  z-index: -1;
}

.home__container {
  position: relative;
}

.home__data {
  text-align: center;
  margin-bottom: 2rem;
}

.home__title {
  display: none;
}

.home__description {
  display: none;
}

/*==================== FORMULARIO DE BÚSQUEDA ====================*/
.booking__container {
  margin: 0 auto;
  max-width: 1024px;
}

.booking__form {
  background-color: var(--form-color);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow:
    1px 1px 12px 5px rgba(0, 0, 0, 0.18),
    0 6px 10px rgba(0, 0, 0, 0.08)
}

.booking__tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  background-color: var(--container-color);
  padding: .5rem;
  border-radius: .75rem;
}

.booking__tab {
  padding: .75rem 1.25rem;
  cursor: pointer;
  border-radius: .5rem;
  transition: .3s;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.booking__tab.active {
  background-color: var(--first-color);
  color: #fff;
}

.booking__inputs {
  display: grid;
  gap: 1.5rem;
}

.booking__input-row {
  display: grid;
  gap: 1.5rem;
}

.booking__input-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: .75rem;
  border: 1.5px solid hsla(22, 8%, 30%, 0.25);
  height: 50px;
  width: 220px;
}

.booking__input-group i {
  font-size: 1.5rem;
  color: var(--first-color);
}

.booking__input-group select,
.booking__input-group input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

.passenger__control {
  width: 100%;
  cursor: pointer;
}

.passenger__dropdown {
  display: none;
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1.5rem;
  border-radius: .75rem;
  box-shadow: 0 8px 16px hsla(22, 10%, 8%, 0.15);
  z-index: var(--z-tooltip);
}

.passenger__control.open .passenger__dropdown {
  display: block;
}

.passenger__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.passenger__stepper {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.stepper__btn {
  width: 32px;
  height: 32px;
  background-color: var(--first-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: .3s;
}

.stepper__btn:hover {
  background-color: var(--first-color-alt);
}

.stepper__value {
  font-weight: var(--font-semi-bold);
  font-size: 1.1rem;
}

.booking__button {
  width: 100%;
  padding: 1.25rem;
  background-color: var(--first-color);
  color: #fff;
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  border-radius: .75rem;
  transition: .3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
}

.booking__button:hover {
  background-color: var(--first-color-alt);
  box-shadow: 0 4px 12px hsla(22, 90%, 50%, 0.2);
}

/*==================== ABOUT ====================*/
.about {
  padding: 6rem 0;
}

.about__container {
  display: grid;
  row-gap: 4rem;
  align-items: center;
}

.about__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--first-color);
  margin-bottom: 1rem;
  position: relative;
}

.about__title::after {
  content: "";
  width: 70px;
  height: 4px;
  background-color: var(--first-color);
  border-radius: 2px;
  display: block;
  margin-top: .5rem;
}

.about__description {
  max-width: 600px;
  margin-top: 1rem;
  color: hsl(22, 10%, 25%);
  line-height: 1.75;
  font-size: 1.1rem;
}

.about__img {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.about__img-overlay {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
  transform: rotate(-2deg);
  transition: .3s;
  position: relative;
}

.about__img-overlay img {
  filter: sepia(1) hue-rotate(-20deg) saturate(5);
}


.about__img-overlay:hover {
  transform: rotate(0deg) scale(1.03);
}

.about__img-one {
  width: 260px;
}

.about__img-two {
  width: 180px;
  transform: translateY(20px) rotate(3deg);
}

.about__img-two:hover {
  transform: translateY(20px) rotate(0deg) scale(1.03);
}

/*==================== INFO ====================*/
.info {
  padding: 2.5rem 0 4.5rem;
}

.info__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.info__item {
  background-color: var(--form-color);
  padding: 2rem 1.5rem;
  border-radius: .75rem;
  text-align: center;
  box-shadow: 0 8px 16px hsla(22, 10%, 8%, 0.05);
  transition: .3s;
  border: 1.5px solid transparent;
}

.info__item:hover {
  transform: translateY(-.5rem);
  border-color: var(--first-color);
  box-shadow: 0 12px 24px hsla(22, 90%, 50%, 0.1);
}

.info__icon {
  font-size: 2.5rem;
  color: var(--first-color);
  margin-bottom: var(--mb-1);
  display: block;
}

.info__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.info__description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.5;
}


/*==================== FOOTER ====================*/
.footer {
  background-color: hsl(22, 8%, 12%);
  padding: 3rem 0 2rem;
  color: hsl(22, 8%, 70%);
}

.footer__container {
  display: grid;
  gap: 2rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid hsl(22, 8%, 20%);
}

.footer__data {
  max-width: 400px;
}

.footer__logo {
  width: 100px;
  /* filter: invert(1) brightness(1.5) grayscale(1) contrast(3); */
  margin-bottom: var(--mb-1);
}

.footer__description {
  line-height: 1.6;
}

.footer__payment-methods {
  display: flex;
  gap: 1rem;
}

.footer__payment-img {
  height: 30px;
  /* filter: grayscale(1) brightness(1.2); */
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  color: hsl(22, 8%, 70%);
  transition: .3s;
  font-size: var(--small-font-size);
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__copy {
  font-size: var(--small-font-size);
}

.footer__title {
  color: #ccc;
  margin-bottom: 10px;
}


/*==================== MEDIA QUERIES ====================*/

@media screen and (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__legal {
    justify-content: flex-start;
  }

  .footer__copy {
    order: -1;
  }
}

@media screen and (min-width: 992px) {
  .info__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media screen and (max-width: 576px) {
  .info__container {
    grid-template-columns: 1fr;
  }

  .info__item {
    padding: 1.5rem 1rem;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__logo img {
    width: 125px;
    margin-top: 10px;
  }

  .nav__link {
    color: var(--text-color);
    font-weight: var(--font-medium);
  }

  .nav__link:hover {
    color: var(--first-color);
  }

  .nav__menu {
    margin-left: auto;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 2.5rem;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .active-link::before {
    bottom: -.75rem;
  }

  .home {
    padding: 10rem 0 5rem;
  }

  .home__title {
    font-size: 2.3rem;
    line-height: 37px;
  }

  .home__description {
    margin-top: 20px;
    font-size: 1.1rem
  }

  .booking__form {
    padding: 2.5rem;
  }

  .booking__input-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 4rem;
  }

  .about__data,
  .about__title {
    text-align: left;
  }

  .footer__logo {
    width: 150px;
  }
}

@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .home {
    padding: 9rem 0 6rem;
  }
}

@media screen and (min-width: 1024px) {
  .home__container--pc {
    display: grid;
    grid-template-columns: 1fr 400px; 
    align-items: start;
    gap: 7rem;
  }

  .home__text {
    text-align: left;
    /* margin-top: 130px; */
    margin-right: 40px;
    background-color: rgba(255, 255, 255, 0.237);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 1, 0, 0.127);
  }

  .home__form {
    height: auto;
  }

  .booking__input-row--double {
    display: flex;
    gap: 1rem;
  }

  .booking__input-row--double .booking__input-group {
    flex: 1;
  }

  .home__title {
    display: block;
    color: #ee6f00;
  }
  
  .home__description {
    display: block;
    color: #704f23;
  }

  .booking__button{
    height: 50px;
  }
}
 
/*=============== PRIVACY & COOKIES ===============*/
.privacy-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.privacy-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.privacy-section h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: #555;
}

.privacy-section p,
.privacy-section li {
  line-height: 1.7;
  color: #666;
}

.privacy-section strong {
  color: #444;
}

.privacy-section ul {
  padding-left: 20px;
  list-style: disc;
}

.toc {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.toc h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.toc ul {
  padding-left: 0;
  list-style: none;
}

.toc li a {
  text-decoration: none;
  color: #0056b3;
  transition: color 0.3s ease;
}

.toc li a:hover {
  color: #003d82;
  text-decoration: underline;
}

.summary-box {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-box h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.summary-box ul {
  padding-left: 0;
  list-style: none;
}

.summary-box li {
  margin-bottom: 0.5rem;
}