/* Custom styles for Visual Reflexology */

:root {
    --color-midnight-950: #030714;
    --color-midnight-900: #0a0f1e;
    --color-midnight-800: #0f172a;
    --color-mint-300: #6ee7b7;
    --color-mint-400: #34d399;
    --color-mint-500: #10b981;
}

* {
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(3, 7, 20, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(110, 231, 183, 0.08);
}

.nav-scrolled #navbar .nav-link {
    color: #94a3b8 !important;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-mint-400), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Benefit items */
.benefit-item {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Decorative line animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-midnight-950);
}

::-webkit-scrollbar-thumb {
    background: rgba(110, 231, 183, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(110, 231, 183, 0.4);
}

/* Selection */
::selection {
    background: rgba(110, 231, 183, 0.2);
    color: #6ee7b7;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
