/* ========== Self-hosted fonts ========== */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
}

/* ========== Reset & podstawy ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #2d2416;
  background: #faf7f0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #5a4a2a; text-decoration: none; transition: color .2s; }
a:hover { color: #3d5a3d; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: .02em;
  color: #2d2416;
  margin: 0 0 .6em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-align: center; margin-bottom: 1em; }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-alt { background: #f0e9d8; }

/* ========== Scroll progress ========== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #4a5d3a, #8b7355);
  z-index: 150;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ========== Nawigacja ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(250, 247, 240, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 36, 22, .06);
  z-index: 100;
  padding: 14px 0;
  transition: padding .3s, box-shadow .3s, background .3s;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(250, 247, 240, .97);
  box-shadow: 0 2px 24px rgba(45, 36, 22, .08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #2d2416;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #2d2416;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .04em;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: #3d5a3d;
  transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: #2d2416; padding: 4px; }

@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250, 247, 240, .98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(160deg, rgba(20,20,15,.3), rgba(20,20,15,.55)),
              url('images/dom-glowne.webp') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 40px;
}
@media (max-width: 900px) {
  .hero { background-attachment: scroll; }
}
.hero-content { max-width: 820px; }
.hero-eyebrow {
  font-size: .85rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0,0,0,.2); }
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: #fff;
  opacity: .95;
  margin-bottom: 2.2em;
}
.btn {
  display: inline-block;
  padding: 14px 34px;
  border: 1.5px solid #fff;
  color: #fff;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all .3s;
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: #fff; color: #2d2416; }
.btn-dark { border-color: #3d5a3d; color: #3d5a3d; background: transparent; }
.btn-dark:hover { background: #3d5a3d; color: #fff; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Hero entrance animation */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: heroReveal .7s ease .2s both; }
.hero h1       { animation: heroReveal .7s ease .4s both; }
.hero-sub      { animation: heroReveal .7s ease .6s both; }
.hero-ctas     { animation: heroReveal .7s ease .8s both; }

