/* Estilos generales */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
    padding: 15px 30px;
    color: #333;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: auto;
    margin-right: 10px;
}

.agency-name a {
    font-size: 34px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    position: relative;
    width: 100%;
}

/* Estilo de los enlaces */
.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 10px 15px;
    display: block;
    text-align: left; 
    width: 100%;
}

.nav-links a:hover {
    color: #e91e63;
}

/* Submenú oculto */
.nav-links li ul {
    top: 100%;
    background: #ececec;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 100%;
}

/* Ícono de menú hamburguesa */
.menu-icon {
    font-size: 30px;
    color: #333;
    cursor: pointer;
    display: none;
}

/* Checkbox oculto para activar el menú en móvil */
.menu-toggle {
    display: none;
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        padding: 0px;
        width: 100px;
        top: 90%;
        left: -20px;
        position: absolute;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        background: #ececec;
    }

    .nav-links li {
        width: 100%;
        background: #ececec;
    }

    .nav-links li a {
        display: block;
        padding: 5px;
        background: #ececec;
        text-align: center;
    }

    /* Mostrar menú al hacer clic en el ícono */
    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }

}

