/* ============================================
   snoeren.cc - Carefully Composed
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0b0b0b;
    --bg-surface: #131313;
    --bg-elevated: #1a1a1a;
    --text-primary: #e5e5e5;
    --text-secondary: #8a8a8a;
    --text-muted: #555555;
    --accent: #b8916a;
    --accent-hover: #d4a87e;
    --accent-dim: rgba(184, 145, 106, 0.15);
    --border: #1f1f1f;
    --border-hover: #333333;
    --font-main: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.4s var(--ease-out);
    --radius: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* --- Scroll Reveal --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition);
}

#navbar.scrolled {
    border-bottom-color: var(--border);
    background: rgba(11, 11, 11, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    transition: color var(--transition);
}

.nav-logo-cc {
    color: var(--accent);
    font-weight: 500;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Language toggle */
.lang-toggle {
    background: none;
    border: 1px solid var(--border);
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 1.5rem;
    transition: border-color var(--transition);
}

.lang-toggle:hover {
    border-color: var(--accent);
}

.lang-option {
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    transition: color var(--transition);
    cursor: pointer;
}

.lang-option.active {
    color: var(--accent);
}

.lang-divider {
    font-size: 0.6rem;
    color: var(--text-muted);
    opacity: 0.4;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    transition: transform var(--transition), opacity 0.2s ease;
    transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* --- Hero --- */
#hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.2s var(--ease-out);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(11, 11, 11, 0.92) 0%,
        rgba(11, 11, 11, 0.75) 40%,
        rgba(11, 11, 11, 0.4) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4rem;
    min-height: 100dvh;
}

.hero-content {
    padding-top: 6rem;
}

.hero-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    opacity: 0;
    animation: heroFadeIn 1s var(--ease-out) 0.2s forwards;
}

.hero-title {
    font-family: var(--font-main);
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: var(--text-primary);
    opacity: 0;
    animation: heroFadeIn 1s var(--ease-out) 0.4s forwards;
}

.hero-signature {
    height: clamp(5rem, 14vw, 11rem);
    width: auto;
    display: block;
    filter: brightness(1.1);
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent);
    margin-top: 2rem;
    max-width: 28ch;
    line-height: 1.6;
    letter-spacing: 0.08em;
    opacity: 0;
    animation: heroFadeIn 1s var(--ease-out) 0.6s forwards;
}

.hero-cta {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 0.85rem 2.5rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all var(--transition);
    opacity: 0;
    animation: heroFadeIn 1s var(--ease-out) 0.8s forwards;
}

.hero-cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

.hero-cta:active {
    transform: scale(0.98);
}

.hero-accent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-right: 2rem;
    opacity: 0;
    animation: heroFadeIn 1.2s var(--ease-out) 1s forwards;
}

.hero-line {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.hero-accent-text {
    writing-mode: vertical-rl;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Shared Section Styles --- */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 7rem 2rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-main);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
}

.section-title--left {
    text-align: left;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 0.75rem;
    max-width: 45ch;
}

/* --- Philosophy --- */
#philosophy {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.philosophy-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-text {
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.8;
    max-width: 50ch;
    margin-top: 1rem;
}

.philosophy-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: border-color var(--transition);
}

.pillar:first-child {
    border-top: 1px solid var(--border);
}

.pillar:hover {
    border-color: var(--accent);
}

.pillar-cc {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.pillar-amp {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 -0.25rem;
}

.pillar-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

/* --- Gallery --- */
#gallery {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

#gallery > .section-container {
    padding-bottom: 2rem;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 1.1rem;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--text-secondary);
}

.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

/* --- Carousel --- */
.carousel {
    width: 100%;
    overflow: hidden;
    padding: 2.5rem 0 4rem;
    position: relative;
}

.carousel::before,
.carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.carousel-track {
    display: flex;
    gap: 1rem;
    animation: carouselScroll 60s linear infinite;
    width: max-content;
}

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

@keyframes carouselScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-item {
    flex-shrink: 0;
    width: 320px;
    height: 420px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-elevated);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-item .photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}

