body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}
/*MENU*/
#menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E6E2DF;
    color: #000;
    padding: 25px;
}

#logo {
    margin-left: 20px;
    position: relative;
}
#logo img{
    position: absolute;
    top: -30px;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    margin-right: 10px;
}

.hamburger-menu span {
    width: 2rem;
    height: 0.25rem;
    background-color: #000000;
    display: block;
}

.hamburger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

#menu-items {
    list-style-type: none;
    margin: 0px 50px 0px 0px;
    padding: 0;
    display: flex;
    text-align: center;
}

#menu-items li {
    margin-right: 40px;
}

#menu-items li a {
    color: #1c1c1c;
    text-decoration: none;
    transition: transform 0.3s ease, border 0.3s ease;
}

#menu-items li a:hover {
    color: #454545;
    padding-bottom: 33px;
    border-bottom: 2px solid rgb(87, 87, 87);
}
#menu-items .special-button {
    background-color: #154989; /* Cambia esto al color que desees */
    color: white;
    padding: 10px;
    border-radius: 5px;
}

#menu-items .special-button:hover {
    background-color: #2d6bb7; /* Cambia esto al color que desees */
    color: white;
    padding: 10px;
    border-radius: 5px; /* Mantén el mismo color en hover */
}

@media (max-width: 600px) {
    .hamburger-menu {
        display: flex;
    }
    .contenido{
      padding: 0px !important;
    }

    #menu-items {
        display: none;
        flex-direction: column;
        margin: 0px;
        position: absolute;
        top: 80px;
        right: 0;
        background-color: #f0f0f0;
        height: 250px;
        width: 100%;
        z-index: 3;
    }
    #menu-items li a:hover {
        color: #454545;
        padding-bottom: 25px;
        border-bottom: 2px solid rgb(87, 87, 87);
    }

    #menu-items li {
        margin: 10px 0px 20px 0px;
    }
}
/*FIN DE MENU*/

/*PEDIR PRESUPUESTO*/
.success-message {
  display: none;
  color: green;
  margin-top: 10px;
  font-size: 16px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #f0f0f0;
    margin: 3% auto;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #888;
    width: 50%;
}

.close-button {
    color: #4e4e4e;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 0px;
    font-size: 19px;
    color: #333;
}

form input[type="text"], form input[type="email"], form textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 1em;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

form textarea {
    resize: none;
    height: 100px;
}

form input[type="submit"] {
    padding: 20px 20px;
    background-color: #333;
    color: white;
    font-size: 19px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #444;
}
@media (max-width: 600px) {
    .modal-content {
        width: 80%;
        padding: 10px;
    }

    form label {
        font-size: 16px;
    }

    form input[type="text"], form input[type="email"], form textarea {
        padding: 5px;
        margin-bottom: 10px;
        font-size: 0.9em;
    }

    form textarea {
        height: 80px;
    }

    form input[type="submit"] {
        padding: 10px 20px;
        font-size: 16px;
    }
}
/*FIN PEDIR PRESUPUESTO*/

/*BANNER MEDIO*/
.banner {
    width: 100%;
    height: 50vh;
    background-image: url('/img/banner-medio.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.titulo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    text-align: center;
    /* Estilos adicionales según sea necesario */
}

.filtro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Color negro con una opacidad del 50% */
}
/*FIN BANNER MEDIO*/


/*CONTENIDO*/
/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
/* Estilos para el contenido principal */
.contenido {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 2fr));
  grid-gap: 30px;
}
@media (max-width: 600px){
  .contenido {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 2fr));
    grid-gap: 30px;
  }
}

.tarjeta {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
}

.tarjeta h2 {
  color: #333;
  font-size: 44px;
  margin-bottom: 15px;
}

.tarjeta p {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
}

