/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: white;
    color: var(--accent-red);
    transform: translateY(-5px);
}

/* Floating Dock */
.floating-dock {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: rgba(20, 20, 20, 0.9);
    padding: 8px 8px 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 9998;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    gap: 40px;
    transition: all 0.3s ease;
    animation: dockSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    width: max-content;
    max-width: 90%;
    padding-right: 8px;
}

@keyframes dockSlideUp {
    0% {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.dock-logo {
    font-weight: 900;
    color: white;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.dock-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dock-btn {
    background: var(--accent-red);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s;
    white-space: nowrap;
}

.dock-btn-whatsapp {
    background: #25D366;
    /* WhatsApp Green */
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s;
    white-space: nowrap;
}

.dock-btn:hover,
.dock-btn-whatsapp:hover {
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-dock {
        gap: 16px;
        padding: 8px 8px 8px 20px;
    }
}