/** Globales **/
:root {
  --principal: #ffff;
  --secundario: #010000;
  --tercer: #40231c;
  --azul: #034A79;
  --error: #eb5e5e;
  --exito: #5eeb81;
  --rojo: #ff0000;
  --verde: #1dfa00;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-snap-type: y mandatory;
}

*, *:before, :after {
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: "Noto Serif Georgian", serif;
  font-weight: 400;
  font-size: normal;
  background-color: var(--principal);
}

.overflow-hidden {
  overflow: hidden;
}

/** Animaciones **/
@keyframes entrada-izquierda {
  0% {
    transform: translate(-100%);
    opacity: 0;
  }
  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes entrada-derecha {
  0% {
    transform: translate(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 0;
  }
}

@keyframes arriba-abajo {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@keyframes abajo-arriba {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes aparecer {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.contenedor {
  width: 95%;
  max-width: 120rem;
  margin: 0 auto;
}

/**scroll snap**/

/**Tipografia**/
h1 {
  font-size: 3.8;
}

h2 {
  font-size: 2.8;
}

h3 {
  font-size: 1.8;
}

h1, h2, h3 {
  text-align: center;
}


/** Header **/

header {
  display: grid;
  justify-content: center;
}

.imagen-logo {
  margin: 0.5rem;
  border: 1px solid var(--secundario);
  border-radius: 100%;
  margin-top: 3rem;
  margin-bottom: 3rem;
  animation-name: aparecer;
  animation-duration: 5s;
  animation-fill-mode: forwards; 
}

.imagen-logo img {
  margin: 1rem;
  padding: 2rem;
}

.imagen-logo img:hover{
  cursor: pointer;
}

.navegacion-principal {
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: visibility .3s ease-in-out, opacity .5s linear, height .5s linear;
}


 .navegacion-principal a {
  font-size: 2.5rem;
  text-decoration: none;
  color: var(--secundario);
  display: block;
  text-align: center;
  font-weight: 700;
  margin: 1rem;
  padding: 1rem;
 }
 .mobile-menu img {
  width: 3rem;
  display: block;
  margin: 1rem auto;
}

 .navegacion-principal a:hover {
  cursor: pointer;
  color: var(--azul);
  border-bottom: 2px solid var(--azul);
  box-shadow: var(--azul);
 }

.navegacion {
  visibility: visible;
  opacity: 1;
  height: auto;
  animation-name: aparecer;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  margin-bottom: 4rem;
}

.mostrar {
  visibility: visible;
  opacity: 1;
  transition: visibility .3s ease-in-out,opacity .5s linear;
  height: auto
}

@media (min-width: 768px) {
  .navegacion-principal {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 1rem;
    visibility: visible;
    opacity: 1;
   }

   .mobile-menu{
    display: none;
   }
   .navegacion {
    opacity: 1;
    visibility: visible
}
}

/** Hero **/
.hero {
  width: 100%;
  height: 80vh;
  margin-top: 4rem;
  background-image: url('../img/hero.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.contenido-hero{
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  display:flex;
  flex-direction: column;
  align-items: center;
  color: var(--principal);
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.contenido-hero h1{
  font-size: 4rem;
  font-weight: bold;
}

@media(min-width:768px){
  .contenido-hero h1{
    font-size: 7rem;
    font-weight: bold;
  }
  .contenido-hero p {
    font-size: 1.7rem;
    font-weight: bold;
  }
}


/** Sobre nosotros **/
.sobre-nosotros, .servicios {
  display: block;
  text-align: center;
}
.sobre-nosotros div h2 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--tercer);
}

.imagen-sobrenosotros {
  width: 100%;
}

.imagen-sobrenosotros img{
  width: 95%;
  border-radius: 1rem;
}

.sobre-nosotros div a {
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--tercer);
}

.sobre-nosotros div p {
  font-size: 2rem;
  font-weight: 200;
  color: var(--secundario);
}


@media (min-width: 768px){
  .sobre-nosotros, .servicios {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    column-gap: 2rem;
    align-items: center;
    margin-top: 2rem;
  }
  
  .imagen-sobrenosotros, .imagen-servicios {
    width: 100%;
  }
  
  .imagen-sobrenosotros img {
    width: 90%;
    margin: 2rem;
  }
}

/** Servicios **/

.Servicios{
  background-color: var(--secundario);
}

.Servicios h2{
  color: var(--principal);
  font-size: 5rem;
  padding-top: 2rem;
}

.titulo-servicios {
  width: 75%;
  border-bottom: 1px solid var(--azul);
}


.contenedor-servicios .contenido-servicio{
  display: block;
  text-align: center;
}

.contenedor-servicios {
  padding: 2rem;
}

.Servicio{
  display: flex;
  margin: 1rem;
  padding: 1rem;
}

.Servicio a {
  text-decoration: none;
  color: var(--principal);
  font-size: 2.3rem;
  margin: 1rem;
}

.Servicio a:hover,
.Servicio img:hover {
  cursor: pointer;
  transition: transform .3s ease-in-out;
  transform: scale(1.1);
}

.imagen{
  width:  100%;
  height: 50rem;
}

.azul {
  filter: brightness(0) saturate(100%) invert(22%) sepia(78%) saturate(941%) hue-rotate(172deg) brightness(95%) contrast(106%);
  margin: 1rem;
}

.imagen img {
  width: auto;
  height: 100%;
  margin: 2rem;
  padding: 2rem;
  background-color: var(--principal);
}

.imagenes-servicios {
  height: 100%;
}

@media (min-width: 768px) {
  .contenedor-servicios {
    display: grid;
    grid-template-columns: repeat(2,50%);
    column-gap: 2rem;
    justify-items: center;
  }

  .contenedor-servicios div {
    height: 40%;
  }

  .imagenes-servicios {
    display: grid;
    grid-template-columns: repeat(3, 33.3%);
    column-gap: 2rem;
    margin-top: -30rem;
    height: 50rem;
  }
  .Servicios {
    height: 75rem;
  }
}

/** Galeria Imagenes **/
.galeria h2{
  font-size: 5rem;
  margin: 1rem;
  padding: 1rem;
}
.galeria {
  width: 95%;
  max-width: 120rem;
  margin: 0 auto;
}


.contenedor-titulo-galeria{
  width: 60%;
  border-bottom: solid 2px var(--azul);
}

.galeria-imagenes img {
  width: 100%;
}

.galeria-imagenes {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}

.galeria-imagenes img {
  margin: 2rem;
  border-radius: 1rem;
}

.modal picture,
.modal picture img{
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.m-4 {
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .galeria-imagenes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
  }

  .modal picture{
    width: 85%;
    height: auto;
  }
}

/** Modal **/
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, .5);
  display: grid;
  place-items: center;
  animation: fadeIn ease-in .5s;
}

.btn-cerrar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--azul);
  border: none;
  color: #000;
  display: grid;
  place-items: center;
  font-weight: 700;
  cursor: pointer;
}


