/* Estilos Generales */
:root {
    --primary: #4E008E;
    --secundary: #FF6600;
    --texto: #585656;
    --bg-white: #FFFFFF;
}

header {
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.logo img {
    width: 150px;
    height: 35px;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}



.nav-links li a {
    color: var(--secundary);
    text-decoration: none;
    font-weight: 500;
}

/* BOTÓN OUTLINE */
.btn-outline {
    border: 2px solid var(--secundary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: background 0.3s, color 0.3s;
    display: inline-block;
}

.nav-links-item {
    display: none;
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
}

.btn-outline:hover {
    background: var(--bg-white);
    color: var(--primary);
}

/* MENU TOGGLE (hamburguesa) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1200;
}

.menu-toggle span {
    height: 2px;
    width: 25px;
    background: var(--bg-white);
    transition: 0.3s;
}

/* ANIMACIÓN A "X" */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* OVERLAY */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.overlay.active {
    display: block;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .logo img {
        width: 104px;
        height: 25px;
    }

    .nav-links-item {
        display: inline-block;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background: linear-gradient(135deg, #f60, #7f1d93);
        height: 100vh;
        width: 70%;
        max-width: 300px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding: 5rem 2rem;
        gap: 2rem;
        z-index: 1100;
    }

    .nav-links.open {
        transform: translateX(0);
    }
}