/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d1319;
}
::-webkit-scrollbar-thumb {
    background: #5fb8a5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3d9e8c;
}

/* Floating card animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-0.5deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.3deg); }
}

.floating-card {
    will-change: transform;
}

/* Pulse dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Scroll line */
@keyframes scroll-line {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Scroll reveal base (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover */
.service-card:hover {
    box-shadow: 0 12px 40px rgba(13, 19, 25, 0.1) !important;
    border-color: rgba(95, 184, 165, 0.3) !important;
}

/* Process card hover */
.process-card:hover {
    box-shadow: 0 12px 40px rgba(13, 19, 25, 0.08) !important;
    border-color: rgba(95, 184, 165, 0.3) !important;
}

/* Header styles */
#site-header {
    background: rgba(240, 243, 247, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 19, 25, 0.06);
}

#site-header.scrolled {
    box-shadow: 0 4px 24px rgba(13, 19, 25, 0.08);
}

/* Mobile links */
.mobile-link {
    transition: color 0.2s ease;
}
.mobile-link:hover {
    color: #5fb8a5 !important;
}

/* Selection color */
::selection {
    background: rgba(95, 184, 165, 0.3);
    color: #0d1319;
}