/* ========== Sekcja „O miejscu" ========== */
.intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.intro .lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: #4a5d3a;
  margin-bottom: 1.2em;
}
.intro p { color: #4d4435; }

.divider {
  width: 0; height: 2px;
  background: #8b7355;
  margin: 0 auto 30px;
  transition: width .8s cubic-bezier(.4, 0, .2, 1);
}
.divider.visible { width: 60px; }

/* ========== Stats strip ========== */
.stats-strip {
  background: linear-gradient(135deg, #3d5a3d, #2d4a2d);
  padding: 52px 0;
  color: #fff;
  overflow: hidden;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.stat.visible { opacity: 1; transform: translateY(0); }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .82rem;
  opacity: .85;
  letter-spacing: .04em;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

/* ========== Pokoje ========== */
.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.room-card {
  background: #faf7f0;
  border: 1px solid rgba(45, 36, 22, .1);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(45, 36, 22, .12);
}
.room-img {
  height: 250px;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.room-card:hover .room-img { transform: scale(1.04); }
.room-img-wrap { overflow: hidden; }
.room-body { padding: 28px 26px; }
.room-body h3 { margin-bottom: .4em; }
.room-body ul {
  list-style: none; padding: 0; margin: 14px 0 0;
  font-size: .92rem; color: #4d4535;
}
.room-body li { padding: 4px 0; padding-left: 22px; position: relative; }
.room-body li::before {
  content: "\2713"; position: absolute; left: 0; top: 4px;
  color: #4a5d3a; font-weight: 600;
}

/* ========== Galeria ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
  margin-top: 40px;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: #e5dfc8;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(18px) scale(.97);
  transition: opacity .5s ease, transform .5s ease;
}
.gallery-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.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-item:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 8, 5, .96);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  animation: lbFadeIn .3s ease;
}
@keyframes lbFadeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lightbox-close {
  position: absolute; top: 20px; right: 30px;
  font-size: 2.2rem; color: #fff;
  background: none; border: 0;
  cursor: pointer; line-height: 1;
  opacity: .7; transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 1.6rem;
  width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .85rem; letter-spacing: .1em;
}

/* ========== Atrakcje ========== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}
.feature {
  padding: 20px; border-radius: 4px;
  transition: transform .3s, background .3s;
}
.feature:hover {
  transform: translateY(-4px);
  background: rgba(250, 247, 240, .5);
}
.feature-icon { font-size: 2.4rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .5em; }
.feature p { color: #4d4535; font-size: .95rem; }

/* ========== Jak dojechać ========== */
.directions { max-width: 800px; margin: 40px auto 0; }
.direction-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(45, 36, 22, .1);
}
.direction-step:last-child { border-bottom: 0; }
.step-number {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #3d5a3d; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700;
}
.step-content h3 { font-size: 1.15rem; margin-bottom: .3em; }
.step-content p { color: #4d4535; margin: 0; font-size: .95rem; }
.directions-cta { text-align: center; margin-top: 36px; }

/* ========== FAQ ========== */
.faq { max-width: 820px; margin: 40px auto 0; }
details {
  border-bottom: 1px solid rgba(45, 36, 22, .12);
  padding: 20px 0;
}
summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600;
  color: #2d2416; cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: color .2s;
}
summary:hover { color: #3d5a3d; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-size: 1.6rem; color: #8b7355;
  transition: transform .3s ease;
  margin-left: 20px; flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 14px 0 0; color: #4d4535; }

/* ========== CTA banner ========== */
.cta-banner {
  background: linear-gradient(160deg, rgba(20,20,15,.45), rgba(20,20,15,.65)),
              url('images/skala-ciemna.webp') center/cover no-repeat;
  background-attachment: fixed;
  padding: 100px 24px;
  text-align: center;
  color: #fff;
}
@media (max-width: 900px) {
  .cta-banner { background-attachment: scroll; padding: 72px 24px; }
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: .4em;
}
.cta-banner .cta-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: .9;
  margin-bottom: 2.4em;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
  transition: all .3s;
  cursor: pointer;
}
.cta-btn:hover {
  background: #fff;
  color: #2d2416;
}
.cta-btn-primary {
  background: #3d5a3d;
  border-color: #3d5a3d;
}
.cta-btn-primary:hover {
  background: #fff;
  color: #3d5a3d;
  border-color: #fff;
}
.cta-btn-icon {
  font-size: 1.2rem;
  line-height: 1;
}
.cta-phone {
  display: block;
  margin-top: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: .04em;
  transition: opacity .2s;
}
.cta-phone:hover { opacity: .8; color: #fff; }

/* ========== Kontakt ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; margin-top: 40px; align-items: stretch;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info {
  background: #faf7f0; padding: 40px;
  border: 1px solid rgba(45, 36, 22, .1);
}
.contact-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(45, 36, 22, .06);
}
.contact-item:last-child { border-bottom: 0; }
.contact-label {
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .2em; color: #6d5a3e; margin-bottom: 4px;
}
.contact-value { font-size: 1.15rem; color: #2d2416; font-weight: 400; }
.contact-value a { color: #2d2416; }
.contact-value a:hover { color: #4a5d3a; }
.map-embed { width: 100%; min-height: 380px; border: 0; }

/* ========== Footer ========== */
footer {
  background: #2d2416; color: #d4c9b0;
  padding: 56px 0 24px; text-align: center;
}
footer p { margin: 6px 0; font-size: .9rem; }
footer a { color: #d4c9b0; }
footer a:hover { color: #fff; }
.footer-social { display: flex; justify-content: center; gap: 14px; margin: 20px 0; }
.footer-social a {
  width: 42px; height: 42px;
  border: 1px solid rgba(212, 201, 176, .3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all .3s;
}
.footer-social a:hover {
  background: #d4c9b0; color: #2d2416;
  transform: translateY(-2px);
}
.footer-bottom {
  margin-top: 30px; padding-top: 20px;
  border-top: 1px solid #3d3424;
  font-size: .8rem; color: #9c9080;
}

/* ========== Floating contact (FAB) ========== */
.fab {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 90;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 10px;
}
.fab-options {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 10px;
  opacity: 0; transform: translateY(8px) scale(.95);
  pointer-events: none;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.fab.open .fab-options {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-option {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #2d2416; font-weight: 500;
}
.fab-option-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 3px 14px rgba(0,0,0,.15);
  transition: transform .2s;
}
.fab-option:hover .fab-option-icon { transform: scale(1.1); }
.fab-option-label {
  background: #fff; padding: 6px 14px; border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  font-size: .8rem; white-space: nowrap; letter-spacing: .02em;
}
.fab-main {
  width: 56px; height: 56px; border-radius: 50%;
  background: #3d5a3d; color: #fff;
  border: 0; font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(61,90,61,.35);
  transition: all .3s; line-height: 1;
}
.fab-main:hover { background: #4a6f4a; }
.fab.open .fab-main { transform: rotate(45deg); background: #5d5540; }
@keyframes fabPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.fab-main { animation: fabPulse 2.5s ease-in-out infinite; }
.fab.open .fab-main { animation: none; }

/* ========== Back to top ========== */
.back-to-top {
  position: fixed; bottom: 28px; left: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(45, 36, 22, .65);
  backdrop-filter: blur(6px);
  color: #fff; border: 0;
  font-size: 1.1rem; cursor: pointer;
  opacity: 0; transform: translateY(16px);
  transition: all .3s; z-index: 90;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: rgba(45, 36, 22, .85); }

/* ========== Animacje scrollowe ========== */
.fade-in {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== Skip to content (a11y) ========== */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: #3d5a3d; color: #fff;
  padding: 12px 24px; z-index: 300;
  font-size: .9rem; font-weight: 500;
  border-radius: 0 0 6px 6px;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }
