/* Custom style overrides and fine-tuning */

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

/* Ensure all links reset for consistency */
a {
    text-decoration: none;
}

/* Selection color */
::selection {
    background: #E8634B;
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e1e1e;
}
::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E8634B;
}

/* Subtle pattern for hero accent area */
.hero-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(232, 99, 75, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #E8634B;
    outline-offset: 2px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}
