header {
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    height: 80px;
    margin-left: 80px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 900;
    font-size: 20px;
    transition: all 0.3s ease;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.nav-links a:hover {
    color: #d3824c;
}

.nav-links .contacto {
    background-color: #222;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
}

.nav-links .contacto:hover {
    background-color: #000;
}

/* Estilo para el ícono de hamburguesa */
.menu-toggle {
    display: none;
    /* Ocultar en pantallas grandes */
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background-color: #333;
}

/* Responsividad para móviles */
@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 10px 5%;
    }

    .logo {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
        display: none;
        /* Ocultar menú por defecto en móviles */
        width: 100%;
    }

    .nav-links.active {
        display: flex;
        /* Mostrar el menú cuando se activa */
        justify-content: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-links .contacto {
        margin-top: 15px;
    }

    /* Mostrar el ícono de hamburguesa en móviles */
    .menu-toggle {
        display: flex;
    }
}

@media screen and (max-width: 480px) {
    .nav-links a {
        font-size: 16px;
    }

    .logo {
        height: 60px;
    }
}