@font-face {
  font-family: "quesha"; /* Name your font */
  src: url("./fonts/Quesha-gndR.ttf") format("truetype");
}

i {
  color: #eee047; /* Icon color */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Optional: Helps with layout */
}

html {
  font-family: quesha, sans-serif;
  /* background:white; */
  background: url("assets/9o.jpg");
  background-attachment: fixed;
  background-size: cover; /* Covers the entire element */
  background-repeat: no-repeat;
}

body {
  /* background:white; */
  /* background:rgb(143, 170, 197); */
}

#header {
  text-align: center;
  display: flex; /* Enables flexbox layout */
  flex-direction: row; /* Stacks items vertically */
  align-items: center; /* Centers items horizontally */
  justify-content: center; /* Centers items vertically */
  transition: all ease 0.6s;
  font-size: 40px;
}

#header a {
  text-decoration: none;
  color: inherit;
}

#header p {
  border-bottom: 2px solid transparent;
  transition: all ease 0.6s;
  margin: 24px;
}

#header p:hover {
  border-bottom: 2px solid yellow;
}

#vid_section {
  text-align: center;
  align-items: center; /* Centers items horizontally */
  justify-content: center; /* Centers items vertically */
  transition: all ease 0.6s;
  display: flex;
  /* background-color: rgba(128, 148, 187, 0.993); */
  padding: 15px;
}

footer {
  text-align: center;
  margin: auto;
  margin-bottom: 20px;
  font-size: 33px;
  margin-top: 20px;
}

footer p {
  text-align: center;
  margin: 10px;
  color: rgba(0, 0, 0, 0.5);
}

#m {
  overflow: auto;
  clear: both;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 10px;
  /* background: #f2efe9; */
}

#m h2 {
  font-size: 35px;
}

#map {
  height: 400px;
  width: 60%;
  contain: paint;
  text-align: center;
  margin: auto;
}

#banner {
  text-align: center;
  margin: auto;
  padding: 15px;
  font-family: quesha;
  font-size: 50px;
  /* background: url("./assets/bg1.png") no-repeat fixed; */
}

#banner button {
  padding: 15px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background-color: #fff231;
  color: black;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  font-family: quesha;
  font-size: 30px;
  transition: all ease 0.7s;
}

#banner a {
  text-decoration: none;
  color: inherit;
}

#banner button:hover {
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.5);
}

.gallery {
  --s: 150px; /* control the size */
  display: grid;
  grid: auto-flow var(--s) / repeat(2, var(--s));
  gap: 10px;
  place-items: center;
  margin: calc(var(--s) / 2);
  transform: rotate(45deg);
  margin-top: 40px;
}
.gallery > img {
  width: 141%; /* sqrt(2)*100% */
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(5%);
  transform: scale(var(--_t, 1)) rotate(-45deg);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  cursor: pointer;
  transition: 0.2s linear;
}
.gallery > img:hover {
  filter: grayscale(0);
  --_t: 1.15;
}

#gal_div {
  margin-top: 30px;
  margin-bottom: 10px;
  display: grid;
  place-content: center;
  padding: 15px;
  clear: both;
  overflow: auto;
}

.title {
  float: none;
  font-size: 75px;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
}

/*
overflow-y:scroll;
scroll-snap-type:y mandatory;

scroll-snap-align:start;
*/

/*---------------------------------------------------CONTACT* and reserva divs */

.reserva_container{
  align-items: center; /* Centers items horizontally */
  justify-content: center; /* Centers items vertically */
  transition: all ease 0.6s;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  text-align: center;
}

.container {
  max-width: 700px;
  /* margin: 50px auto; */
  padding: 20px;
  background-color: #fff;
  background-color: #ffffff72;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 27px;
  margin-top: 50px;
}

.container a {
  color: #717171;
}

.container h1 {
  text-align: center;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.info-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eaeaea;
}

.info-item form{
    text-align:center;
    margin:auto;
}

.info-item:last-child {
  border-bottom: none; /* Remove border from last item */
}

.info-item i {
  font-size: 24px; /* FontAwesome icon size */
  color: #eee047; /* Icon color */
  margin-right: 10px; /* Space between icon and text */
}

.info-item span {
  font-size: 32px; /* Text size */
}

.container div {
  background-color: #ffffff00;
}

/*---------------------------------------------------CONTACT*/

/*---------------------------------------------------CAROUSEL------*/

