/* Modern utilities CSS - shared across all pages */

/* Smooth scrolling for the entire site */
html {
    scroll-behavior: smooth;
}

/* Back to top button styling */
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10000; /* High z-index to appear above lightboxes */
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,123,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

#return-to-top i {
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#return-to-top.show {
    opacity: 1;
    visibility: visible;
}

#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#return-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}