/* Marine-D3 — atelier template (ocean wellness palette) */

body {
    font-family: 'Open Sans', 'Roboto', ui-sans-serif, system-ui, sans-serif;
    background-image:
        radial-gradient(ellipse 80% 50% at 100% -20%, rgba(13, 59, 76, 0.07), transparent),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(26, 143, 130, 0.06), transparent);
}

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;
}

.font-display.font-bold,
h2.font-bold,
h3.font-bold {
    font-weight: 800;
}

html {
    scroll-behavior: smooth;
}

#header.scrolled {
    background-color: rgba(242, 247, 248, 0.92);
    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-frame {
    background-color: #d8e6ea;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Decorative banner photos: fill frame without stretching proportions */
.banner-photo {
    object-fit: cover;
    object-position: center;
}

.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(13, 59, 76, 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 #1a8f82;
    outline-offset: 2px;
}

details summary {
    list-style: none;
}

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

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.32, 1) both;
}

.reveal-delay-1 {
    animation-delay: 0.12s;
}

.reveal-delay-2 {
    animation-delay: 0.24s;
}

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

    .hover-lift,
    .reveal,
    .reveal-delay-1,
    .reveal-delay-2 {
        transition: none;
        animation: none;
        transform: none;
    }
}