.carousel-item:hover .photo-overlay {
    opacity: 1;
}

.photo-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    transform: translateY(8px);
    transition: transform 0.4s var(--ease-out);
}

.carousel-item:hover .photo-title {
    transform: translateY(0);
}

.photo-category {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    transform: translateY(8px);
    transition: transform 0.4s var(--ease-out) 0.05s;
}

.carousel-item:hover .photo-category {
    transform: translateY(0);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}

.empty-icon {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    opacity: 0.4;
}

.empty-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.empty-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Studio Section --- */
#studio {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.studio-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.studio-right p {
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.25rem;
    line-height: 1.8;
    max-width: 55ch;
}

.studio-specs {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: border-color var(--transition);
}

.spec-item:hover {
    border-color: var(--accent);
}

.spec-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.spec-value {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.studio-note {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    border-left: 2px solid var(--accent);
    padding-left: 1rem;
}

/* --- About Section --- */
#about {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
    margin: 1.75rem 0;
}

.about-left p {
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.25rem;
    line-height: 1.8;
    max-width: 55ch;
}

.about-signature {
    margin-top: 2rem;
}

.signature-logo {
    height: 80px;
    width: auto;
    opacity: 0.85;
    transition: opacity var(--transition);
}

.signature-logo:hover {
    opacity: 1;
}

.about-right {
    padding-top: 3rem;
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05);
    transition: filter 0.6s var(--ease-out);
}

.about-photo:hover img {
    filter: grayscale(0.6) contrast(1.05);
}

.about-photo-border {
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 1px solid var(--accent);
    z-index: -1;
    transition: all var(--transition);
}

.about-photo:hover .about-photo-border {
    top: -16px;
    left: -16px;
    right: -16px;
    bottom: -16px;
}

/* --- Contact Section --- */
#contact {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.contact-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-container .section-subtitle {
    text-align: center;
}

.contact-link {
    display: inline-block;
    margin-top: 2rem;
    font-size: 1.15rem;
    color: var(--accent);
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent);
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.contact-link:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

.contact-link:active {
    transform: scale(0.98);
}

/* --- Testimonials --- */
#testimonials {
    padding: var(--section-pad) 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 2.5rem;
    margin: 0;
    position: relative;
    transition: border-color var(--transition);
}

.testimonial-card:hover {
    border-color: var(--accent);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0 0 1.5rem 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.testimonial-dash {
    color: var(--accent);
}

.testimonial-name {
    color: var(--text-primary);
    font-weight: 500;
}

/* --- Footer --- */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 36px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-cc {
    color: var(--accent);
}

.footer-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.lightbox.active .lightbox-content img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.02em;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition), transform 0.2s var(--ease-out);
    padding: 0.75rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--accent);
}

.lightbox-close:active,
.lightbox-prev:active,
.lightbox-next:active {
    transform: scale(0.92);
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-2px);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(2px);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .studio-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .carousel-item {
        width: 260px;
        height: 340px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(11, 11, 11, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .lang-toggle {
        margin-left: auto;
        margin-right: 0.75rem;
        z-index: 101;
    }

    .nav-links a {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
        color: var(--text-secondary);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .hero-accent {
        display: none;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .hero-overlay {
        background: linear-gradient(
            to right,
            rgba(11, 11, 11, 0.95) 0%,
            rgba(11, 11, 11, 0.8) 50%,
            rgba(11, 11, 11, 0.6) 100%
        );
    }

    .section-container {
        padding: 5rem 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .philosophy-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .carousel-item {
        width: 220px;
        height: 290px;
    }

    .carousel-track {
        gap: 0.75rem;
    }

    .category-filter {
        gap: 0.35rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.6rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .contact-link {
        font-size: 0.95rem;
        padding: 0.85rem 1.5rem;
    }

    .spec-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .about-photo-border {
        top: 10px;
        left: 10px;
        right: -10px;
        bottom: -10px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 8rem;
    }

    .carousel-item {
        width: 180px;
        height: 240px;
    }
}
