/* ==========================================================================
   Fekete Dáma — utilities.css
   sr-only, reveal animations, print styles, reduced-motion overrides.
   ========================================================================== */

/* Screen reader only */
.fd-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.fd-skip-link {
    position: absolute;
    top: -60px;
    left: var(--s-16);
    background: var(--c-accent);
    color: var(--c-bg);
    padding: var(--s-8) var(--s-16);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--r-sm);
    z-index: 1000;
    transition: top var(--dur) var(--ease);
}
.fd-skip-link:focus { top: var(--s-16); }

/* Reveal animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
    will-change: opacity, transform;
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* Map embed */
.fd-map-embed {
    aspect-ratio: 16 / 10;
    width: 100%;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: var(--c-surface2);
}
.fd-map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.3) contrast(1.05);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}

/* Print */
@media print {
    .fd-header, .fd-mobile-menu, .fd-menu-backdrop, .fd-footer__bottom, .fd-age-gate { display: none !important; }
    body { background: #fff; color: #000; }
    * { color: #000 !important; background: #fff !important; }
    a { text-decoration: underline; }
}

/* Text helpers */
.fd-text-center { text-align: center; }
.fd-text-accent { color: var(--c-accent); }
.fd-text-dim    { color: var(--c-text-dim); }

/* Spacing helpers */
.fd-mt-0  { margin-top: 0; }
.fd-mt-16 { margin-top: var(--s-16); }
.fd-mt-24 { margin-top: var(--s-24); }
.fd-mt-32 { margin-top: var(--s-32); }
.fd-mt-48 { margin-top: var(--s-48); }
.fd-mb-16 { margin-bottom: var(--s-16); }
.fd-mb-24 { margin-bottom: var(--s-24); }
.fd-mb-32 { margin-bottom: var(--s-32); }
