/* Custom styles and overrides */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf7f0;
}
::-webkit-scrollbar-thumb {
    background: #d46143;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a13a29;
}

/* Selection color */
::selection {
    background: #d46143;
    color: #ffffff;
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #d46143;
    outline-offset: 2px;
}

/* Subtle pattern for hero overlay */
.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(15, 26, 46, 0.3) 100%);
    pointer-events: none;
}

/* Prevent layout shift on image load */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Print styles */
@media print {
    nav, .cta-btn, #mobile-menu-btn { display: none !important; }
    body { color: #000; background: #fff; }
    .hero-overlay { background: #1a2744 !important; }
}
