/* STONE WAY - Shared Styles */
/* Existing classes extracted from index.html */

.gold-border {
    border-color: rgba(197, 168, 106, 0.35);
}

.gold-gradient-text {
    background: linear-gradient(135deg, #2D3136 0%, #9A7E3E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-gradient-text-light {
    background: linear-gradient(135deg, #FFFFFF 0%, #DFCA8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-header {
    background: rgba(247, 248, 250, 0.9);
    backdrop-filter: blur(12px);
}

/* NEW: Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-scale {
    transform: scale(.95);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* NEW: Carousel scrollbar hide */
.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* NEW: FAQ accordion animation */
details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .3s ease, content-visibility .3s;
}

details[open]::details-content {
    block-size: auto;
}

/* NEW: Gallery filter pills */
.filter-btn.active {
    background: #C5A86A;
    color: #fff;
    border-color: #9A7E3E;
}

#ba-grid [role="slider"]:focus-visible,
.filter-btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C5A86A;
    outline-offset: 2px;
}

/* NEW: Fixed-header anchor offset for smooth scrolling */
section[id] {
    scroll-margin-top: 5.5rem;
}

/* NEW: Reduced motion preference handling */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* NEW: Mobile dropdown chevron rotation */
.rotate-180 {
    transform: rotate(180deg);
}

.fa-chevron-down {
    transition: transform 0.3s ease;
}

/* NEW: Article typography (.prose) — Tailwind CDN does not include the
   Typography plugin, so blog/About rich text is styled manually here */
.prose {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1rem;
    overflow-wrap: break-word;
}

@media (min-width: 640px) {
    .prose {
        font-size: 1.0625rem;
    }
}

@media (min-width: 1024px) {
    .prose {
        font-size: 1.125rem;
    }
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #121417;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.75em 0 0.6em;
}

.prose h1 { font-size: 2em; }
.prose h2 { font-size: 1.6em; }
.prose h3 { font-size: 1.3em; }
.prose h4, .prose h5, .prose h6 { font-size: 1.1em; }

.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre,
.prose table, .prose figure, .prose iframe, .prose video {
    margin: 1.25em 0;
}

.prose ul, .prose ol {
    padding-left: 1.5em;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0.4em 0; }

.prose strong, .prose b {
    color: #121417;
    font-weight: 600;
}

.prose a {
    color: #9A7E3E;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.prose a:hover { color: #C5A86A; }

.prose img, .prose video, .prose iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0.5rem;
}

.prose blockquote {
    border-left: 4px solid #C5A86A;
    background: #F7F8FA;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0.25rem 0.25rem 0;
    font-style: italic;
}

.prose pre {
    background: #121417;
    color: #F7F8FA;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-size: 0.875em;
    line-height: 1.7;
}

.prose code {
    background: rgba(197, 168, 106, 0.15);
    color: #9A7E3E;
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.9em;
}

.prose pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.925em;
}

.prose th, .prose td {
    border: 1px solid #E2E6EC;
    padding: 0.6rem 0.8rem;
    text-align: left;
}

.prose th {
    background: #F7F8FA;
    color: #121417;
    font-weight: 600;
}

.prose hr {
    border: 0;
    border-top: 1px solid #E2E6EC;
    margin: 2.5em 0;
}

.prose figcaption {
    font-size: 0.875em;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5em;
}