/* Slideshow container */
.slideshow-container {
  max-width: 1100px;
  position: relative;
  margin: auto;
  background: linear-gradient(to bottom, white, transparent);
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

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

@media only screen and (max-width: 900px) {
  #map {
    width: 90%;
  }

  .card {
    flex: 1 1 100%;
  }

  html {
    /* background-color: red; */
    background-size: 100% 100%;
  }

  video {
    width: 360px;
    height: 640px;
  }
}

/* ------------------------------------- reserva */

.form-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
}
.form-group {
  margin-bottom: 20px;
  position: relative;
}
.form-group input {
  width: calc(100% - 40px);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  transition: all ease 0.7s;
}

.form-group input:focus {
  border: 1px solid rgba(0, 0, 0, 0.6);
  outline: none;
}

label {
  font-size: 30px;
  position: absolute;
  left: 10px;
  top: 10px;
  color: #999;
  color: black;
  transition: all 0.2s ease-in-out;
  pointer-events: none; /* Prevent label from capturing clicks */
}

#btn_solicitar {
  background-color: #ffef00;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  color: black;
  border: 2px solid rgba(0, 0, 0, 0.1);
  transition: all ease 0.7s;
}
#btn_solicitar:hover {
  border: 2px solid rgba(0, 0, 0, 0.3);
}

.small-icon {
  font-size: 0.75em;
  margin-left: 5px;
}

#select_country {
  padding: 10px;
  margin-top: 5px;
  text-align: center;
  background-color: white; /* Change this to your desired color */
  color: #333; /* Text color */
  padding: 10px; /* Padding for better appearance */
  border: 1px solid rgba(0, 0, 0, 0.2); /* Border styling */
  border-radius: 5px; /* Rounded corners */
  transition: all ease 0.7s;
  width: calc(100% - 40px);
}

#select_country:focus {
  border: 1px solid rgba(0, 0, 0, 0.4);
}

#select_country:select {
  border: 1px solid rgba(0, 0, 0, 0.4);
}

#select_country:hover {
  border: 1px solid rgba(0, 0, 0, 0.4);
}

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

#wabtn {
  position: fixed; /* Fixes the position relative to the viewport */
  bottom: 20px; /* Distance from the bottom */
  right: 20px; /* Distance from the right */
  background-color: #25d366; /* WhatsApp green color */
  border-radius: 5px; /* Makes the button circular */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Adds a shadow for depth */
  padding: 10px; /* Padding around the icon */
  z-index: 1000; /* Ensures it stays on top of other elements */
}

#wabtn img {
  width: 30px; /* Adjust icon size */
  height: 30px; /* Adjust icon size */
  float: left;
  margin: 0;
}

#btn_solicitar i {
  color: rgba(0, 0, 0, 0.719);
}

#boxes_cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.card {
  width: 30%;
  height: 30%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.364);
  margin: 20px;
  transition: all ease 0.7s;
}

.card:hover {
  box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.058);
}

.card img {
  width: 100%;
  height: auto;
}

.card h2 {
  font-size: 3em;
}

video {
  margin: 10px;
}

#vid_section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#estadia_sin_alojamiento {
  transform: scale(1.5);
}

.swal2-confirm {
  background-color: #ffef00;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  border: 2px solid #0000001a;
  transition: all ease 0.7s;
}

.swal2-confirm:hover {
  border: 2px solid #0000004d;
  background-color: #ffef00;
}

/*for the personas input on solicitar-reserva*/
.dont-show{
  width: 0px;
  height: 0px;
  overflow: hidden; 
  /* visibility: hidden; */
}

.precios{
  padding: 15px;
  text-align: center;
}

.precios ul{
  text-decoration: none;
  list-style: none;
}

.container p, .container ul, .container li{
  font-size:xx-large;
  padding: 5px;
}

.contact-container,  .email-sent-message{
  margin: auto;
}

.highlight { font-weight: bold; }

.email-sent-message{
    margin-top:20px;
}

.btn-c{
  padding: 15px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background-color: #fff231;
  color: black;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  font-family: quesha;
  font-size: 30px;
  transition: all ease 0.7s;
}

.btn-c:hover{
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.5);
}

.p_l{
    text-align:center;
    margin:auto;
    font-size: 1.5em;
  margin-top: 20px;
  transition:all ease .7s;
}

.p_l a{
    text-decoration: none;
    color: inherit;
    border-bottom: 2px solid transparent;
}

.p_l a:hover{
    border-bottom: 2px solid #ff0;
}
