/* Botón cuadrado en el borde derecho */
.menu-button {
    position: fixed;
    top: 140px;
    right: 0;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #8a1bcf;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    transition: all 300ms ease;
    border-radius: 5px 0 0 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.menu-button:hover {
    background: #6a11cb;
}

/* Menú oculto inicialmente */
.hidden-menu {
    position: fixed;
    top: calc(140px + 30px); /* Ajustamos más abajo del botón */
    right: 0;
    display: flex;
    flex-direction: column; /* Apilamos los botones verticalmente */
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease;
    z-index: 100;
}

.hidden-menu.show {
    opacity: 1;
    visibility: visible;
}

/* Estilo para los botones (teléfono y correo) */
.btn-tel, .btn-mail {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #8a1bcf, #ff8177);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0; /* Espaciado entre los botones */
    border-radius: 5px;
    transition: all 300ms ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 102;
}

.btn-tel:hover, .btn-mail:hover {
    background: linear-gradient(45deg, #ff8177, #8a1bcf);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.menu-button, .hidden-menu, .btn-tel, .btn-mail {
    z-index: 102;
}

/* Espaciado adicional para pantallas pequeñas */
@media only screen and (min-width: 320px) and (max-width: 768px) {
    .btn-tel, .btn-mail {
        width: 63px;
        height: 63px;
    }
}
