@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --padding-container: 100px 0;
    --color-title: #001A49;
}

body {
    font-family: 'Poppins', sans-serif;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: var(--padding-container);
    
}

.hero {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  position: relative;
  display: grid;
  grid-template-rows: 100px 1fr;
  color: #ff8800;
}

/* Estilos para la imagen de fondo */


.hero__paragraph{
  color: #F4F4FD;
}

/* Nav */
.nav {
    --padding-container: 0;
    height: 100%;
    display: flex;
    align-items: center;
}
.logo img {
    max-width: 100px;
    font-weight: 300;
  }
  .nav__title {
    font-weight: 300;
}

.nav__link {
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
}

.nav__items {
    list-style: none;
}

.nav__links {
    color: #fff;
    text-decoration: none;
}
.nav__links:hover{
   /* color: orange; */
   background-color: orange;
   border-radius: 25px;
   font-size: 30px;
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img {
    display: block;
    width: 30px;
}


.nav__close {
    display: var(--show, none);
}

/* whatsapp */
.contact-buttons {
  position: fixed;
  bottom: 20px;
  right: 100px;
  z-index: 999;
}

.contact-buttons a {
  display: inline-block;
  margin-right: 10px;
  
}

.contact-buttons img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  background-color: rgb(245, 127, 17);
}

/* ----------------------------- */
.dropdown-menu {
    display: none;
    position: absolute;
    /* background-color: orange; */
    /* border: 1px solid #ccc; */
    list-style: none;
    padding: 0;
    border-radius: 25px;
  }
  
  .nav__items:hover .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu li {
    margin: 0;
    padding: 10px 15px;
    border-bottom: 1px solid #cccccc;
    text-align: left;
  }
  
  .dropdown-menu li:last-child {
    border-bottom: none;
  }
  
  .dropdown-menu a {
    text-decoration: none;
    color: #fff;
    display: block;
  }
  
  .dropdown-menu a:hover {
    background-color: rgb(245, 127, 17);
    border-radius: 25px;
  }

  /* Hero container */
  
.hero__container {
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
}

.hero__title {
    font-size: 3rem;
}

.hero__paragraph {
    margin-bottom: 20px;
    font-size: 20px;
   
}

.cta {
    display: inline-block;
    background-color: #ff0000;
    font-weight: bold;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}

/* Centrar elementos en el medio */
.button-container{
  text-align: center;
}
.subtitle, .about__paragraph {
    text-align: center;
  }
/* Estilos para la sección "about" */
.about {
    background-size: cover; 
    padding: 50px;
    text-align: center;
    width: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .subtitle{
    font-size: 75px;
    /* font-family: Helvetica, sans-serif; */
    font-weight: bold;
    font-display: flex;
    color: #FF8000;
  }

  /* Estilos para los elementos dentro de la sección "about" */

  .subtitle, .about__paragraph, .button-container {
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: #001A49;
    text-overflow: inherit;
    
  }

  .about__paragraph{
    font-size: 25px;
    background-color: #ccc;
    border-radius: 35px;
    
  }

  .button-container {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* Espacio entre los botones */
  
  }
  
  .button {
    padding: 10px 20px;
    background-color: #FF8000;
    color: #f5f5f5;
    border: none;
    cursor: pointer;
    border-radius: 5px; /* Bordes redondeados */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* Efecto de sombra */
    transition: transform 0.2s ease; /* Transición suave */
    font-size: 35px;
    border-radius: 35px;
  }

  .button:hover {
    transform: translateY(-2px); /* Efecto 3D hacia arriba al hacer hover */
    background-color: #111110;
  }
  
/* cards */
.container__card{
    /* max-width: 1200px; */
    margin: auto;
    /* margin-top: 50px; */
    margin-bottom: auto;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  
  }
  
  .card__father{
    margin: 20px;
    perspective: 1000px;
  }
  
  .card__father:hover .card{
    transform: rotateY(180deg);
  }
  
  
  .card{
    width: 350px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 600ms;
  }
  
  .card__front{
    background-size: cover;
    background-position: center;
  }
  
  
  .card__front,
  .card__back{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    border-radius: 20px;
  }
  
  .card__back{
    transform: rotateY(180deg);
    background: white;
  }
  
  .body__card_front{
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FF5733;
    transform: translateZ(60px);
  }
  
  .bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
  }
  
  .body__card_back{
    padding: 40px;
    text-align: center;
    transform: translateZ(60px);
    border-radius: 25px;
  }
  
  .body__card_back p{
    margin-top: 15px;
    font-size: 12px;
    color: #e64f44;
  }

  .body__card_back img{
    margin-top: 5px;
    font-size: 8px;
  }
  
  .body__card_back h3{
    margin-top: 10px;
    font-size: 12px;
  }
  
  .body__card_back input{
    padding: 10px 40px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: white;
    background: #FF5733;
    box-shadow: 1px 1px 30px -5px #f68558;
    border-radius: 10px;
    transition: box-shadow 600ms;
  }
  
  .body__card_back input:hover{
    box-shadow: 1px 1px 30px 0px #e64f44;
  }
