
.header-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 5px 0;
}
.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Evita desbordamientos en pantallas pequeñas */
    gap: 20px;
}
.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}
.nav-links li a:hover {
    color: #e63946;
}
.social-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 150px; 
}
.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    transition: color 0.3s;
}
.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    color: #e63946;
    transition: color 0.3s;
}
.social-icon:hover {
    background: #e63946;
    color: white;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-bar {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 80px;
        left: 0;
        text-align: center;
    }
    .nav-bar.active {
        display: flex;
        text-align: start;
    }
    .nav-links {
        flex-direction: column;

    }
    .social-section {
        justify-content: center;
        width: 100%; /* Evita desbordamiento en móviles */
    }
}