/* Custom overrides and enhancements */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: #30442e;
    color: #faf9f6;
}

/* Subtle gradient border on cards on hover */
.group:hover {
    transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ed;
}
::-webkit-scrollbar-thumb {
    background: #9bb896;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #537350;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .animate-pulse {
        animation: none;
    }
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #30442e;
    outline-offset: 2px;
    border-radius: 4px;
}
