/*
 * styles.css — Custom styles that go beyond Tailwind utilities.
 * Keep this file lean: Tailwind handles 95% of styling.
 * Add here only what Tailwind can't express (custom keyframes, etc.)
 */

/* Visually hidden but indexable by search engines (sr-only pattern).
   Applied to pre-rendered SEO fallback content in index.html mount divs. */
.seo-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.ambient-glow {
    background: radial-gradient(circle at 50% -20%, rgba(224, 169, 109, 0.15), transparent 60%);
}

/* Smooth scroll padding offset so sticky nav doesn't overlap section headings */
[id] {
    scroll-margin-top: 6rem;
}

/* Reviews marquee — track is rendered twice in reviews.js for a seamless loop */
.marquee {
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 50s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Gallery — horizontal scroller, auto-advanced via JS, scrollbar hidden */
.gallery-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}