/* estilos para la galeria */
.contenedor{
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
    margin: auto;
    padding: 60px 0;
    
  }
  .subtitulo{
    color: #f5f5f5;
    font-size: 40px;
    text-align: center;
    font-weight: 300;
    margin-bottom: 30px;
  }
  .gallery{
    background: #ff6200;
  }
  
  .contenedor-galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 30px;
  }
  
  .img-galeria{
    width: 30%;
    display: block;
    margin-bottom: 15px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .6);
    cursor: pointer;
   
  }
  
  .imagen-light{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.534);
    transform: translate(100%);
    transition: transform .2s ease-in-out;
  }
  
  .agregar-imagen{
    width: 30%;
    transform: scale();
    border-radius: 10px;
    transition: transform .3s .2s;
  }
  
  .showImage{
    transform: scale(1);
  }
  
  .show{
    transform: translate(0);
  }
  
  .close{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    cursor: pointer;
  }

/* Questions */

.questions{
    text-align: center;
  }
  
  .questions__container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
  }
  
  .questions__padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid #FF5733;
    border-radius: 6px;
    background-color: #FF8000;
  }
  
  .questions__padding--add{
    padding-bottom: 30px;
  }
  
  .questions__answer{
    padding: 0 30px 0;
    overflow: hidden;
  }
  
  .questions__title{
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
  }
  
  .questions__arrow{
    border-radius: 50%;
    background-color: var(--color-title);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition:  transform .3s;
  }
  
  .questions__arrow--rotate{
    transform: rotate(180deg);
  }
  
  .questions__show{
    text-align: left;
    height: 0;
    transition: height .3s;
  }
  
  .questions__img{
    display: block;
  }
  
  .questions__copy{
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  
  .form-container {
    /* position: absolute; */
    /* top: 50%;
    left: 100%;
    transform: translate(-50%, -50%); */
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
.form-container h2{
  color: #ff8800;
}

  
  /* Estilos para el mapa */
  #map {
    height: 300px;
    width: 100%;
    margin-bottom: 10px;
  }
  
  /* Estilos para el formulario */
  .service-form {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .box {
    width: 100%;
    background-color: #F4F4FD;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
  }
  
  button[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .service-form button {
    padding: 10px 20px;
    background-color: #ff6200;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 25px;
  }
  
  .service-form button:hover {
    background-color: #ff0000;
  } 
/* Estilos para los mensajes de error */
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

/* Estilos para los campos con errores */
.error-input {
  border: 1px solid red;
}

  /* footer */
/* Estilos para el footer */
.footer{
    background-color: #331F03;
  }
  
  .footer__title{
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .footer__title, .footer__newsletter{
    color: #fff;
  }
  
  
  .footer__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 60px;
  }
  
  .nav--footer{
    padding-bottom: 20px;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
  }
  
  .nav__link--footer{
    display: flex;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
  }
  .nav__items h3{
    color: #f5f5f5;
    padding: 5.5px;
    font-size: 14px;
  }
  .nav__items p{
    color: #f5f5f5;
    font-size: px;
  }
  
  .footer__inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
  }
  
  .footer__input{
    background-color: #fff;
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-right: 16px;
  }
  
  .footer__submit{
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px ;
    background-color: #FF8000;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
  }
  
  .footer__copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
  }
  
  .footer__copyright{
    font-weight: 300;
  }
  
  .footer__icons{
    margin-bottom: 10px;
  }
  
  .footer__img{
    width: 40px;
    margin: 5px;
  }
  
  
  /* -------------------RESPONSIVE------------------------ */
  @media (max-width:800px){
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show{
        --show: block;
        opacity:1 ;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }
    .footer__container{
      flex-wrap: wrap;
  }

  .nav--footer{
      width: 100%;
      justify-items: center;
  }

  .nav__link--footer{
      width: 100%;
      justify-content: space-evenly;
      margin: 0;
  }

  .footer__form{
      width: 100%;
      justify-content: space-evenly;
  }

  .footer__input{
      flex: 1;
  }
  }
  @media (max-width: 768px) {

    .subtitle{
        font-size: 45px;
    }
    .button-container {
      flex-direction: column;
    }
  
    .button {
      margin-top: 5px;
    }
    
    .img-galeria{
      width: 45%;
    }
  
    .agregarImagen{
      width: 80%;
      
    }
    
  .hero {
    background-size: cover;
    background-position: center;
  }
}

  @media (max-width:600px){
    .hero__title{
        font-size: 2rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }

    

    .footer__title{
        justify-self: start;
        margin-bottom: 15px;
    }

    .nav--footer{
        padding-bottom: 60px;
    }

    .nav__link--footer{
        justify-content: space-between;
    }

    .footer__inputs{
        flex-wrap: wrap;
    }

    .footer__input{
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }

    .footer__submit{
        margin-right: auto;
        margin-left: 0; 
    }
}



 