/* Custom styles that extend beyond Tailwind */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #6B0F1A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #6B0F1A;
    color: #FFFDF7;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .img-zoom img {
        transition: none;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    .img-zoom {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-afro-burgundy {
        background-color: ButtonText;
    }
    
    .text-afro-burgundy {
        color: ButtonText;
    }
}

/* Navbar scroll state */
nav.scrolled {
    box-shadow: 0 1px 20px rgba(107, 15, 26, 0.08);
}

/* Subtle pattern overlay for hero */
.hero-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(212, 163, 115, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
