/* Estilos generales */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4; /* Fondo gris claro */
    color: #333; /* Color del texto */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0A1A3E; /* Azul oscuro para el navbar */
    padding: 10px 20px;
    position: relative; /* Para posicionar el icono del menú sobre el navbar */
    z-index: 1001; /* Para asegurar que el navbar esté sobre el menú móvil */
}

.logo a {
    color: #eceff1;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    transition: transform 0.3s ease-in-out;
}

.nav-links li {
    display: inline-block;
    padding: 0 15px;
}

.nav-links a {
    color: #66E0FF; /* color de acento para los enlaces */
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FFCB6B; /* color cuando el mouse está sobre el enlace */
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 1002; /* Para asegurar que el icono del menú esté sobre el menú móvil */
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #eceff1;
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: #0A1A3E; /* Fondo azul oscuro */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Centramos los links verticalmente */
        width: 100%; /* Ajustamos el ancho al 100% para centrar mejor */
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        z-index: 1000;
        gap: 20px; /* Aumentamos el espacio entre los enlaces */
    }
    .nav-links.nav-active {
        transform: translateX(0%);
    }
    .nav-links li {
        opacity: 0; /* Inicia invisible */
        transition: opacity 0.5s ease-in-out 0.5s; /* Transición suavizada para visibilidad */
    }
    .nav-links.nav-active li {
        opacity: 1; /* Se vuelve visible */
        transform: translateY(0px);
    }
    .burger {
        display: block;
    }
    .burger.toggle div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger.toggle div:nth-child(2) {
        opacity: 0;
    }
    .burger.toggle div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}



/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background-color: #0A1A3E; /* Fondo del hero */
    color: #eceff1;
}

.hero h1 {
    font-size: 48px;
    color: #66E0FF; /* Color de acento */
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    color: #eceff1;
}/* Services Section */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 60px 20px;
    background-color: #f4f4f4; /* Fondo de la sección */
}

.service {
    background-color: #fff; /* Fondo blanco para cada tarjeta de servicio */
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    width: calc(25% - 40px); /* Ajuste para tener cuatro servicios por fila */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0A1A3E; /* Color de acento */
}

.service p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service {
        width: calc(50% - 40px); /* Dos servicios por fila */
    }
}

@media (max-width: 768px) {
    .service {
        width: calc(100% - 40px); /* Un servicio por fila */
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #0A1A3E; /* Fondo del footer */
    color: #eceff1;
}
