/* =============================================
   TÖRÖKPATAK – Property Listing Site
   style.css
   ============================================= */

/* ──────────────────────────────────────────────
   1. RESET & BASE
   ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1A1A1A;
  background: #F8F4EE;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
svg { flex-shrink: 0; }


/* ──────────────────────────────────────────────
   2. CSS VARIABLES
   ────────────────────────────────────────────── */
:root {
  --forest:       #1C2B1E;
  --forest-mid:   #243328;
  --green:        #2E5D42;
  --green-light:  #3D7A5A;
  --gold:         #C49A3C;
  --gold-light:   #D4AA52;
  --cream:        #F8F4EE;
  --cream-dark:   #EEE8DF;
  --white:        #FFFFFF;
  --text:         #1A1A1A;
  --text-mid:     #4A4A4A;
  --text-muted:   #888888;

  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --max-w:        1200px;
  --max-w-text:   780px;
  --gutter:       clamp(1.25rem, 5vw, 2.5rem);
  --section-py:   clamp(4rem, 9vw, 7rem);

  --radius:       .5rem;
  --radius-lg:    1rem;
  --shadow:       0 4px 24px rgba(28,43,30,.10);
  --shadow-lg:    0 8px 40px rgba(28,43,30,.18);

  --ease-out:     cubic-bezier(.22,.68,0,1.2);
  --transition:   .35s cubic-bezier(.4,0,.2,1);
}


/* ──────────────────────────────────────────────
   3. TYPOGRAPHY HELPERS
   ────────────────────────────────────────────── */
.section-tag {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-tag--light { color: var(--gold-light); }

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--forest);
}
.section-head h2.light { color: var(--cream); }
.section-sub {
  margin-top: .75rem;
  font-size: 1.0625rem;
  color: var(--text-mid);
  max-width: 55ch;
}
.section-sub.light { color: rgba(248,244,238,.75); }


/* ──────────────────────────────────────────────
   5. LAYOUT
   ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-py) 0;
}

.bg-alt   { background: var(--cream-dark); }
.bg-forest { background: var(--forest); }


/* ──────────────────────────────────────────────
   6. NAVIGATION
   ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
  padding: 0;
}
#navbar.scrolled {
  background: rgba(28,43,30,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 70px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 2rem;
}

/* Language link */
.lang-link {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 3px;
  padding: .2rem .5rem;
  transition: color var(--transition), border-color var(--transition);
}
.lang-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(28,43,30,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99;
  padding: 1.5rem var(--gutter);
  transform: translateY(-110%);
  transition: transform var(--transition);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }


/* ──────────────────────────────────────────────
   7. HERO
   ────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
#hero.loaded .hero-img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,15,10,.55)  0%,
    rgba(28,43,30,.50) 40%,
    rgba(28,43,30,.55) 60%,
    rgba(10,15,10,.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 var(--gutter);
  max-width: 860px;
  animation: heroFadeUp .9s .2s both;
}

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

.hero-tag {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.9), 0 0 30px rgba(0,0,0,.6);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,.88);
}

.hero-price {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--gold-light);
  border: 1.5px solid rgba(196,154,60,.5);
  padding: .5rem 2rem;
  border-radius: 2rem;
  margin-bottom: 3rem;
  letter-spacing: .04em;
  backdrop-filter: blur(4px);
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  animation: bounce 2s 1.5s ease-in-out infinite;
  transition: color var(--transition);
}
.hero-scroll-btn:hover { color: var(--white); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}


/* ──────────────────────────────────────────────
   8. STATS BAR
   ────────────────────────────────────────────── */
.stats-bar {
  background: var(--forest);
  padding: 0;
}
.stats-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .4rem;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }

.stat-svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  margin-bottom: .2rem;
}
.stat-val {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-lbl {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}


/* ──────────────────────────────────────────────
   9. BEMUTATÁS
   ────────────────────────────────────────────── */
.bemutatas-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.bemutatas-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.bemutatas-text p:last-child { margin-bottom: 0; }
.bemutatas-text strong { color: var(--forest); font-weight: 600; }

/* Infrastructure card */
.infra-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28,43,30,.06);
}
.infra-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--cream-dark);
}

.infra-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 1.5rem;
}
.infra-list li {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: .9375rem;
  color: var(--text-mid);
}
.infra-list li svg {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  flex-shrink: 0;
}

.parcel-num {
  padding-top: 1.25rem;
  border-top: 1.5px solid var(--cream-dark);
  font-size: .8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.parcel-num strong {
  color: var(--forest);
  font-weight: 600;
}


/* ──────────────────────────────────────────────
   10. PARCEL MAP THUMBNAIL
   ────────────────────────────────────────────── */
.parcel-map-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1.5px solid var(--cream-dark);
}
.parcel-map-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.parcel-map-thumb {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
  border: 1px solid rgba(28,43,30,.08);
}
.parcel-map-thumb img {
  width: 100%;
  display: block;
  transition: transform .4s ease;
}
.parcel-map-thumb:hover img { transform: scale(1.04); }
.parcel-map-thumb .gallery-overlay { opacity: 0; transition: opacity var(--transition); }
.parcel-map-thumb:hover .gallery-overlay { opacity: 1; }


