/* 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: linear-gradient(to right, #0A1A3E, #01053a); /* Fondo degradado */
    color: #eceff1;
}

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

.hero p {
    font-size: 24px;
    color: #eceff1;
}

/* Terms Content Section */
.terms-content {
    padding: 60px 20px;
    background-color: #ffffff; /* Fondo blanco */
    color: #333; /* Color del texto */
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-size: 28px;
    color: #0A1A3E; /* Color principal */
    margin-bottom: 20px;
}

.terms-section p {
    font-size: 18px;
    line-height: 1.6;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .terms-content {
        padding: 20px;
    }

    .terms-section h2 {
        font-size: 24px;
    }

    .terms-section p {
        font-size: 16px;
    }
}
