/* Custom styles for Foam Knockout */

:root {
    --color-midnight-900: #0A1F3F;
    --color-midnight-950: #060F1E;
    --color-mint-300: #A7F3D0;
    --color-mint-400: #34D4A8;
    --color-mint-500: #10B981;
    --color-mint-600: #059669;
    --color-mint-700: #047857;
    --color-stone-50: #FAFAF9;
    --color-stone-100: #F5F5F4;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-stone-100);
}
::-webkit-scrollbar-thumb {
    background: var(--color-midnight-900);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-mint-600);
}

/* Scroll indicator animation */
@keyframes scrollIndicator {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
.animate-scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Service card hover - text color fix */
.service-card h3,
.service-card p {
    transition: color 0.5s ease;
}

/* Process step connector lines on mobile */
@media (max-width: 1023px) {
    .process-step:not(:last-child)::after {
        content: '';
        display: block;
        width: 2px;
        height: 32px;
        background: linear-gradient(to bottom, var(--color-mint-300), transparent);
        margin: 0 auto;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.4s ease, pointer-events 0.4s ease;
}
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Gallery item cursor */
.gallery-item {
    cursor: pointer;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .animate-scroll-indicator {
        animation: none;
    }
    .gallery-item img {
        transition: none;
    }
    .service-card {
        transition: none;
    }
}

/* Selection color */
::selection {
    background: var(--color-mint-400);
    color: var(--color-midnight-900);
}
