/* Smooth Global Hover Transitions */
a, 
button, 
.wp-block-button__link, 
.wp-block-navigation-item__content,
.spectra-image-hover-effect {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Hover Interactivity for Buttons and Links */
.wp-block-button__link:hover, 
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Page Column / Card Interactivity */
.wp-block-columns .wp-block-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Go to Top Button */
.go-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--primary, #111111);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    z-index: 99999;
}

.go-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top-btn:hover {
    background-color: var(--wp--preset--color--secondary, #333333);
    transform: translateY(-5px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

/* Global Subtle Entrance Effects */
body .wp-block-group,
body .wp-block-columns,
body .wp-block-cover {
    opacity: 0;
    transform: translateY(20px);
    animation: subtleEntrance 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes subtleEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
