@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Bebas+Neue&family=Jost:wght@300;400;500&display=swap');

:root {
    --accent:      #b87333;
    --accent-l:    #d4924a;
    --accent-dim:  rgba(184,115,51,0.13);
    --dark:        #0f0a06;
    --dark2:       #1a100a;
    --dark3:       #1e1108;
    --text:        #f0e8df;
    --text-dim:    #9a8a7a;
    --border:      rgba(184,115,51,0.22);
    --border-h:    rgba(184,115,51,0.6);
    --r:           3px;
    --t:           0.32s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: 0.08s; }
.rd2 { transition-delay: 0.16s; }
.rd3 { transition-delay: 0.24s; }
.rd4 { transition-delay: 0.32s; }

/* ── HEADER ── */
header {
    position: fixed;
    top: 0; left: 0; right: 0; z-index: 1000;
    height: 72px; padding: 0 4%;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(15,10,6,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background var(--t), border-color var(--t);
    overflow: visible;
}
header.scrolled { background: rgba(8,4,2,0.97); border-color: var(--border-h); }

.nav-logo-img {
    height: 92px; width: auto; object-fit: contain;
    position: relative;
    /* Wysuwa się 10px poniżej belki (header 72px, logo 92px = +10px dół) */
    margin-bottom: -10px;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.7)) drop-shadow(0 2px 8px rgba(184,115,51,0.3));
    transition: filter var(--t), transform var(--t);
    z-index: 1001;
}
.nav-logo-img:hover {
    filter: drop-shadow(0 4px 18px rgba(0,0,0,0.8)) drop-shadow(0 2px 12px rgba(184,115,51,0.55));
    transform: scale(1.03);
}

nav ul { display: flex; list-style: none; gap: 30px; align-items: center; }
nav a {
    color: var(--text-dim);
    font-family: 'Jost'; font-size: 0.72rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 3px;
    transition: color var(--t);
    position: relative;
}
nav a::after {
    content: ''; position: absolute;
    bottom: -3px; left: 0; right: 0; height: 1px;
    background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t);
}
nav a:hover { color: var(--accent); }
nav a:hover::after { transform: scaleX(1); }

.lang-switch a {
    color: var(--accent) !important;
    border: 1px solid var(--accent);
    padding: 5px 13px; border-radius: var(--r);
}
.lang-switch a::after { display: none; }
.lang-switch a:hover { background: var(--accent); color: #fff !important; }

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 6px; background: none; border: none;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--text); transition: 0.3s; border-radius: 1px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 120px 5% 90px;
    position: relative; overflow: hidden;
    background-image: url('hero_bg.jpg');
    background-image: image-set(url('hero_bg.webp') type('image/webp'), url('hero_bg.jpg') type('image/jpeg'));
    background-size: cover; background-position: center 30%;
    background-attachment: fixed;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(to bottom, rgba(8,4,2,.72) 0%, rgba(8,4,2,.65) 45%, rgba(8,4,2,.88) 100%);
}
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.5) 100%);
}
.hero-content {
    position: relative; z-index: 1; max-width: 820px;
    animation: heroIn 1.1s cubic-bezier(.22,1,.36,1) both;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(40px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

.hero-wordmark { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
.wm-top {
    font-family: 'Jost'; font-size: .62rem; font-weight: 500;
    letter-spacing: 6px; text-transform: uppercase;
    color: var(--accent-l); margin-bottom: 12px;
    text-shadow: 0 1px 8px rgba(0,0,0,1);
    animation: heroIn 1.1s .1s cubic-bezier(.22,1,.36,1) both;
}
.wm-main {
    font-family: 'Bebas Neue';
    font-size: clamp(3.6rem,11vw,8.5rem);
    letter-spacing: 10px; line-height: 1; color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 40px rgba(0,0,0,.8);
    border-top: 1px solid rgba(184,115,51,.6);
    border-bottom: 1px solid rgba(184,115,51,.6);
    padding: 10px 22px; margin: 4px 0;
    animation: heroIn 1.1s .2s cubic-bezier(.22,1,.36,1) both;
}
.wm-sub {
    font-family: 'Jost'; font-size: .57rem; font-weight: 300;
    letter-spacing: 7px; text-transform: uppercase;
    color: rgba(255,255,255,.55); margin-top: 12px;
    text-shadow: 0 1px 6px rgba(0,0,0,.9);
}
.hero-sub {
    font-size: .95rem; color: var(--text-dim);
    margin-bottom: 46px; letter-spacing: 1px; font-weight: 300;
    animation: heroIn 1.1s .35s cubic-bezier(.22,1,.36,1) both;
}
.hero-btns {
    display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
    animation: heroIn 1.1s .45s cubic-bezier(.22,1,.36,1) both;
}

/* Buttons */
.btn {
    padding: 15px 36px; font-family: 'Jost'; font-size: .72rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: 3px;
    transition: all var(--t); border-radius: var(--r);
    display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
}
.btn-wa { background: var(--accent); color: #fff; box-shadow: 0 4px 22px rgba(184,115,51,.28); }
.btn-wa:hover { background: var(--accent-l); transform: translateY(-3px); box-shadow: 0 10px 34px rgba(184,115,51,.46); }
.btn-mail { border: 1px solid var(--border); color: var(--text-dim); background: transparent; }
.btn-mail:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); background: var(--accent-dim); }

.scroll-hint {
    position: absolute; bottom: 30px; left: 50%; z-index: 1;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,.28); font-size: .54rem; letter-spacing: 4px; text-transform: uppercase;
    animation: sBounce 2.4s ease-in-out infinite;
}
.scroll-hint::after {
    content: ''; display: block; width: 1px; height: 36px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}
@keyframes sBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(9px); }
}

