@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");

/* CSS Variables */
:root {
  --normal-font: 400;
  --bold-font: 600;
  --bolder-font: 900;
  --primary-color: #000000;
  --notification-color: #25d366;
  --secondary-color: #d9001a;
  --extra-color: #ffffff;
  --line-height: 1.7rem;
  --transition: 0.4s ease-in;
  --max-ancho: 1400px;
}
/* html overwrite */
html {
  font-size: 15px;
  scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

li,
p,
a {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
/* colors */
.txt-primary {
  color: #d9001a !important;
}
.bg-primary {
  background-color: #d9001a !important;
}
.bg-white {
  background-color: #fff !important;
}
.bg-ws {
  background-color: #25d366 !important;
}

/* buttons */
.btn-ws {
  color: #fff;
  padding: 12px 10px;
  border-radius: 5px;
  text-decoration: none;
}
.btn-ws:hover {
  color: #fff;
  opacity: 0.8;
}
/* Smooth scroll effect */
html {
  scroll-behavior: smooth;
}

/* Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: var(--transition);
}

body {
  font-family: "Roboto", sans-serf;
}

ul li {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: var(--secondary-color);
}
.logo {
  display: block;
  margin: 0 auto 0 0; /* 0 top, auto right, 0 bottom, 0 left */
  width: 80px; /* Sets a fixed width, adjust as needed */
  height: auto; /* Maintains the aspect ratio of the image */
}
.nav {
  background: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0 !important;
  align-items: center;
  z-index: 1;
  width: 100%; /* Responsive width */
  margin: 0 auto; /* Centers the nav bar */
}
ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-item {
  margin-left: 2rem;
  color: grey;
}
.nav-item-whatsapp {
  color: #25d366;
}
/* This will target all 'ion-icon' elements inside '.nav-item' and '.nav-item2' */
.nav-item ion-icon,
.nav-item-whatsapp ion-icon {
  font-size: 30px; /* Adjust the size as needed */
  color: inherit; /* This will make the icon color inherit from the parent element */
}

.nav-link {
  font-weight: var(--bold-font);
}
.hero {
  background: url("../images/reserva-del-mar-puerto-gaira.jpg") no-repeat center bottom / cover;
  padding: 0 !important;
}
.sillhouette {
  height: 100%;
  background-color: rgba(0, 60, 94, 0.5);
}
.hero-content {
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding-bottom: 30px;
  height: auto;
  opacity: 0;
  animation-name: hero;
  animation-duration: 2s;
  animation-delay: 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
.hero-container-content {
  align-items: center;
  height: 100%;
}
.logo-gaira-top {
  width: 20%;
  padding: 2rem 0rem;
  margin: auto;
  display: block;
}
.main-title {
  color: #fff;
  font-size: 2.8rem;
  line-height: normal !important;
}
.main-subtitle {
  color: #fff !important;
  line-height: 30px;
  margin-top: 10px;
  margin-bottom: 80px;
}
.hero p,
.hero h2 {
  line-height: var(--line-height);
  color: var(--extra-color);
}

.zona {
  color: var(--extra-color);
}

.proyecto {
  color: var(--extra-color);
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.8rem 0.6rem;
  border: none;
  font-size: 1.4rem;
  border-radius: 5px;
  color: #fff;
}

.red {
  background-color: var(--secondary-color);
  margin-right: 1.5rem;
}

.red:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

/* Add initial CSS for the animation */
/* #animated-text {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  } */
@keyframes hero {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}

/* Add the CSS for when the animation is triggered */
/* #animated-text.visible {
    opacity: 1;
} */

.grid-container {
  display: grid;
  justify-content: center; /* Centra la cuadrícula en el contenedor */
  align-items: center; /* Centra la cuadrícula verticalmente */
  grid-template-columns: 1fr 1fr; /* Crea dos columnas de igual ancho */
  grid-gap: 3px; /* Espacio entre los elementos de la cuadrícula */
  max-width: calc(var(--max-ancho) * 0.8);
  margin: 3rem auto; /* Añade margen automático a los lados para centrar */
}

.grid-item {
  flex: 1 1 200px; /* Crecen y se encogen pero no son más pequeños que 200px */
  border: 1px solid #ffffff; /* Optional border for visualization */
  padding: 20px; /* Padding inside grid items */
}

.grid-item.text {
  background-color: #ffffff; /* Color de fondo opcional para columnas de texto */
  line-height: 1.6; /* Ajusta el espacio entre líneas */
}

/* Responsive image styling */
.grid-item img {
  border-radius: 10px; /* Ajusta esto para cambiar el radio de las esquinas */
  width: 90%; /* Reduce el tamaño de la imagen en un 50% */
  height: auto; /* Mantiene la proporción de la imagen */
  display: block; /* Para poder centrar la imagen */
  margin: 0 auto; /* Centra la imagen horizontalmente */
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); /* Sombra suave */
}
.icon-box-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.txt-intro {
  padding-left: 45px;
}
.iconos {
  /* background-color: rgb(245, 245, 245); */
  max-width: var(--max-ancho);
  margin: 0 auto;
  padding: 50px 30px;
  border-radius: 10px;
}
.icon-amenity {
  width: 45px;
}
.icon-title {
  text-align: center;
  color: var(--secondary-color);
  padding-bottom: 2rem;
}
.color-title {
  color: var(--secondary-color);
}
/* Define the grid container */
.grid-common-areas {
  display: flex;
  flex-wrap: wrap;
}
.grid-common-areas .icon-container {
  width: calc(100% / 5);
}
.grid-common-areas .icon-container div {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px !important;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
/* Style the grid items */
.grid-common-areas > div {
  padding: 10px;
  text-align: center;
}

/* Estilos para los íconos de Ionicons */
ion-icon {
  font-size: 2em; /* Tamaño de los íconos */
  vertical-align: middle; /* Alinea verticalmente con el texto */
  margin-right: 8px; /* Espacio entre el ícono y el texto */
}

.red-icon {
  color: var(--secondary-color); /* Color de ícono rojo */
  margin-right: 8px;
}

.contenedor {
  display: flex;
  background-color: var(--secondary-color);
  justify-content: space-between;
  max-width: var(--max-ancho);
  margin: 0 auto;
  margin-top: 2rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.informacion-proyecto {
  color: white;
}

.logo-gaira {
  width: 15%; /* Reduce the width to 50% */
  height: auto; /* Maintain the aspect ratio */
  margin: auto auto 20px;
  display: block;
}

/* form */
.form-bg {
  background-color: rgba(255, 255, 255, 0.9);
}
.informacion-proyecto h2,
.informacion-proyecto p {
  margin-bottom: 1rem; /* Puedes ajustar el valor según tus preferencias */
}

.formulario-registro {
  max-width: 400px;
  width: 50%;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 20px;
  background-color: #003c5e;
  color: white;
  border-radius: 10px;
}

.formulario-registro label {
  display: inline-block;
  margin-bottom: 10px;
}

.formulario-registro input[type="text"],
.formulario-registro input[type="email"],
.formulario-registro input[type="tel"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  color: #333;
}

.formulario-registro input[type="checkbox"] {
  vertical-align: middle;
  margin-right: 5px;
}

.boton-blanco {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#enviandoMensaje .imgCargando {
  text-align: center;
}
#enviandoMensaje .imgCargando img {
  width: 25%;
}
#enviandoMensaje {
  text-align: center;
}
#enviandoMensaje .spinner-grow {
  width: 15px;
  height: 15px;
}
/* .g-recaptcha {
} */

