/* Custom styles supplementing Tailwind */

/* Ensure smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(212, 163, 82, 0.3);
    color: #faf0e0;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid rgba(212, 163, 82, 0.6);
    outline-offset: 2px;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

img[src] {
    opacity: 1;
}

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

/* Print styles */
@media print {
    nav, .hero-gradient, #process, footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .gold-text {
        -webkit-text-fill-color: #b8860b;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .feature-card {
        border: 1px solid ButtonText;
    }
    
    .btn-gold {
        border: 2px solid ButtonText;
    }
}

/* Landscape mobile optimization */
@media (max-width: 640px) and (orientation: landscape) {
    .hero-gradient {
        background: radial-gradient(ellipse at 50% 30%, rgba(220,82,52,0.35) 0%, rgba(10,10,13,0.92) 70%, #0a0a0d 100%);
    }
}

/* Very tall mobile screens */
@media (max-height: 700px) and (max-width: 430px) {
    #top {
        min-height: auto;
        padding: 100px 0 60px;
    }
}
