body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 50, 0.60);
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 10px;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

#quienes-somos {
    background-image: url('images/hero.jpg');
}

#telecomunicaciones {
    background-image: url('images/hero3.jpg');
}

#electronica {
    background-image: url('images/hero2.jpg');
}

#domotica {
    background-image: url('images/hero5.jpg');
}

#videovigilancia {
    background-image: url('images/hero4.jpg');
}

.content {
    background: rgba(0, 0, 50, 0.7);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

h1 {
    margin: 0 0 10px;
    font-size: 2.6em;
}

h2 {
    margin: 0;
    font-size: 1em;
}

p {
    margin: 0;
    font-size: 1.4em;
}

.content:hover {
    transform: translateY(-10px);
}

.nav-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 50, 0.8);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1001;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 60px; /* Ajusta el tamaño del icono según sea necesario */
    height: auto;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 50, 0.60);
    z-index: 1000;
}

nav ul {
    list-style: none;
    font-size: 0.8em;
    padding: 10px;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
    .content {
        padding: 15px;
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1em;
    }

    p {
        font-size: 1em;
    }

    .nav-button {
        top: auto;
        bottom: 10px;
        transform: none;
        padding: 5px 10px;
    }

    .nav-button#prev {
        left: 50px;
    }

    .nav-button#next {
        right: 50px;
    }

    .whatsapp-float img {
        width: 50px;
    }
}
