/* Custom overrides and utilities */

html {
    scroll-behavior: smooth;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf0eb;
}
::-webkit-scrollbar-thumb {
    background: #d44040;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b82828;
}

/* Selection color */
::selection {
    background: rgba(184, 40, 40, 0.2);
    color: #682020;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d44040;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Loading state for images */
img {
    background-color: #fdf0eb;
}

/* Subtle pattern for hero background */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
