/* Custom styles for Guardian Recovery */

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

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(250, 244, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(118, 51, 79, 0.08);
}

/* Hero animations - content visible by default, enhanced with JS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animated {
    opacity: 1;
    animation: fadeInUp 0.7s ease forwards;
}

.hero-animated:nth-child(2) { animation-delay: 0.1s; }
.hero-animated:nth-child(3) { animation-delay: 0.2s; }
.hero-animated:nth-child(4) { animation-delay: 0.3s; }
.hero-animated:nth-child(5) { animation-delay: 0.4s; }

/* Service card hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Approach step animation */
.approach-step {
    transition: transform 0.3s ease;
}

/* Scroll reveal - progressive enhancement via JS */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(20px);
}

@media (prefers-reduced-motion: reduce) {
    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .hero-animated {
        opacity: 1;
        animation: none;
    }
}

/* Selection color */
::selection {
    background: #d4a5b8;
    color: #2a131e;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf4f7;
}
::-webkit-scrollbar-thumb {
    background: #d4a5b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c07d98;
}
