:root {
    --color-negro: #121212;
    --color-verde-fosforescente: #39ff14;
    --color-gris-oscuro: #202020;
}

/* Estilos generales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-negro);
    color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* HEADER */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: background-color 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    /* El ancho y alto se ajustan al contenedor, manteniendo la proporción */
    width: 100px;
    height: 60px;
    object-fit: contain; /* Esta es la clave. Asegura que la imagen se adapte sin distorsionarse. */
    border-radius: 0;
    border: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-verde-fosforescente);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--color-verde-fosforescente);
}

.nav-item:hover::after {
    width: 100%;
}

/* MAIN CONTENT (BODY) */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.5);
    animation: zoomIn 15s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8));
    z-index: -1;
}

.hero-text-container {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-verde-fosforescente);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    background-color: var(--color-verde-fosforescente);
    color: var(--color-negro);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2eff14;
    transform: scale(1.05);
}

/* FOOTER */
.main-footer {
    background-color: #04070a;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.copyright-text {
    font-size: 0.9rem;
    color: #aaa;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-verde-fosforescente);
    transform: translateY(-5px);
}

/* MEDIA QUERIES para responsividad */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        justify-content: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}