/** Carrusel **/
.paquetes {
  width: 100%;
  height: 40vh;
  margin-bottom: 2rem;

}
.carousel-container {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  width: 100%;
  height: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  height: 100%;
}

.carousel-card:hover {
  transform: translateY(-10px);
}

.carousel-card h3 {
  margin-bottom: 0.5rem;
  color: #333;
  font-family: "Noto Serif Georgian", serif;
}

.carousel-card p {
  color: #666;
  font-size: 0.9rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.carousel-buttons button {
  background: #333;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.carousel-buttons button:hover {
  opacity: 1;
}

/** Footer **/
.negro{
  filter: brightness(0) saturate(100%) invert(1%) sepia(23%) saturate(2176%) hue-rotate(2deg) brightness(98%) contrast(101%);
}
.contenedor-footer {
  display: flex;
  justify-content: center;
  align-items: center;
}
.icono:hover{
  cursor: pointer;
  background-color: var(--azul);
}
.icono {
  margin: 0.5rem;
  padding: 0.5rem;
  border: solid 2px var(--secundario);
}

.logo-footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-footer img{
  margin: 1rem;
  padding: 1rem;
}

/** Vista Servicio **/
.servicio {
  display: block;
  align-items: center;
  margin: 1rem;
  padding: 1rem;
}

.servicio {
  width: 100%;
}

.servicio-imagen {
  width: 100%;
}

.servicio-imagen img{
  width: 100%;
  border-radius: 1rem;
}
.Servicio-vista{
  margin-top: 5rem;
}

@media (min-width:768px){
  .Servicio-vista{
    height: 50rem;
  }
  .servicio {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 2rem;
  }
}

/** Paquetes-vistas **/
.contenedor-paquetes {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  column-gap: 2rem;
  height: 100%;
}

.titulo-paquetes {
  width: 50%;
  border-bottom: 1px solid var(--azul);
}

.paquete{
  margin: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  height: 100%;
}

.paquete:hover {
  transition: transform 0.3s ease;
}

.paquete h2{
  font-size: 2rem;
  font-weight: 600;
}

@media(min-width:768px){
  .contenedor-paquetes {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 2rem;
    height: 100%;
  }
}

/** Formulario **/
form {
  display: block;
  unicode-bidi: isolate;
  margin: 2rem;
}

fieldset {
  display: block;
  min-inline-size: min-content;
  margin-inline: 2px;
  border-width: 2px;
  border-style: groove;
  border-color: threedface;
  border-image: initial;
  padding-block: 0.35em 0.625em;
  padding-inline: 0.75em;
}

.formulario legend {
  font-size: 2rem;
  color: #333;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

.formulario label {
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin: 1rem;
}

.formulario .forma-contacto {
  max-width: 40rem;
  display: flex;
  justify-content: space-between;
}

.formulario input:not([type=submit]), .formulario textarea, .formulario select {
  padding: 1rem;
  margin: 1rem;
  display: block;
  width: 95%;
  background: #d6d6d6;
  border: 1px solid #e1e1e1;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.btn-verde {
  background-color: #71b100;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 3rem;
  text-align: center;
  margin-top: 2.5rem;
  display: inline-block;
  border: none;
}

.btn-verde:hover {
  cursor: pointer;
  background-color: #119100;
}

.contenedor-formulario {
  border-radius: 3.6rem;
  background: #f3f3f3;
  width: 100%;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

@media(min-width: 768px){
  .contenedor-formulario{
    width: 50%;
    display: grid;

  }
  form {
    display: grid;
    unicode-bidi: isolate;
    justify-items: center;
  }
}


/** Whatsapp flotante **/
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-button a img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button a img:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

/** Alertas **/

.alerta {
  margin: 0 auto;
  text-decoration: none;
  display: block;
  text-align: center;
}

.error {
  background-color: var(--error);
  border-left: solid 5px var(--rojo);
  width: 70%;
}

.error p {
  padding: 1rem;
}

.exito {
  background-color: var(--exito);
  border-left: solid 5px var(--verde);
  width: 70%;
}

.exito p {
  padding: 1rem;
}














