
:root {
  --bg-light: #f3eee5;
  --bg-dark: #133431;
  --bg-accent: #295747;
  --text-dark: #133431;
  --text-light: #f5efdf;
  --gold: #c8a869;
  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
  --radius-md: 0.375rem;
  --max-width: 1300px;
}

/* RESET / BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, .serif {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
  color: inherit;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 1em;
  font-size: 1rem;
  font-weight: 300;
}

/* LAYOUT HELPERS */
.shell {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .shell {
	padding-inline: 2rem;
  }
}

/* NAVBAR */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(19, 52, 49, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-light);
  border-bottom: 1px solid rgba(200, 168, 105, 0.3);
}

/* Cały header ma być kolumnowy na mobile:
   - pierwszy rząd: brand + CTA
   - drugi rząd: linki przewijane poziomo */
.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-block: 0.5rem;
  min-height: auto;
  gap: 0.5rem;
}

/* pierwszy rząd */
.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* drugi rząd (lista linków) */
.nav-links {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 300;
  gap: 0.5rem;
  line-height: 1;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
  margin-right: -1rem; /* lekkie wysunięcie, żeby CTA nie ucinało paddingu */
}
.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 300;
  white-space: nowrap;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(200, 168, 105, 0.25);
  background-color: rgba(243, 238, 229, 0.03);
  line-height: 1.2;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background-color: rgba(243, 238, 229, 0.08);
}

/* brand */
.brand {
  color: var(--text-light);
  text-decoration: none;
  font-family: "DM Serif Display", Georgia, serif;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.brand span:nth-child(1) {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.brand span:nth-child(2) {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0;
  opacity: 0.8;
  line-height: 1.2;
}

/* CTA Kontakt po prawej w pierwszym rzędzie */
.cta-btn {
  background-color: var(--gold) !important;
  color: var(--bg-dark) !important;
  font-weight: 500;
  border-radius: var(--radius-md);
  line-height: 1;
  padding: 0.6rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-1px);
}

/* ─────────────────────────────
   DESKTOP / SZEROKIE EKRANY
   Powyżej 768px wracamy do starego układu w jednej linii.
   ──────────────────────────── */
@media (min-width: 768px) {
  .nav-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding-block: 0.5rem;
    gap: 1rem;
  }

  .nav-top {
    /* na desktopie nav-top = brand + linki + CTA w jednej linii */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 1rem;
  }

  /* chowamy „drugi rząd” styl mobilny */
  .nav-links {
    flex-wrap: wrap;
    overflow: visible;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
    padding-bottom: 0;
    margin-right: 0;
    flex: 0 0 auto;
    font-size: 0.9rem;
    gap: 1rem;
    background: none;
    border: 0;
  }

  .nav-links a {
    border: 0;
    background: transparent;
    padding: 0.5rem 0.75rem;
  }

  .brand span:nth-child(1) {
    font-size: 1.125rem;
  }
  .brand span:nth-child(2) {
    font-size: 0.75rem;
  }
}

.utility-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}

.lang-switch {
  background: rgba(19, 52, 49, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 168, 105, 0.4);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #f5efdf;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lang-switch a {
  color: #f5efdf;
  text-decoration: none;
  transition: color 0.2s ease;
}
.lang-switch a:hover {
  color: var(--gold);
}

/* HERO */
.hero {
  position: relative;
  background-color: #1a1f1c;
  color: var(--text-light);
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 124px; /* nav offset */
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/jezioro-wulpinskie.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(1.1);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(41, 87, 71, 0.4) 0%, rgba(19, 52, 49, 0.7) 50%, rgba(19, 52, 49, 0.85) 100%);
  z-index: -1;
}

.hero-inner {
  max-width: 800px;
  padding-inline: 1.5rem;
  color: var(--text-light);
  text-align: center;
  animation: fadeUp 1s ease both;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.2rem, 2vw + 1.5rem, 3.5rem);
  line-height: 1.15;
  font-weight: 400;
  color: var(--text-light);
  margin: 0 0 1rem;
  text-wrap: balance;
}

.hero-desc {
  font-size: clamp(1rem, 0.4vw + 0.8rem, 1.125rem);
  font-weight: 300;
  color: var(--text-light);
  opacity: 0.9;
  max-width: 38ch;
  margin: 0 auto 2rem;
}

.hero-line {
  width: 80px;
  height: 2px;
  background-color: var(--gold);
  margin: 0.5rem auto 2rem;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(200, 168, 105, 0.4);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
  opacity: 0.9;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(243, 238, 229, 0.07);
  border: 1px solid rgba(200, 168, 105, 0.3);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.8rem;
  line-height: 1.2;
}

/* SECTION WRAPPERS */
section {
  position: relative;
  padding-block: clamp(8rem, 2vw + 2rem, 8rem);
}

section .section-head {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.8rem, 1vw + 1.2rem, 2.2rem);
  color: var(--text-dark);
  margin: 0 0 1rem;
  line-height: 1.2;
  text-wrap: balance;
}

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dark);
  opacity: 0.8;
  margin: 0 auto;
  line-height: 1.5;
}

/* GRID: intro (o lokalizacji) */
.split {
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .split {
	grid-template-columns: 1fr 1fr;
	padding-inline: 2rem;
  }
}

.card-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  border: 1px solid rgba(200,168,105,0.25);
  transform-origin: center;
}

.info-block h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 1vw + 1rem, 2rem);
  margin: 0 0 1rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.info-block p.lead {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.9;
  /* max-width: 50ch; */
  line-height: 1.6;
}