.footer-container {
  background-color: rgba(0, 60, 94, 0.7);
  position: relative;
}
.footer-container-image-bg {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: url("../images/Piscina-Panoramica-Piso-3-Reserva-del-Mar-Puerto-Gaira-footer.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 0;
}
.bottom-footer {
  background-color: #000; /* Black background */
  color: #fff; /* White text */
  text-align: center;
  padding: 10px 0;
  font-family: "Arial", sans-serif;
  font-size: 0.8em;
  border-top: 1px solid #444; /* Slight contrast on the top edge */
}

/* Estilos Carrusel */
/* ::-webkit-scrollbar {
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 25px;
}
::-webkit-scrollbar-thumb {
  background: lightcoral;
  border-radius: 25px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
} */
.flats-tipology-container {
  margin: 0 auto;
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 30px;
  scroll-snap-type: x mandatory;
  overflow-x: scroll;
  scroll-padding: 30px;
}

.container-title {
  text-align: center;
  color: var(--secondary-color);
}

.error-message {
  color: var(--secondary-color);
}

.notification-message {
  color: var(--notification-color);
}

.container .card {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  border-radius: 12px;
  background: #fff;
  scroll-snap-align: start;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

/* Estilos para la tarjeta */
.card {
  background-color: var(--extra-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  max-width: 80%;
  margin: 0 auto;
}

/* Estilos para la imagen */
.card img {
  display: block;
  margin: 0 auto; /* Centrar la imagen horizontalmente */
  max-width: 100%; /* Ajustar la imagen al ancho de la tarjeta */
  height: auto; /* Mantener la proporción original */
}

/* Estilos para el título (h2) */
.card h3 {
  color: var(--secondary-color); /* Texto en color rojo */
  margin-bottom: 10px; /* Espacio debajo del título */
  font-weight: normal; /* Elimina el negrita */
}

/* Estilos para la descripción (p) */
.card p {
  color: black; /* Texto en color negro */
}

/* Estilos para el modal */
.modal-component {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.modal-component-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  max-height: 90%;
}

.modal-component-content img {
  max-width: 100%;
}
.modal-body img {
  max-width: 100%;
}
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}
/* helpers */
.dpl-none {
  display: none;
}
.dpl-block {
  display: block;
}
.txt-center {
  text-align: center;
}
.txt-left {
  text-align: left;
}

.btn-waze {
  position: absolute;
  display: flex;
  justify-items: center;
  justify-content: flex-start;
  bottom: 15px;
  right: 15px;
  text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
  background: #58a9dd;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  border-radius: 25px;
  z-index: 30;
  border: solid 4px #ffffff;
}
.btn-waze span {
  padding-left: 10px;
}
.btn-waze small {
  color: #003c5e;
  display: block;
  margin-bottom: -5px;
}
.btn-waze:hover {
  background: #003c5e;
  color: #fff;
}
.btn-waze:hover small {
  color: #ccc;
}
.btn-waze img {
  width: 25px;
  height: 25px;
  margin-top: 5px;
}
.pulse {
  animation: pulse-animation 2s infinite;
}

.photo-gallery {
  color: #313437;
  background-color: #fff;
}

.photo-gallery p {
  color: #7d8285;
}

.photo-gallery h2 {
  font-weight: bold;
  margin-bottom: 40px;
  padding-top: 40px;
  color: inherit;
}

@media (max-width: 767px) {
  .photo-gallery h2 {
    margin-bottom: 25px;
    padding-top: 25px;
    font-size: 24px;
  }
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
  }
}
/* Media query para pantallas con ancho menor a 600px */
@media (min-width: 600px) {
  /*helpers*/
  .dpl-none-md {
    display: none;
  }
  .dpl-block-md {
    display: block;
  }
  .txt-center-md {
    text-align: center;
  }
  .txt-left-md {
    text-align: left;
  }
  .-top {
    padding: 2rem 0rem;
    margin: auto 0;
  }
  .logo-gaira {
    height: auto; /* Maintain the aspect ratio */
    margin: auto 0 20px;
    display: block;
  }
  .hero {
    height: 800px;
  }
  .hero-content {
    height: 100%;
  }
  /* .hero-container-content{
    padding-top:90px;
  } */
  .logo-gaira-top {
    margin: auto 0px;
  }
  .grid-container {
    display: flex; /* Usa Flexbox en lugar de grid */
    flex-wrap: wrap; /* Permite que los elementos se ajusten al ancho del contenedor */
    justify-content: center; /* Centra los elementos horizontalmente */
    align-items: center; /* Centra los elementos verticalmente */
    max-width: calc(var(--max-ancho) * 0.8);
    margin: 3rem auto; /* Añade margen automático a los lados para centrar */
    gap: 3px; /* Espacio entre los elementos */
  }
}

@media (min-width: 768px) {
  /* Add this rule to reduce the size of the icons on mobile */
  .nav-item ion-icon,
  .nav-item-whatsapp ion-icon {
    font-size: 22px; /* Adjust the size as needed for mobile */
  }
  .container-title {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
  .card {
    max-width: 23%;
  }
}
@media (max-width: 768px) {
  .px {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
  .mt-3.px {
    margin-top: 6px !important;
  }
  .grid-common-areas .icon-container {
    width: calc(100% / 2);
  }
  .txt-intro {
    padding-left: 0;
    margin-bottom: 50px;
  }
}
@media (max-width: 550px) {
  .btn-waze {
    width: 90%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    justify-content: center;
  }
  .bottom-footer {
    padding-bottom: 90px;
  }
}
