/* Custom styles for Plymouth Recovery Center */

:root {
    --color-navy-900: #102a43;
    --color-gold-500: #d4912a;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Hero gradient overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(10, 26, 46, 0.92) 0%, rgba(16, 42, 67, 0.85) 50%, rgba(16, 42, 67, 0.7) 100%);
}

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4912a, #efc16d);
    border-radius: 2px;
}

/* Card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Navigation scroll effect */
.nav.scrolled {
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d4912a;
    outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
    background: #627d98;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334e68;
}

/* Selection color */
::selection {
    background-color: #d4912a;
    color: #102a43;
}
