﻿/* General */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.4;
    width: 100%;
}

/* Header */
header {
    background: radial-gradient(circle, #0E1DB0, #0F59B1);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
    position: relative;
    height: 100px;
}

    header .logo img {
        width: 210px;
        height: auto;
    }

nav.contenedor {
    position: relative;
    left: -90px;
}

.nav-principal {
    display: flex;
    gap: 20px;
}

    .nav-principal li {
        margin-top: 10px;
    }

        .nav-principal li a {
            color: white;
            font-size: 20px;
            font-weight: 700;
            text-transform: uppercase;
            text-decoration: none;
            transition: color 0.3s, transform 0.3s;
        }

            .nav-principal li a:hover {
                color: #0fcbff;
                transform: scale(1.1);
            }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        align-items: center;
    }

    .logo img {
        width: 150px;
    }

    nav.contenedor {
        left: 0;
    }

    .nav-principal {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

        .nav-principal li {
            margin-left: 0;
        }

            .nav-principal li a {
                font-size: 18px;
            }
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
}

    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        border-bottom: 2px solid #555;
        padding-bottom: 5px;
    }

    .footer-section p {
        font-size: 0.9rem;
        color: #ccc;
    }

        .footer-section p a {
            color: #00bcd4;
            text-decoration: none;
        }

            .footer-section p a:hover {
                text-decoration: underline;
            }

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8rem;
    color: #aaa;
}

/* Footer responsivo */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        min-width: 100%;
        margin-bottom: 20px;
    }

        .footer-section h4 {
            font-size: 1rem;
        }

    .footer-bottom {
        font-size: 0.9rem;
    }
}

/* Transition Smooth Effect */
body *:not(header):not(footer) {
    transition: all 0.5s ease-in-out;
}

/* Animación Visible */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}
