/* Estilos del header y menú hamburguesa */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header-container h1 {
    font-size: 1.5rem;
    margin: 0;
    padding: 1rem 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

header nav {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

header nav a {
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
}

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

    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2c3e50;
        flex-direction: column;
        width: 100%;
        z-index: 1000;
    }

    header nav.active {
        display: flex;
    }

    header nav a {
        padding: 1rem;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-container {
        position: relative;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }
}
