/* Trappers Ridge HOA — Custom Styles */

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

/* Ensure all interactive elements have clear focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #2e7d32;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #2e7d32;
    color: #fefdf8;
}

/* Print styles */
@media print {
    header, #back-to-top, .geo-shape { display: none; }
    body { background: white; }
    section { page-break-inside: avoid; }
}

/* Reduce motion for accessibility */
@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; }
    .float-1, .float-2, .float-3 { animation: none; }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .card-lift { border: 2px solid CanvasText; }
    .tag-pill { border: 1px solid CanvasText; }
}

/* Very small screens */
@media (max-width: 360px) {
    .font-heading { font-size: inherit; }
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
}

/* Large screens */
@media (min-width: 1920px) {
    .max-w-7xl { max-width: 80rem; }
}
