/* Scroll Control Button */

.scroll-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: rgba(44, 62, 80, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.scroll-control.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-control:hover {
    background-color: rgba(44, 62, 80, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-control:active {
    transform: translateY(0);
}

.scroll-control svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transform: rotate(180deg);
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-control {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    
    .scroll-control svg {
        width: 20px;
        height: 20px;
    }
}

