/* Debreceni Bútorkészítő – stíluslap */
:root {
  --bg: #F5F3EF;
  --white: #FFFFFF;
  --ink: #1C1B19;
  --muted: #4A463F;
  --muted-2: #5C574F;
  --line: #E2DDD4;
  --accent: #8A5526;       /* diófa-barna – itt cserélhető */
  --accent-dark: #5E3815;
  --dark-text: #C9C3B8;
  --radius: 20px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; }
p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: var(--bg); }
.band-dark .section-head p { color: var(--dark-text); }

/* Gombok */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #000; color: var(--bg); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* Fejléc */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(245,243,239,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 80px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-weight: 700; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.lead { max-width: 540px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.m-wide { grid-column: span 2; height: 320px; width: 100%; border-radius: var(--radius); }
.m-small { height: 180px; width: 100%; border-radius: var(--radius); }

/* Nagyítható képek */
.zoom { display: block; overflow: hidden; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.zoom:hover img { transform: scale(1.04); }
.zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,19,17,.94); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: var(--bg); font-size: 16px; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Helykitöltő, amíg nincs kép feltöltve */
.ph { background-color: #E6E0D6; background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.035) 0 12px, transparent 12px 24px); display: flex; align-items: flex-end; padding: 16px; font-size: 13px; color: var(--muted-2); }
.band-dark .ph { background-color: #2E2C28; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px); color: #A8A196; }

/* Szekciófej */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.section-head p { max-width: 460px; color: var(--muted); }

/* Szolgáltatások */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--bg); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.card h3 { font-size: 24px; line-height: 1.2; }
.card p { color: var(--muted); font-size: 16px; }

/* Folyamat */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--ink); }
.step-num { font: 700 15px var(--display); color: var(--accent); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Referenciák */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.g-img { height: 280px; width: 100%; border-radius: 16px; }
.gallery figcaption { font-size: 15px; color: var(--dark-text); }

/* Kapcsolat */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.contact-card { background: var(--bg); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.contact-card .card-icon { margin-bottom: 12px; }
.contact-card .label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.contact-card .value { font: 700 22px/1.3 var(--display); color: var(--ink); text-decoration: none; }
.contact-card .sub { font-size: 16px; color: var(--muted); text-decoration: none; }
.contact-card a.value:hover, .contact-card a.sub:hover { color: var(--accent); }

/* Lábléc */
.site-footer { background: var(--ink); color: var(--dark-text); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; }
.footer-inner img { height: 64px; width: auto; }

@media (max-width: 600px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .m-wide { height: 220px; }
  .m-small { height: 130px; }
  .contact-card { padding: 24px; }
  .brand img { height: 64px; }
  .lightbox { padding: 64px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