/* ── DIVIDER ── */
.divider {
    display: flex; align-items: center; gap: 20px; padding: 16px 6%;
}
.divider::before, .divider::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}
.divider-text {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1rem; color: var(--text-dim); white-space: nowrap;
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; padding: 70px 5% 42px; }
.section-label {
    font-size: .6rem; letter-spacing: 5px; text-transform: uppercase;
    color: var(--accent); font-weight: 500; display: block; margin-bottom: 13px;
}
.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem,5vw,3.7rem); font-weight: 700; line-height: 1.1;
}
.section-header h2 em { font-style: italic; color: var(--accent-l); }
.section-header p {
    color: var(--text-dim); margin-top: 13px; font-size: .9rem;
    max-width: 450px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ── PHOTO GRID ── */
.products { padding: 0 4% 80px; }
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.pcard {
    position: relative; overflow: hidden;
    background: var(--dark3); border: 1px solid var(--border);
    cursor: pointer; border-radius: var(--r);
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
    aspect-ratio: 4/3;
}
.pcard:hover { border-color: var(--border-h); transform: scale(1.018); z-index: 2; box-shadow: 0 12px 38px rgba(0,0,0,.5); }
.pcard img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: var(--dark3);
    filter: brightness(.92) saturate(1.05);
    transition: transform .6s ease, filter .4s;
}
.pcard:hover img {
    transform: scale(1.04);
    filter: brightness(1) saturate(1.1);
}
.pcard .card-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 30px 13px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.82));
    font-family: 'Bebas Neue'; font-size: .98rem; letter-spacing: 2px;
    color: rgba(255,255,255,.82); transition: color var(--t);
}
.pcard:hover .card-label { color: var(--accent-l); }

/* ── VIDEO SECTION ── */
.video-section {
    padding: 0 4% 80px;
    background: var(--dark3);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.video-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.vcard {
    cursor: pointer; border: 1px solid var(--border); border-radius: var(--r);
    overflow: hidden; background: var(--dark);
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.vcard:hover { border-color: var(--border-h); transform: translateY(-4px); box-shadow: 0 16px 42px rgba(0,0,0,.55); }
.vcard-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.vcard-thumb video, .vcard-thumb .vthumb-img {
    width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: filter .4s;
}
.vcard:hover .vcard-thumb video,
.vcard:hover .vcard-thumb .vthumb-img { filter: brightness(.88); }
.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 50px; height: 50px;
    background: rgba(184,115,51,.82); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: #fff; pointer-events: none;
    transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.vcard:hover .play-btn {
    background: var(--accent);
    transform: translate(-50%,-50%) scale(1.12);
    box-shadow: 0 0 0 8px rgba(184,115,51,.16);
}
.vcard .card-label {
    position: static; padding: 11px 13px;
    font-family: 'Bebas Neue'; font-size: .9rem; letter-spacing: 2px;
    color: var(--text-dim); transition: color var(--t);
}
.vcard:hover .card-label { color: var(--accent); }

/* ── ATELIER BANNER ── */
.atelier-banner {
    position: relative; min-height: 440px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    overflow: hidden;
    background-image: url('atelier_bg.webp');
    background-image: image-set(url('atelier_bg.webp') type('image/webp'), url('atelier_bg.png') type('image/png'));
    background-size: cover; background-position: center 40%; background-attachment: fixed;
}
.atelier-banner::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(10,5,2,.72) 0%, rgba(10,5,2,.46) 50%, rgba(10,5,2,.82) 100%);
}
.atelier-banner-content { position: relative; z-index: 1; padding: 60px 5%; }
.atelier-banner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem,5vw,3.8rem); font-weight: 700; font-style: italic;
    margin-bottom: 18px; line-height: 1.1;
}
.atelier-banner p {
    color: var(--text-dim); font-size: .78rem; letter-spacing: 3px;
    text-transform: uppercase; margin-bottom: 30px;
}

/* ── WOODS STRIP ── */
.woods-strip {
    padding: 50px 5%; background: var(--dark3); text-align: center;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.woods-strip h3 {
    font-family: 'Cormorant Garamond', serif; font-size: 1.65rem;
    font-style: italic; margin-bottom: 26px; color: var(--text-dim);
}
.woods-list { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.wood-tag {
    padding: 7px 17px; border: 1px solid var(--border);
    font-size: .67rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-dim); border-radius: var(--r); cursor: default;
    transition: all var(--t);
}
.wood-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); transform: translateY(-2px); }

