/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Estilos específicos para el logo */
.logo {
    max-width: 100%;
    height: auto;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1500px;
    padding: 5px;
}

.text {
    text-align: left;
    line-height: 1.4;
    color: #000000;
}

.inicio p {
    font-size: 30px;
}

h1 {
    font-size: 40px;
    color: #000000;
}

h2 {
    font-size: 30px;
    color: #000000;
}

h3 {
    font-size: 25px;
    color: #000000;
}

h4 {
    font-size: 20px;
    color: #000000;
}

.lista {
    font-size: 20px;
    color: #000000;
}

/* Estilos del header */
header {
    background-color: #000000;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Ajuste de padding para dispositivos móviles */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul.left {
    justify-content: flex-start;
}

header nav ul.right {
    justify-content: flex-end;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #0787ff;
}

/* Estilos del botón de menú */
.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 24px; /* Asegúrate de que hay suficiente espacio para las barras */
}

.dropbtn .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 2px 0;
    transition: 0.4s;
}

/* Estilos del menú desplegable */
.dropdown {
    display: block; /* Mostrar menú desplegable por defecto */
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

.dropdown-content a {
    color: rgba(0, 0, 0, 0.932);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Estilos del contenido de las secciones */


section#inicio-ind {
    padding-top: 50px;
    background-color: #ffffff;
    text-align: center;
    height: 100vh;
}

section#inicio-ind p {
    font-size: 30px; /* Ajusta el tamaño de fuente según tu preferencia */
    line-height: 1.6; /* Ajusta el interlineado si es necesario */
}

section#inicio-ser {
    padding-top: 50px;
    background-color: #ffffff;
    text-align: center;
    height: 10%;
}

section#inicio-ser p {
    font-size: 25px; /* Ajusta el tamaño de fuente según tu preferencia */
}

section#columna-area {
    padding-top: 10px;
    background-color: #eeeff0ab;
    text-align: center;
    height: 10%;
}

section#servicios {
    background-color: #e0dfdf;
    text-align: center;
    padding: 40px 0;
}

section#inicio-elec {
    padding-top: 50px;
    background-color: #ffffff;
    height: 10%;
}

section#inicio-clim {
    padding-top: 50px;
    background-color: #ffffff;
    height: 10%;
}

section#inicio-ener {
    padding-top: 50px;
    background-color: #ffffff;
    height: 10%;
}

section#inicio-cctv {
    padding-top: 50px;
    background-color: #ffffff;
    height: 10%;
}

section#inicio-tec {
    padding-top: 50px;
    background-color: #ffffff;
    height: 10%;
}

section#inicio-m-elec {
    padding-top: 50px;
    background-color: #ffffff;
    height: 10%;
}

section#inicio-m-ins {
    padding-top: 50px;
    background-color: #ffffff;
    height: 10%;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.servicio {
    text-align: center;
}

.servicio img {
    width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 5px 5px 8px rgba(0, 89, 255, 0.404);
    transition: transform 0.3s ease;
}

.servicio img:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

.btn-servicio {
    background-color: #001aff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-servicio:hover {
    background-color: #018dff;
}

/* Estilos de la galería */
section#galeria {
    background-color: #ffffff73;
    text-align: center;
}

/* Estilos para el carrusel */
.carousel {
    margin-top: 10px;
}

.carousel img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    max-height: 400px; /* Ajusta esta altura máxima según tus necesidades */
}

/* Asegurar que el contenedor del carrusel está centrado */
.slick-list {
    text-align: center;
}

.slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilos del footer */
footer {
    background-color: #000000;
    color: #fff;
    text-align: center;
    padding: 11px 0;
    position: relative;
    margin-top: 0%;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icon {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icon img {
    width: 40px;
    height: 40px;
}

.social-icon:hover {
    transform: scale(1.6);
}

footer p {
    font-size: 14px;
}

/* Estilos para las columnas */
.columnas {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.columna {
    width: 40%;
    text-align: left; /* Alinear el contenido de las columnas a la izquierda */
}

.columna h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center; /* Centrar el título */
}

.columna ul {
    padding: 20;
}

.columna ul li {
    font-size: 20px;
    line-height: 1.6;
    color: #000000;
}

/* galeria de fotos*/
.gallery {
    display:flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 100px;
    justify-content: center;
}

.gallery-item {
    width: calc(33.33% - 10px); /* Tres columnas */
    box-shadow: 5px 5px 8px rgba(0, 89, 255, 0.404);
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.2); /* Efecto de zoom al pasar el cursor */
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.5);
}

/* Estilo de la sección de misión, visión y valores */
#about-intro {
    background: url('ruta-a-la-imagen-fondo.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    background-color: #e4dfdf;
    padding: 60px 20px;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
    border-radius: 10px;
    margin: 40px 0;
}

#about-intro h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

#about-intro h4 {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

#mission-vision-values {
    background-color: #e4dfdf;
    padding: 60px 20px;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
    border-radius: 10px;
    margin: 40px 0;
}

#mission-vision-values .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#mission-vision-values .col {
    flex: 1;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#mission-vision-values h3 {
    margin-bottom: 15px;
    color: #000000;
}

#mission-vision-values p, #mission-vision-values li {
    color: #555;
    font-size: 1.1em;
}

#team .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #e4dfdf;
    padding: 60px 20px;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
    border-radius: 10px;
    margin: 40px 0;
}

#team .col {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

#team .col:hover {
    transform: translateY(-10px);
}

#team img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
}

#team h3 {
    margin-top: 15px;
    font-size: 1.5em;
    color: #333;
}

#team p {
    font-size: 1em;
    color: #777;
}

/*formulario de contato*/

.Formulario {
    text-align: center;
    justify-content: center;
 }
 
  input{
    background-color: #fbfbfb; 
    width: 408px; 
    height: 40px; 
    border-radius: 5px;  
    border-style: solid; 
    border-width: 1px; 
    border-color: #003cff; 
    color: #000000;
    margin-top: 10px;  
    padding-left: 10px;
    margin-bottom: 20px; 
  }
  
  
  textarea{
    text-align: center;
    justify-content: center;
    background-color: #fbfbfb; 
    width: 405px; 
    height: 150px; 
    border-radius: 5px;  
    border-style: solid; 
    border-width: 1px; 
    border-color: #003cff; 
    color: #000000;
  }
  
  
  label{
    display: block; 
    float: center;  
  }
  
 input[type="text"],
 input[type="email"],
 textarea {
     width: 50%;
     padding: 10px;
     margin-bottom: 20px;
     box-sizing: border-box;
 }
 
 .servi-itech{
    margin: 20px;
    text-align: left;
    font-size: 25px;
  }
 
  .servicios-text {
    margin: 20px;
    text-align: left;
  }


/* Estilos responsivos */
@media (max-width: 1000px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    .container {
        width: 90%;
        padding: 10px;
    }

    .servicio img:hover {
        background-color: #ffffff;
        transform: scale(1.05);
    }

    .servicios-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Mostrar el menú desplegable en dispositivos móviles */
    .dropdown {
        display: block;
    }

    /* Ocultar el menú de navegación normal en dispositivos móviles */
    header nav ul.right {
        display: none;
    }

    section#inicio-ind {
        height: 50%;
    }

    section#inicio-ser {
        height: 10%;
    }

    section#inicio-elec {
        height: 10%;
    }

    section#inicio-clim {
        height: 10%;
    }

    section#inicio-cctv {
        padding-top: 50px;
        background-color: #ffffff;
        text-align: center;
        height: 10%;
    }

    section#columna-area {
        padding-top: 10px;
        background-color: #eeeff0ab;
        text-align: center;
        height: 10%;
    }

    .columnas {
        flex-direction: column;
        align-items: center;
    }

    .columna {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Estilos para pantallas grandes */
@media (min-width: 1001px) {
    header nav ul.left {
        margin-left: 20px; /* Ajuste del margen izquierdo para el logo */
    }

    header nav ul.right {
        margin-right: 20px; /* Ajuste del margen derecho para los enlaces */
    }

    /* Mostrar el menú de navegación normal en pantallas grandes */
    header nav ul.right {
        display: flex;
    }

    /* Ocultar el menú desplegable en pantallas grandes */
    .dropdown {
        display: none;
    }
}




/* galeria de fotos*/
@media (max-width: 768px) {
    .gallery-item {
        width: calc(50% - 10px); /* Dos columnas en pantallas más pequeñas */
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 100%; /* Una columna en pantallas muy pequeñas */
    }
}

