/* Tipografía y base */
body {
    background-color: #0a0f1c;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    color: #00ffe7;
    text-shadow: 0 0 10px #00ffe7;
}

p, li {
    font-size: 1.1rem;
    line-height: 1.6;
}
/* IMAGEN DE HERO */
#hero {
    position: relative;
    background-image: url('img/imghero1.png'); /* imagen sin logo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: fadeIn 2s ease-in-out;
    color: white;
    overflow: hidden;
    z-index: 0;
}

/* Overlay oscuro para mejorar legibilidad */
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* más contraste */
    z-index: 1;
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Contenedor de partículas */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* evita interferencias con clics */
}

/* Contenido principal encima de todo */
#hero .container {
    position: relative;
    z-index: 3;
}



/*NAVBAR*/
.navbar {
    transition: top 0.4s ease-in-out;
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0;
}


/* Botones futuristas */
.btn-warning {
    background-color: #ff6f00;
    border: none;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 10px #ff6f00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff6f00;
}

/* Secciones */
section {
    padding: 60px 0;
}

/* Animaciones al hacer scroll */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aparece-scroll {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.visible {
    opacity: 1;
    animation: fadeUp 1s ease-out forwards;
}


.garantia {
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f2c 100%);
    padding: 80px 20px;
    color: #e0e0e0;
    border-top: 2px solid #00ffe7;
    border-bottom: 2px solid #00ffe7;
    box-shadow: 0 0 20px #00ffe7 inset;
}

.titulo-garantia {
    font-size: 2.5rem;
    color: #00ffe7;
    text-shadow: 0 0 15px #00ffe7;
    margin-bottom: 20px;
}

.texto-garantia {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    text-shadow: 0 0 5px #00ffe7;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aparece-scroll {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.visible {
    opacity: 1;
    animation: fadeUp 1s ease-out forwards;
}

/* Formularios */
form.bg-dark {
    border: 1px solid #00ffe7;
    box-shadow: 0 0 15px #00ffe7;
}

form .form-control:focus {
    box-shadow: 0 0 5px #00ffe7;
    border-color: #00ffe7;
}

ul.list-unstyled li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.btn-lg {
    font-weight: bold;
    box-shadow: 0 0 10px #00ffe7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-lg:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ffe7;
}

/* Footer */
footer {
    background-color: #0a0f1c;
    color: #ccc;
    text-align: center;
    padding: 40px 0;
    font-size: 0.95rem;
}

footer a {
    color: #ff6f00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/*BOTON PARA IR A INICIO */
#btn-volver-arriba {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    box-shadow: 0 0 10px #ff6f00;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#btn-volver-arriba:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #ff6f00;
}
