/* Atelier template — custom styles (fonts + motion + utilities) */

body {
    font-family: 'Open Sans', 'Roboto', ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
}

h1.font-display {
    font-weight: 900;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
}

.font-display {
    font-family: 'Roboto', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
    font-weight: 800;
}

/* Tailwind .font-bold (700) on display headings: step up to match */
.font-display.font-bold,
h2.font-bold,
h3.font-bold {
    font-weight: 800;
}

html {
    scroll-behavior: smooth;
}

#header.scrolled {
    background-color: rgba(251, 246, 233, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
}

#mobile-menu {
    transition: opacity 0.25s ease-out, max-height 0.3s ease-out;
}

.img-zoom img {
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.32, 1);
}

.img-zoom:hover img {
    transform: scale(1.04);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -24px rgba(61, 46, 38, 0.35);
}

.hide-scrollbar {
    scrollbar-width: none;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #f5b813;
    outline-offset: 2px;
}

.lightning-bg {
    background-image: radial-gradient(circle at 15% 20%, rgba(245, 184, 19, 0.18), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(245, 184, 19, 0.12), transparent 50%);
}

.bolt-divider {
    position: relative;
}

.bolt-divider::before {
    content: '';
    position: absolute;
    inset: auto 0 -1px 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f5b813, transparent);
}

details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .img-zoom img,
    .hover-lift {
        transition: none;
    }

    .img-zoom:hover img {
        transform: none;
    }
}