/* Animación de entrada */
.tarjeta {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  /* Estilos para la galería de imágenes */
  .galeria {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  
  .galeria img {
    width: calc(33.33% - 10px);
    margin-bottom: 20px;
    border-radius: 8px;
  }

  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Estilos para el contenido principal */
.contenido {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
    grid-gap: 30px;
}
@media (max-width: 600px) {
    .contenido {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

.tarjeta, .informacion-adicional {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease;
}

.tarjeta:hover, .informacion-adicional:hover {
    transform: translateY(-5px);
}

.tarjeta h2, .informacion-adicional h2 {
    color: #333;
    font-size: 26px;
    margin-bottom: 15px;
}

.informacion-adicional h3, .tarjeta h3 {
    color: #555;
    font-size: 24px;
    margin-bottom: 10px;
}

.tarjeta p, .informacion-adicional p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.informacion-adicional ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.informacion-adicional ul li {
    margin-bottom: 10px;
}

/* Animación de entrada */
.tarjeta, .informacion-adicional {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para la galería de imágenes */
.galeria {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.galeria img {
    width: calc(33.33% - 10px);
    margin-bottom: 20px;
    border-radius: 8px;
}



/* Estilos para la sección Antes y Después */
/* Estilos para la tarjeta de comparación de Antes y Después */
/* Estilos para la tarjeta de comparación de Antes y Después */
/* Estilos para la tarjeta de comparación de Antes y Después */
/* Estilos para la tarjeta de comparación de Antes y Después */
/* Estilos para la tarjeta de comparación de Antes y Después */
/* Estilos para la tarjeta de comparación de Antes y Después */
/* Estilos para la tarjeta de comparación de Antes y Después */
/* Estilos para la tarjeta de comparación de Antes y Después */
.antes-despues-tarjeta {
  display: flex;
  flex-wrap: wrap; /* Permitir que las tarjetas se envuelvan en pantallas pequeñas */
  justify-content: space-between;
  align-items: flex-start; /* Alinear las tarjetas en la parte superior */
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px; /* Espaciado entre tarjetas */
}

.antes-img-container,
.despues-img-container {
  flex-basis: calc(50% - 10px); /* Ancho de cada tarjeta, ajustado para dejar espacio entre ellas */
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .antes-img-container,
  .despues-img-container {
    flex-basis: calc(33.33% - 10px); /* Ancho de cada tarjeta en pantallas medianas y grandes */
  }
}

.antes-img,
.despues-img {
  width: 100%; /* Ancho completo del contenedor */
  height: auto; /* Alto ajustado automáticamente para mantener la proporción */
  max-width: 300px; /* Ancho máximo */
  max-height: 200px; /* Alto máximo */
  object-fit: cover; /* Ajustar la imagen manteniendo la proporción y recortando si es necesario */
  border-radius: 8px;
}

@media (max-width: 767px) {
  .antes-img,
  .despues-img {
    width: 100%; /* Ancho completo del contenedor en dispositivos móviles */
    max-width: none; /* Restablecer el ancho máximo */
    max-height: 300px; /* Alto máximo para evitar que las imágenes sean demasiado altas */
    margin-bottom: 10px; /* Espaciado entre imágenes apiladas */
  }
}

.antes-texto,
.despues-texto {
  font-size: 18px;
  color: #333;
  margin: 0;
  text-align: center;
}







/*FIN DE CONTENIDO*/


/*REDES*/
.redes-sociales {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
  }
  
  .redes-sociales a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: background-color 0.3s ease;
  }
  
  .redes-sociales a:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .boton-instagram {
    background-color: #C13584;
  }
  
  .boton-tiktok {
    background-color: #000;
  }
  
  .boton-whatsapp {
    background-color: #25D366;
  }
  
  .boton-facebook {
    background-color: #1877F2;
  }
  
  /* Estilos para el botón de WhatsApp fijo abajo a la derecha */
  .boton-whatsapp-fijo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
  }
  
  .boton-whatsapp-fijo a {
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-size: 45px;
    background-color: #25D366;
    transition: background-color 0.3s ease;
  }
  
  .boton-whatsapp-fijo a:hover {
    background-color: #128C7E;
  }
  /*FIN DEL REDES*/





  /*FOOTER*/
  .footer-content {
    overflow: hidden;
    background-color: #333;
    color: white;
    padding: 20px 0;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .logo img {
    max-width: 100px;
  }
  
  .menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .menu a {
    color: white;
    text-decoration: none;
  }
  
  .copyright p {
    margin: 0;
  }
  @media (max-width: 600px){
        .copyright p {
        margin: 0;
        font-size: 14px;
      }
      .footer-content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: 100px;
        padding-bottom: 120px;
      }

      .menu{
        margin: 0px;
      }
      .menu ul{
        padding: 0%;
        flex-direction: column;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
      }
  }
/*FIN DEL FOOTER*/
