* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
}
/*Barra superior*/
.barra-superior {
    background-color: #000000;
    padding: 26px 0;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.contenedor-barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    height: 60px; /* Puedes ajustar esta altura según el diseño */
}
/* Nombre empresa */
.nombre-empresa {
  font-size: 24px;
  font-weight: bold;
  color: #1c99ff;
}
.iconos-sociales a {
    margin-right: 15px;
    color: #ffffff;
    font-size: 17px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.iconos-sociales a:hover {
    color: #1c99ff;
}

.nav-superior a {
    margin: 0 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-family: sans-serif;
    transition: color 0.3s ease;
}

.nav-superior a:hover {
    color: #1c99ff;
    text-decoration: underline;
}

.logo-barra img {
    height: 80px;
    width: auto;
    display: block;
    border-radius: 60px; /* puedes ajustar si lo quieres más o menos redondeado */
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.logo-barra img:hover {
    transform: scale(1.1); /* agranda el logo un 10% */
    filter: brightness(1.1); /* opcional: un ligero brillo para más impacto visual */
}

/* NAV original dentro del header */
nav {
    text-align: right;
    padding: 10px 80px 0 0;
}

nav > a {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    margin-right: 500px;
}

nav > a:hover {
    color: #1c99ff;
    text-decoration: underline;
}

.iconos-sociales a.telefono {
    margin: 0 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-family: sans-serif;
    transition: color 0.3s ease;
}

.iconos-sociales a.telefono:hover {
  color: #1c99ff;
    text-decoration: underline;
}

/* TEXTOS HEADER */
header .textos-header {
    display: flex;
    height: 730px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1 {
    font-size: 50px;
    color: #fff;
}

.textos-header h2 {
    font-size: 30px;
    font-weight: 300;
    color: #fff;
}
.wave {
    position: relative;
    bottom: 5;
    width: 100%;
}
/*Final Barra superior*/

/* Sección 1 */
.contenedor {
    padding: 60px 0;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: hsl(207, 100%, 55%);
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* Header con animación de cambio de fondo */
header {
    width: 100%;
    height: 950px;
    background-color: #000; /* Fondo negro base */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    /* Añadimos la animación */
    animation: cambioFondo 30s infinite;
}

/* Definimos la animación */
@keyframes cambioFondo {
    0% {
        background: linear-gradient(
            to right,
            rgba(28, 153, 255, 0.2),
            rgba(255, 255, 255, 0.1)
        ),
        url(../img/portada0.jpg);
        background-size: cover;
        background-position: center;
    }
    33.33% {
        background: linear-gradient(
            to right,
            rgba(28, 153, 255, 0.2),
            rgba(255, 255, 255, 0.1)
        ),
        url(../img/portada1.JPG);
        background-size: cover;
        background-position: center;
    }
    66.66% {
        background: linear-gradient(
            to right,
            rgba(28, 153, 255, 0.2),
            rgba(255, 255, 255, 0.1)
        ),
        url(../img/portada4.jpg);
        background-size: cover;
        background-position: center;
    }
    100% {
        background: linear-gradient(
            to right,
            rgba(28, 153, 255, 0.2),
            rgba(255, 255, 255, 0.1)
        ),
        url(../img/portada0.jpg);
        background-size: cover;
        background-position: center;
    }
}


.textos-header h1 {
    font-size: 55px;
    color: #ffffff;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
}

.textos-header h2 {
    font-size: 30px;
    font-weight: 300;
    color: #fff;
    margin-top: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.textos-header h1,
.textos-header h2 {
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}
.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.boton-contacto {
  position: absolute;
  top: 74%; /* o ajusta según la altura deseada */
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  z-index: 100;
}


.menu-boton {
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 12px 25px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu-boton:hover {
  background-color: #1c99ff;
  color: white;
  transform: scale(1.05);
}

.menu-opciones {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.95);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
  min-width: 180px;
}

.menu-opciones a {
  display: block;
  padding: 10px 20px;
  color: #1c99ff;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.menu-opciones a:hover {
  background-color: #1c99ff;
  color: white;
}

.boton-contacto:hover .menu-opciones {
  display: block;
}

/*Final Secion1*/

/*Seccion2*/
main .sobre-nosotros{
    padding: 30px 0 60px 0;
}
.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-evenly;
}

.imagen-about-us{
    width: 48%;
}

.sobre-nosotros .contenido-textos{
    width: 48%;
}

.contenido-textos h3{
    margin-bottom: 15px;
}

.contenido-textos h3 span{
    background: #1c99ff;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
    margin-right: 5px;
}

.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}

.seccion-importante {
  background-color: #eaf6ff;
  padding: 60px 20px;
  border-top: 4px solid #1c99ff;
  border-bottom: 4px solid #1c99ff;
}

.seccion-importante .titulo {
  text-align: center;
  font-size: 2.2rem;
  color: #1c99ff;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lista-requisitos-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.item-requisito {
  background: white;
  border-radius: 12px;
  padding: 25px;
  width: 240px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-requisito i {
  font-size: 36px;
  color: #1c99ff;
  margin-bottom: 15px;
}

.item-requisito p {
  font-size: 16px;
  color: #333;
}

.item-requisito:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.item-requisito.destacado {
  color: #e74c3c; /* rojo intenso */
  font-weight: bold;
  border: 2px solid #e74c3c;
  border-radius: 10px;
  padding: 15px;
  background-color: #fff5f5;
  animation: pulso 2s infinite ease-in-out;
}

.item-requisito.destacado i {
  color: #e74c3c;
}

@keyframes pulso {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
  }
  50% {
    box-shadow: 0 0 10px 5px rgba(231, 76, 60, 0.3);
  }
}
.item-requisito.destacado {
  color: #e74c3c; /* rojo intenso */
  font-weight: bold;
  border: 2px solid #e74c3c;
  border-radius: 10px;
  padding: 15px;
  background-color: #fff5f5;
  animation: pulso 2s infinite ease-in-out;
}

.item-requisito.destacado i {
  color: #e74c3c;
}

@keyframes pulso {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
  }
  50% {
    box-shadow: 0 0 10px 5px rgba(231, 76, 60, 0.3);
  }
}

/* Galeria */


.portafolio{
    background: #f2f2f2;
}

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port{
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(207,91%,27%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img{
    width: 50px;
}

.hover-galeria p{
    color: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}

/*Reseñas*/
.galeria-reseñas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  padding: 0 20px;
  animation: fadeIn 1s ease-in-out;
}

.item-reseña {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(28, 153, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.item-reseña img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 20px;
}

.item-reseña:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(23, 98, 195, 0.3);
}

.item-reseña:hover img {
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive: cambia a 1 o 2 columnas en pantallas pequeñas */
@media screen and (max-width: 1024px) {
  .galeria-reseñas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .galeria-reseñas {
    grid-template-columns: 1fr;
  }
}


/*  Our team */

.about-services{
    background: #f2f2f2;
    padding-bottom: 30px;
}


.servicio-cont{
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind{
    width: 28%;
    text-align: center;
}

.servicio-ind img{
    width: 90%;
}

.servicio-ind h3{
    margin: 10px 0;
}

.servicio-ind p{
    font-weight: 300;
    text-align: justify;
}

/* footer */

footer{
    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: #fff;
    border-bottom: 3px solid #1c99ff;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: #ccc;
}

.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .imagen-about-us{
        width: 90%;
    }

    /* Galeria */

    .imagen-port{
        width: 44%;
    }


/*Acerca de*/
.seccion-acerca {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
  font-family: sans-serif;
  color: #333;
}

.seccion-acerca h1, .seccion-acerca h2 {
  color: #1c99ff;
  margin-top: 30px;
}

.seccion-acerca ul {
  list-style: disc;
  padding-left: 20px;
}
/*Contacto*/
main.contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 40px 20px;
  background: #e6f0ff;
}

.contacto-formulario {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(28, 153, 255, 0.25);
  transition: box-shadow 0.3s ease;
}

.contacto-formulario:hover {
  box-shadow: 0 20px 50px rgba(28, 153, 255, 0.4);
}

.contacto-formulario form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1c99ff;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #1c99ff;
  border-radius: 12px;
  font-size: 17px;
  font-family: 'Open Sans', sans-serif;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 2px 5px rgba(28, 153, 255, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0b6bcc;
  box-shadow: 0 0 12px #0b6bcc;
  background-color: #f0f8ff;
}

textarea {
  min-height: 140px;
  line-height: 1.5;
}

.btn-enviar {
  background-color: #1c99ff;
  color: #fff;
  font-weight: 800;
  padding: 18px;
  font-size: 20px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 8px 20px rgba(28, 153, 255, 0.3);
}

.btn-enviar:hover {
  background-color: #0b6bcc;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 107, 204, 0.5);
}

/* Nav activo */
.nav-superior a.activo {
  color: #1c99ff;
  text-decoration: underline;
  font-weight: 700;
}

/*Fin Contacto*/

/* Ocultar menú opciones por defecto */
.menu-opciones {
  display: none;
}

/* Mostrar menú cuando tiene clase activo */
.menu-opciones.activo {
  display: block;
}

/* Estilos para móviles */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .contenedor-barra {
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
  }

  .nombre-empresa,
  .logo-barra {
    margin-bottom: 10px;
  }

  .iconos-sociales {
    margin-bottom: 10px;
    justify-content: center;
  }

  .nav-superior {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  .nav-superior a {
    padding: 10px;
    border-top: 1px solid #1c99ff;
    text-align: center;
    font-size: 1.1rem;
  }
  .nav-superior a:first-child {
    border-top: none;
  }

  .textos-header h1 {
    font-size: 2rem;
    padding: 0 15px;
  }

  .boton-contacto {
    width: 100%;
    margin: 15px 0;
  }
  .menu-boton {
    width: 100%;
    font-size: 1.2rem;
  }
  .menu-opciones {
    width: 100%;
  }
  .menu-opciones a {
    display: block;
    font-size: 1.1rem;
    padding: 10px;
  }

  .contenedor-sobre-nosotros {
    flex-direction: column;
    text-align: center;
  }
  .imagen-about-us {
    width: 90%;
    margin: 0 auto 20px;
  }
  .contenido-textos h3 {
    font-size: 1.3rem;
  }
  .contenido-textos p {
    font-size: 1rem;
  }

  .galeria-port {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .galeria-reseñas {
    flex-direction: column;
    align-items: center;
  }
  .item-reseña {
    width: 90%;
    margin-bottom: 15px;
  }

  .servicio-cont {
    flex-direction: column;
    align-items: center;
  }
  .servicio-ind {
    width: 90%;
    margin-bottom: 25px;
  }

  .contenedor-footer {
    flex-direction: column;
    align-items: center;
  }
  .content-foo {
    margin-bottom: 15px;
    text-align: center;
  }
}

}