/* ──────────────────────────────────────────────
   11. KÖRNYÉK
   ────────────────────────────────────────────── */
.kornyek-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.kornyek-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28,43,30,.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.kornyek-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.kornyek-icon {
  font-size: 2rem;
  margin-bottom: .875rem;
  line-height: 1;
}
.kornyek-card h4 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: .4rem;
}
.kornyek-card p {
  font-size: .875rem;
  color: var(--text-muted);
}


/* ──────────────────────────────────────────────
   11. GALLERY
   ────────────────────────────────────────────── */
#galeria {
  padding-bottom: 0;
}
#galeria .container { margin-bottom: 2.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .375rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--forest-mid);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,43,30,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay svg {
  width: 40px; height: 40px;
  stroke: var(--white);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Featured first image — bigger */
.gallery-item:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  aspect-ratio: auto;
}


/* ──────────────────────────────────────────────
   12. VIDEO
   ────────────────────────────────────────────── */
.video-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-wrap video {
  width: 100%;
  display: block;
  background: var(--forest);
}


/* ──────────────────────────────────────────────
   13. MAP
   ────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28,43,30,.08);
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}
.map-label {
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.map-label p {
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.map-link {
  display: inline-block;
  margin-top: .75rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--green);
  transition: color var(--transition);
}
.map-link:hover { color: var(--forest); }


/* ──────────────────────────────────────────────
   14. CONTACT
   ────────────────────────────────────────────── */

/* Contact photo */
.contact-photo-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}
.contact-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(196,154,60,.4);
  box-shadow: 0 0 0 6px rgba(196,154,60,.1);
  margin: 0 auto;
}
#kapcsolat .section-head { text-align: center; }
#kapcsolat .section-head .section-sub { margin: .75rem auto 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  display: block;
}
.contact-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(196,154,60,.4);
  transform: translateY(-3px);
}
.contact-card--price { cursor: default; }
.contact-card--price:hover { transform: none; }

.contact-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(196,154,60,.15);
  border: 1.5px solid rgba(196,154,60,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.contact-icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--gold-light);
}

.contact-lbl {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .5rem;
}
.contact-val {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .4rem;
  word-break: break-all;
}
.contact-val--price {
  font-size: 1.375rem;
  color: var(--gold-light);
  word-break: normal;
}
.contact-name {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}


/* ──────────────────────────────────────────────
   15. FOOTER
   ────────────────────────────────────────────── */
footer {
  background: #111C13;
  padding: 2rem 0;
}
.footer-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}
.footer-info {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  margin-right: auto;
}
.footer-copy {
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
}


/* ──────────────────────────────────────────────
   16. LIGHTBOX
   ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,15,10,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  animation: lbFadeIn .2s ease;
}
.lightbox[hidden] { display: none; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lb-stage {
  max-width: 1100px;
  max-height: 85vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lbImg {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  object-fit: contain;
  animation: lbImgIn .2s ease;
}
@keyframes lbImgIn {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}

.lb-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition);
  z-index: 201;
}
.lb-close:hover { background: rgba(255,255,255,.2); }
.lb-close svg { width: 20px; height: 20px; stroke: var(--white); }

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition);
  z-index: 201;
}
.lb-arrow:hover { background: rgba(255,255,255,.2); }
.lb-arrow svg { width: 24px; height: 24px; stroke: var(--white); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

.lb-counter {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.35);
  padding: .35rem 1rem;
  border-radius: 2rem;
}

/* Fullscreen lightbox — use full screen height */
:fullscreen .lb-stage,
:-webkit-full-screen .lb-stage {
  max-height: 100vh;
}
:fullscreen #lbImg,
:-webkit-full-screen #lbImg {
  max-height: 100vh;
}


/* ──────────────────────────────────────────────
   17. SCROLL REVEAL ANIMATIONS
   ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .18s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .3s; }
.reveal:nth-child(6) { transition-delay: .34s; }
.reveal:nth-child(7) { transition-delay: .38s; }

/* Gallery items stagger via JS */


/* ──────────────────────────────────────────────
   18. MEDIA QUERIES
   ────────────────────────────────────────────── */

/* Tablet – 2 columns */
@media (max-width: 1024px) {
  .bemutatas-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .kornyek-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid .contact-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .stats-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .stats-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .kornyek-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid .contact-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: .25rem;
  }
  .gallery-item:first-child {
    grid-column: auto;
    aspect-ratio: 3/2;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
  }
  .footer-info { margin-right: 0; }

  .lb-arrow { display: none; }
}

@media (max-width: 400px) {
  .stats-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-scroll-btn { animation: none; }
  .hero-img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ──────────────────────────────────────────────
   SHARE BUTTON
   ────────────────────────────────────────────── */
.share-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.1rem;
  background: #1A1A1A;
  color: #F8F4EE;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.share-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.share-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.share-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 4.75rem;
  z-index: 91;
  background: #1A1A1A;
  color: #F8F4EE;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-size: .8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

.share-toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 480px) {
  .share-btn span { display: none; }
  .share-btn { padding: .8rem; }
}