.quote-line {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--bg-accent);
  background-color: rgba(41,87,71,0.07);
  border-left: 3px solid var(--bg-accent);
  padding: 1rem 1rem 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  max-width: 40ch;
}

/* DARK SECTION (lokalizacja/dystanse) */
.loc {
  background-color: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.loc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(200,168,105,0.18) 0%, rgba(19,52,49,0) 70%);
  opacity: 0.4;
}

.loc-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .loc-grid {
	grid-template-columns: 1fr 1fr;
	padding-inline: 2rem;
  }
}

.loc-headline {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 1vw + 1rem, 2rem);
  margin: 0 0 1rem;
  color: var(--text-light);
  line-height: 1.2;
}

.dist-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  font-size: 1rem;
  font-weight: 300;
}

.dist-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: rgba(243, 238, 229, 0.05);
  border: 1px solid rgba(200,168,105,0.3);
  border-radius: var(--radius-md);
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.dist-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.loc-note {
  color: var(--text-light);
  font-style: italic;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 40ch;
}

.mini-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(200,168,105,0.25);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.mini-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  filter: saturate(1.1);
}

/* ATRAKCJE / IKONY */
.attractions-shell {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .attractions-shell {
	padding-inline: 2rem;
  }
}

.attractions-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .attractions-grid {
	grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .attractions-grid {
	grid-template-columns: repeat(3, 1fr);
  }
}

.attr-card {
  background-color: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
  border: 1px solid rgba(200,168,105,0.25);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.attr-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.attr-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.4;
}

.attr-overlay {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(200,168,105,.35) 0%, rgba(255,255,255,0) 70%);
  opacity: 0.4;
  pointer-events: none;
}

/* POTENCJAŁ INWESTYCYJNY */
.potential {
  background-color: var(--bg-accent);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.potential::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200,168,105,0.25) 0%, rgba(41,87,71,0) 70%);
  opacity: 0.5;
}

.pot-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .pot-shell {
	grid-template-columns: 1fr 1fr;
	padding-inline: 2rem;
  }
}

.pot-text h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 1vw + 1rem, 2rem);
  margin: 0 0 1rem;
  line-height: 1.2;
  color: var(--text-light);
}

.pot-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-light);
  opacity: 0.9;
  /* max-width: 50ch; */
}

.pot-list {
  list-style: none;
  padding: 1rem 0 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
}

.pot-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(243,238,229,0.07);
  border: 1px solid rgba(200,168,105,0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  line-height: 1.4;
  color: var(--text-light);
}

.pot-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.pot-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(200,168,105,0.4);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.pot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  display: block;
  filter: saturate(1.05);
}

.pot-ribbon {
  margin-top: 2rem;
  background-color: rgba(19,52,49,0.4);
  border: 1px solid rgba(200,168,105,0.4);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  line-height: 1.4;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* FAQ SECTION */
.faq-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.faq-shell {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .faq-shell {
  padding-inline: 2rem;
  }
}

.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  background-color: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(200,168,105,0.3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.07);
  overflow: hidden;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-dark);
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  font-weight: 400;
  font-size: 1rem;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  font-weight: 500;
  color: var(--text-dark);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.faq-plus {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 400;
  color: var(--bg-accent);
  min-width: 1.25rem;
  text-align: center;
}

.faq-card[open] .faq-plus {
  color: var(--gold);
}

.faq-a {
  padding: 1.25rem 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
  font-weight: 300;
  border-top: 1px solid rgba(200,168,105,0.3);
  background-image: radial-gradient(circle at 20% 20%, rgba(200,168,105,0.08) 0%, rgba(255,255,255,0) 70%);
}


/* CONTACT / FOOTER HERO */
.closing {
  position: relative;
  background-color: #1a1f1c;
  color: var(--text-light);
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
}

.closing-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/jezioro-wulpinskie-natura2.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(1.1);
  z-index: -2;
}

.closing-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(19,52,49,0.4) 0%, rgba(19,52,49,0.8) 60%, rgba(19,52,49,0.9) 100%);
  z-index: -1;
}

.closing-inner {
  max-width: 1000px;
  padding-inline: 1.5rem;
  color: var(--text-light);
  text-align: center;
}

.closing-quote {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.5rem, 1vw + 1rem, 2rem);
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

.closing-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  opacity: 0.9;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.contact-card {
  display: inline-block;
  background-color: rgba(19, 52, 49, 0.6);
  border: 1px solid rgba(200,168,105,0.4);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: left;
  min-width: min(320px, 90%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  backdrop-filter: blur(4px);
}

.contact-card h4 {
  font-family: "DM Serif Display", Georgia, serif;
  color: var(--text-light);
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.contact-ico {
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
  color: var(--gold);
}

.footline {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.6;
  font-weight: 300;
  line-height: 1.4;
}

.closing a {
  color: var(--text-light);	
}

.foot-sep {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(200, 168, 105, 0.4);
  margin: 0 auto 1rem;
}

/* ANIMACJE */
@keyframes fadeUp {
  from {
	opacity: 0;
	transform: translateY(24px) scale(0.97);
  }
  to {
	opacity: 1;
	transform: translateY(0) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* GOLD DIVIDER ELEMENT (ornament) */
.gold-divider {
  width: 88px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 999px;
  margin: 1.5rem auto 2.5rem;
  box-shadow: 0 8px 16px rgba(200,168,105,.4);
}

/* SMALL HELPER FOR TINY TEXT */
.tiny {
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 300;
  opacity: 0.8;
}
