/* Custom styles that complement Tailwind */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #ff6347;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(255, 99, 71, 0.3);
    color: #fff;
}

/* Prevent content flash on scroll-reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        will-change: opacity, transform;
    }
}

/* Gold accent line under section headers */
.gold-line {
    background: linear-gradient(90deg, transparent, #d4a84b, transparent);
    height: 1px;
}

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 9999;
}

/* Custom select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff6347' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Subtle shimmer on coral buttons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Ensure images don't shift layout */
img {
    max-width: 100%;
    height: auto;
}
