/* naszriporter.hu – Love.Difference. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }

:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --ink: #1f1c19;
  --muted: #6b645c;
  --line: #ddd6cc;
  --accent: #8a6a4a;
  --accent-ink: #ffffff;
  --error: #a33a2c;
  --ok: #2f6b45;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --max-wide: 1600px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--max-wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: clamp(32px, 6vw, 72px); }
.section__title { text-align: center; margin-bottom: 1.2em; }

/* Fejléc */
.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter); max-width: calc(var(--max-wide) + 2 * var(--gutter)); margin: 0 auto; }
.site-header--overlay { position: absolute; inset: 0 0 auto 0; max-width: none; color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.logo { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.site-header--overlay .logo:hover, .site-header--overlay a:hover { color: #fff; opacity: .8; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; padding-block: 6px; border-bottom: 1px solid transparent; }
.site-nav a[aria-current] { border-bottom-color: currentColor; }
.site-nav .lang a { opacity: .75; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; } .nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; background: var(--bg); color: var(--ink); flex-direction: column; justify-content: center; gap: 32px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .site-nav a { font-size: 1rem; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .site-header--overlay { color: var(--ink); background: none; }
  .nav-open { overflow: hidden; }
  .logo { font-size: 1.45rem; }
}

/* Kezdőlap slideshow */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 480px; background: #111; color: #fff; }
.hero__slider, .hero .swiper-wrapper, .hero .swiper-slide, .hero .swiper-slide > a { height: 100%; }
.hero .swiper-slide { background: #111; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 80px var(--gutter) 56px; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0)); text-align: center; }
.hero__tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem); margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero .swiper-pagination { bottom: 18px !important; z-index: 6; }
.hero .swiper-pagination-bullet { background: #fff; opacity: .5; width: 7px; height: 7px; }
.hero .swiper-pagination-bullet-active { opacity: 1; }
.hero .swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }

.intro { text-align: center; padding-block: clamp(48px, 8vw, 96px) 0; max-width: 820px; }
.intro .prose { color: var(--muted); font-size: 1.08rem; }

/* Galéria-kártyák */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.album-card { text-decoration: none; display: block; }
.album-card figure { margin: 0; }
.album-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: opacity .3s; background: var(--line); }
.album-card:hover img { opacity: .88; }
.album-card figcaption { padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.album-card__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.album-card__meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.album-card.is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter { font: inherit; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; background: none; border: 1px solid var(--line); padding: 8px 16px; cursor: pointer; color: var(--ink); border-radius: 99px; }
.filter.is-active, .filter:hover { border-color: var(--ink); }

/* Oldalfejek, szöveg */
.page-head { padding-top: clamp(24px, 5vw, 56px); text-align: center; max-width: 860px; margin-inline: auto; }
.page-head .lead { color: var(--muted); font-size: 1.08rem; }
.breadcrumb { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.5em; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.album__meta { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.25rem; }
.page { max-width: 860px; padding-bottom: clamp(40px, 6vw, 80px); }
.page__image { margin: 0 0 2em; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.4em; }
.prose a { color: var(--accent); }
.prose ul { padding-left: 1.2em; }
.prose img { margin: 2em 0; }

/* Galéria: oszlopos (masonry) elrendezés */
.gallery { columns: 3 340px; column-gap: 12px; padding-bottom: clamp(40px, 6vw, 80px); }
.gallery__item { display: block; margin-bottom: 12px; break-inside: avoid; background: var(--line); aspect-ratio: var(--ratio); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* Videók */
.videos { display: grid; gap: 32px; max-width: 1000px; padding-bottom: 8px; }
.video { margin: 0; }
.video__frame { position: relative; background: #000; width: 100%; }
.video__frame iframe, .video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { padding: 0; cursor: pointer; background: #000; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.video__play:hover img { opacity: 1; }
.video__icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(0,0,0,.55); border: 1.5px solid rgba(255,255,255,.85); }
.video__icon::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.video figcaption { font-family: var(--serif); font-size: 1.25rem; padding-top: 10px; }
.note { font-size: .82rem; color: var(--muted); }

/* CTA */
.cta { text-align: center; padding: clamp(56px, 9vw, 110px) var(--gutter); background: var(--surface); border-top: 1px solid var(--line); }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 1.6em; }
.button { display: inline-block; font: inherit; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); padding: 15px 30px; border-radius: var(--radius); transition: background .2s, color .2s; }
.button:hover { background: transparent; color: var(--ink); }

/* Űrlap */
.form { display: grid; gap: 20px; margin-top: 32px; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field__hint { font-size: .88rem; color: var(--muted); margin: -2px 0 8px; }
.field__error { color: var(--error); font-size: .9rem; margin: 6px 0 0; }
.has-error input, .has-error textarea { border-color: var(--error); }
.field--check label { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: .95rem; }
.field--check input { width: 18px; height: 18px; margin-top: 4px; flex: none; }
.form .button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-left: 3px solid; background: var(--surface); margin-top: 24px; }
.alert--success { border-color: var(--ok); }
.alert--error { border-color: var(--error); }
.contact__direct { margin-top: 32px; color: var(--muted); }
.contact__direct a { color: var(--ink); }

/* Lábléc */
.site-footer { border-top: 1px solid var(--line); padding: 40px var(--gutter); font-size: .9rem; color: var(--muted); }
.site-footer__inner { max-width: var(--max-wide); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer .logo { color: var(--ink); font-size: 1.4rem; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
.social a, .copy a { text-decoration: none; }
.copy { margin: 0; }

.error-page { text-align: center; padding-block: 15vh; }

/* PhotoSwipe képaláírás */
.pswp__caption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #fff; font-family: var(--serif); font-size: 1.15rem; padding: 0 60px; }

@media (prefers-reduced-motion: reduce) { *:not(.swiper-slide):not(.swiper-wrapper) { transition: none !important; scroll-behavior: auto !important; } }
