/* ============================================
   ZAMIESZKAJ W LESIE — styles.css
   Aesthetic: Cinematic dark forest luxury
============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0b0d0b;
  --charcoal:   #161a14;
  --forest:     #1e2b1c;
  --moss:       #2e3d2b;
  --pine:       #3a5235;
  --gold:       #c9a96e;
  --gold-light: #e2c896;
  --cream:      #f2ede5;
  --white:      #ffffff;
  --muted:      rgba(242,237,229,0.55);
  --ff-serif:   'Playfair Display', Georgia, serif;
  --ff-sans:    'DM Sans', system-ui, sans-serif;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  font-weight: 300;
  background: var(--charcoal);
  color: var(--cream);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-solid {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn-solid:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}
.btn-gold:hover {
  background: var(--gold-light);
}

/* ============================================
   NAVBAR
============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 3.5rem;
  transition: background 0.5s ease, padding 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(11, 13, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 3.5rem;
  border-bottom-color: rgba(201,169,110,0.15);
}

.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo em {
  font-style: italic;
  color: var(--gold);
}

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

.nav-links a {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 26px; height: 1px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================
   MOBILE MENU
============================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(300px, 80vw);
  height: 100vh;
  background: var(--forest);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 2.5rem;
  gap: 2rem;
  transition: right 0.45s var(--ease-out);
  border-left: 1px solid rgba(201,169,110,0.2);
}

.mobile-menu.open { right: 0; }

.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}
.mobile-close:hover { color: var(--gold); }

.mobile-link {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  transition: color 0.3s;
}
.mobile-link:hover { color: var(--gold); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,12,8,0.45) 0%,
    rgba(8,12,8,0.6) 50%,
    rgba(8,12,8,0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 2rem;
}

.hero-tag {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  animation: fadeUp 1s 0.1s both;
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.6rem;
  animation: fadeUp 1s 0.25s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-body {
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 200;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.8rem;
  animation: fadeUp 1s 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.55s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: fadeUp 1s 0.9s both;
}

.hero-scroll-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

.scroll-line {
  width: 1px;
  height: 55px;
  background: linear-gradient(to bottom, rgba(201,169,110,0.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.8) translateY(0); }
  50% { opacity: 1; transform: scaleY(1.1) translateY(5px); }
}

/* ============================================
   FEATURES BAR
============================================ */
.features-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  padding: 2.8rem 4rem;
  border-top: 1px solid rgba(201,169,110,0.15);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  gap: 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  justify-content: center;
  padding: 0 1.5rem;
}

.feature-icon { font-size: 1.6rem; flex-shrink: 0; }

.feature strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.feature p {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

.feature-sep {
  width: 1px;
  height: 50px;
  background: rgba(201,169,110,0.25);
  flex-shrink: 0;
}

/* ============================================
   GALLERY
============================================ */
.gallery-section {
  padding: 7rem 4rem 5rem;
  background: var(--charcoal);
}

.section-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-intro h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.9rem;
  line-height: 1.15;
}

.section-intro p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 0.7rem;
  max-width: 1160px;
  margin: 0 auto 4rem;
}

.g-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--moss);
  min-height: 280px;
}

.g-item.g-large {
  grid-row: 1 / 3;
  min-height: 560px;
}

.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out);
}

.g-item:hover img {
  transform: scale(1.06);
}

.g-hover-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.1rem 1.3rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.g-item:hover .g-hover-label {
  transform: translateY(0);
}

/* Reveal animation — NOT applied to .g-item */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery items always visible */
.g-item {
  opacity: 1 !important;
  transform: none !important;
}

/* Gallery video */
.gallery-video-wrap {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(201,169,110,0.15);
}

.gallery-video-label .label { display: block; }

.gallery-video-label p {
  font-size: 1.3rem;
  font-family: var(--ff-serif);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.4;
  margin-top: 0.5rem;
}

.gallery-video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(201,169,110,0.2);
}

/* ============================================
   LIGHTBOX
============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(201,169,110,0.2);
}

.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
}

.lb-btn {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.7rem 1.1rem;
  transition: border-color 0.3s, color 0.3s;
  line-height: 1;
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold); }
.lb-close { top: 1.5rem; right: 1.5rem; font-size: 1.5rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ============================================
   CONTACT
============================================ */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 4rem;
}

.contact-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-bg-img img {
  filter: brightness(0.28) saturate(0.35);
}
.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,13,11,0.75) 0%, rgba(30,43,28,0.65) 100%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start;
}

.contact-inner--centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 800px;
}

.contact-inner--centered h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  margin: 0.6rem 0 1.2rem;
  line-height: 1.15;
}

.contact-inner--centered p {
  font-size: 0.9rem;
  font-weight: 200;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3rem;
}

.contact-details--row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.contact-details--row .c-detail {
  align-items: center;
  text-align: left;
}

.label.light { color: var(--gold); }

.contact-left h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  margin: 0.6rem 0 1.2rem;
  line-height: 1.15;
}

.contact-left p {
  font-size: 0.9rem;
  font-weight: 200;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.c-detail > span { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

.c-detail strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.c-detail p {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.5;
}
.c-detail a { transition: color 0.3s; }
.c-detail a:hover { color: var(--gold); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-field {
  position: relative;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 1.3rem 1rem 0.55rem;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}

.form-field label {
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.38);
  pointer-events: none;
  transition: all 0.25s ease;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.form-success {
  display: none;
  font-size: 0.82rem;
  color: #7ec87e;
  margin-top: 0.4rem;
}

.form-error {
  display: none;
  font-size: 0.82rem;
  color: #e07070;
  margin-top: 0.4rem;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(201,169,110,0.12);
  padding: 2.5rem 3.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand span {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--white);
}
.footer-brand em { color: var(--gold); font-style: italic; }
.footer-brand p {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.2rem;
  letter-spacing: 0.1em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}
.footer-nav a {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,237,229,0.45);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.68rem;
  color: rgba(242,237,229,0.28);
  letter-spacing: 0.04em;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  #navbar { padding: 1.3rem 1.8rem; }
  #navbar.scrolled { padding: 0.85rem 1.8rem; }

  .features-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
  }
  .feature { justify-content: flex-start; padding: 0; }
  .feature-sep { width: 50px; height: 1px; }

  .gallery-section { padding: 5rem 1.5rem 3rem; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .g-item { aspect-ratio: 4/3; min-height: 250px; }
  .g-item.g-large { grid-row: auto; min-height: 250px; }

  .gallery-video-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-section { padding: 5rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }

  .footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(3rem, 13vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
}

/* ============================================
   LOGO IMAGE
============================================ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  /* removes white background by blending with dark navbar */
  mix-blend-mode: luminosity;
  filter: brightness(1.8) contrast(1.1);
}

.logo-img--footer {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  mix-blend-mode: luminosity;
  filter: brightness(1.8) contrast(1.1);
  margin-bottom: 0.4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