/* ── CARE SECTION ── */
.care-section { padding: 0 4% 80px; }
.care-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: start; max-width: 1300px; margin: 0 auto; }
.care-video-block {
    border: 1px solid var(--border); overflow: hidden;
    border-radius: var(--r); background: var(--dark3); transition: border-color var(--t);
}
.care-video-block:hover { border-color: var(--border-h); }
.care-img { width: 100%; height: 350px; object-fit: cover; filter: brightness(.88); transition: filter var(--t); }
.care-video-block:hover .care-img { filter: brightness(1); }
.care-video-label { display: flex; gap: 13px; align-items: flex-start; padding: 16px; border-top: 1px solid var(--border); }
.care-step { font-family: 'Bebas Neue'; font-size: 2.1rem; color: var(--accent); line-height: 1; opacity: .5; flex-shrink: 0; }
.care-video-label strong { display: block; font-family: 'Jost'; font-weight: 500; font-size: .81rem; letter-spacing: .5px; color: var(--text); margin-bottom: 4px; }
.care-video-label p { font-size: .75rem; color: var(--text-dim); line-height: 1.6; }
.care-text-block { display: flex; flex-direction: column; gap: 13px; }
.care-item {
    display: flex; gap: 13px; align-items: flex-start;
    padding: 17px; border: 1px solid var(--border); border-radius: var(--r);
    background: var(--dark3); transition: border-color var(--t), transform var(--t);
}
.care-item:hover { border-color: var(--accent); transform: translateX(4px); }
.care-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.care-item strong { display: block; font-family: 'Jost'; font-weight: 500; font-size: .81rem; color: var(--text); margin-bottom: 4px; letter-spacing: .5px; }
.care-item p { font-size: .75rem; color: var(--text-dim); line-height: 1.6; }

/* ── FOOTER ── */
footer { background: #000; padding: 68px 5% 38px; text-align: center; border-top: 1px solid var(--border); }
.footer-logo { height: 90px; width: auto; object-fit: contain; margin: 0 auto 28px; opacity: 1; filter: drop-shadow(0 4px 16px rgba(184,115,51,0.25)) drop-shadow(0 2px 8px rgba(0,0,0,0.6)); }
.footer-name { font-family: 'Bebas Neue'; font-size: 2.3rem; letter-spacing: 4px; color: var(--accent); margin-bottom: 6px; }
.footer-title { font-size: .67rem; letter-spacing: 4px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 30px; }
.footer-contacts { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 34px; }
.footer-contacts a { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: .84rem; letter-spacing: .5px; transition: color var(--t); }
.footer-contacts a:hover { color: var(--accent); }
.footer-cta { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem; color: var(--text-dim); margin-bottom: 26px; }
.copyright { font-size: .6rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; margin-top: 12px; }

/* ── LIGHTBOX ── */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.96); align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox.active { display: flex; animation: lbIn .22s ease; }
@keyframes lbIn { from { opacity:0; } to { opacity:1; } }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border: 1px solid var(--border); border-radius: var(--r); cursor: default; box-shadow: 0 0 80px rgba(0,0,0,.8); }
/* iOS video fix — geen fullscreen overname */
.lightbox video {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    cursor: default;
    /* Voorkom dat iOS het video element overstuurt */
    -webkit-playsinline: 1;
}
.lightbox-close { position: absolute; top: 18px; right: 24px; font-size: 1.8rem; color: var(--text-dim); cursor: pointer; background: none; border: none; line-height: 1; transition: color .2s, transform .2s; z-index: 10000; }
.lightbox-close:hover { color: var(--accent); transform: scale(1.12); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .video-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
    .photo-grid { grid-template-columns: repeat(2,1fr); }
    .video-grid { grid-template-columns: repeat(2,1fr); }
    .care-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hamburger { display: flex; }
    nav ul {
        display: none; position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(8,4,2,.98); flex-direction: column;
        padding: 26px 5%; gap: 16px; border-bottom: 1px solid var(--border);
    }
    nav ul.open { display: flex; }
    nav a { font-size: .9rem; letter-spacing: 2px; }
    nav a::after { display: none; }
    .hero, .atelier-banner { background-attachment: scroll; background-position: center center; }
    .nav-logo-img { height: 56px; margin-bottom: -6px; }
    .footer-logo { height: 64px; }
    .photo-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .care-img { height: 230px; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; width: 100%; }
    .footer-contacts { flex-direction: column; align-items: center; gap: 14px; }
    .section-header { padding: 48px 5% 22px; }
    .wm-main { font-size: clamp(2.8rem,17vw,5.5rem); letter-spacing: 5px; }
    .footer-logo { height: 48px; }
    .divider-text { font-size: .86rem; white-space: normal; text-align: center; }
}

/* ── SCROLL TO TOP ── */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 44px;
    height: 44px;
    background: rgba(184,115,51,0.85);
    border: 1px solid rgba(184,115,51,0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease;
    pointer-events: none;
}
.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top:hover {
    background: var(--accent-l);
}
.scroll-top svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (max-width: 600px) {
    .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}
