/* Equality 13 — Custom Styles */

/* Base */
* { box-sizing: border-box; }
body { margin: 0; padding: 0; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFF8F6; }
::-webkit-scrollbar-thumb { background: #7B1E3A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5A1529; }

/* Selection */
::selection { background: #7B1E3A; color: #FFF8F6; }

/* Focus visible */
:focus-visible { outline: 3px solid #7B1E3A; outline-offset: 2px; border-radius: 4px; }

/* Image optimization */
img { max-width: 100%; height: auto; }

/* Smooth transitions for all interactive elements */
a, button { transition: all 0.2s ease; }

/* Print styles */
@media print {
    nav, .geo-accent, .blob-1, .blob-2 { display: none; }
    body { color: #000; background: #fff; }
}

/* Reduced motion */
@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.hidden-reveal { opacity: 1 !important; transform: none !important; }
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .font-serif { font-size: 1.75rem; }
    #hero h1 { font-size: 2.25rem; }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1023px) {
    .geo-card::after { width: 80px; height: 80px; }
}

/* Large screens */
@media (min-width: 1280px) {
    .max-w-7xl { padding-left: 2rem; padding-right: 2rem; }
}

/* Landscape phone adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    #hero { min-height: 100vh; }
    #hero .absolute.bottom-8 { display: none; }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .cta-btn, button, a[href="#visit"] {
        border: 2px solid currentColor;
    }
}

/* Touch device optimization */
@media (hover: none) {
    .geo-card:hover { transform: none; }
    .geo-card:hover::after { transform: none; }
}
