/* ══════════════════════════════════════════════════════════════════════════════
   Sokół Radawa – style.css
   Zależności: Bootstrap 5.3.3, Bootstrap Icons 1.11.3
   Fonty: Cormorant Garamond + DM Sans (Google Fonts)
══════════════════════════════════════════════════════════════════════════════ */

/* ══ TOKENS ══════════════════════════════════════════════════════════════════ */
:root {
  --forest:   #1a3328;
  --moss:     #2e5c42;
  --sage:     #5e8a6e;
  --gold:     #c9a84c;
  --gold-lt:  #e2c97e;
  --cream:    #f6f1e8;
  --sand:     #e9dfc9;
  --bark:     #5c3d25;
  --white:    #fdfaf4;
  --text:     #2c3e30;
  --muted:    #6b7f70;

  --ff-head:  'Cormorant Garamond', Georgia, serif;
  --ff-body:  'DM Sans', sans-serif;

  --nav-h:    72px;
  --trans:    .3s ease;
}

/* ══ RESET / BASE ════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: var(--ff-head); }
a { text-decoration: none; }
img { display: block; }

/* ══ NAVBAR ══════════════════════════════════════════════════════════════════ */
#mainNav {
  height: var(--nav-h);
  background: transparent;
  transition: background var(--trans), box-shadow var(--trans);
  z-index: 1050;
}
#mainNav.scrolled {
  background: rgba(26,51,40,.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
#mainNav .navbar-brand {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: .03em;
}
#mainNav .navbar-brand em { color: var(--gold); font-style: italic; }
#mainNav .nav-link {
  color: rgba(246,241,232,.75) !important;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .4rem .9rem !important;
  transition: color var(--trans);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--gold) !important; }
.navbar-toggler {
  border: 1px solid rgba(246,241,232,.35);
  border-radius: 0;
  padding: .35rem .7rem;
}
.navbar-toggler-icon { filter: invert(1); }
@media(max-width:991px){
  #mainNav.scrolled .navbar-collapse,
  #mainNav .navbar-collapse.show {
    background: rgba(26,51,40,.97);
    padding: 1rem 1.5rem 1.5rem;
  }
}

/* ══ HERO ════════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 7rem;
  overflow: hidden;
  background: var(--forest);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../foto/01.jpg') center/cover no-repeat;
  opacity: .5;
  transform: scale(1.06);
  animation: kzoom 22s ease-in-out infinite alternate;
}
@keyframes kzoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.14); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(26,51,40,.9) 0%,
    rgba(26,51,40,.4) 45%,
    rgba(26,51,40,.15) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-left: 2px solid var(--gold);
  padding-left: .8rem;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(3.2rem,8vw,6.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.0;
  margin-bottom: 1.4rem;
}
.hero-title em { font-style: italic; color: var(--gold-lt); }
.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(246,241,232,.7);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.hero-stats {
  position: absolute;
  bottom: 2.5rem; right: 3rem;
  display: flex;
  gap: 2.5rem;
  z-index: 2;
}
.hero-stat span {
  display: block;
  font-family: var(--ff-head);
  font-size: 2.2rem;
  color: var(--cream);
  line-height: 1;
}
.hero-stat small {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246,241,232,.5);
  font-weight: 500;
}
@media(max-width:576px){ .hero-stats { display:none; } }

/* ══ BUTTONS ═════════════════════════════════════════════════════════════════ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  padding: .9rem 2.2rem;
  transition: background var(--trans), transform var(--trans);
  border-radius: 0;
  cursor: pointer;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); color: var(--forest); }
.btn-outline-cream {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid rgba(246,241,232,.45);
  color: var(--cream);
  background: transparent;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .88rem 2.2rem;
  border-radius: 0;
  transition: border-color var(--trans), color var(--trans);
  cursor: pointer;
}
.btn-outline-cream:hover { border-color: var(--gold); color: var(--gold); }

/* ══ SECTION HELPERS ═════════════════════════════════════════════════════════ */
.sec-tag {
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: .6rem;
}
.sec-title {
  font-size: clamp(1.9rem,3.5vw,2.8rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: .5rem;
}
.sec-title em { color: var(--moss); font-style: italic; }
.sec-rule {
  width: 44px; height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.6rem;
  display: block;
}
.sec-body {
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}
section { scroll-margin-top: var(--nav-h); }

/* ══ ATUTY BAR ═══════════════════════════════════════════════════════════════ */
#atuty {
  background: var(--forest);
  padding: 0;
  border-top: 1px solid rgba(246,241,232,.08);
}
.atut-item {
  padding: 2.8rem 2.2rem;
  border-right: 1px solid rgba(246,241,232,.1);
  transition: background var(--trans);
}
.atut-item:last-child { border-right: none; }
.atut-item:hover { background: rgba(246,241,232,.04); }
.atut-icon { font-size: 1.8rem; margin-bottom: .9rem; }
.atut-item h5 {
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: .4rem;
}
.atut-item p {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(246,241,232,.55);
  line-height: 1.6;
  margin: 0;
}
@media(max-width:991px){
  .atut-item { border-right: none; border-bottom: 1px solid rgba(246,241,232,.1); }
  .atut-item:last-child { border-bottom: none; }
}

/* ══ OFERTA – DOMKI ══════════════════════════════════════════════════════════ */
#oferta { padding: 6rem 0; background: var(--white); }
.domek-card {
  background: var(--white);
  border: 1.5px solid var(--sand);
  padding: 2.2rem 1.8rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.domek-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.domek-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,51,40,.1);
  border-color: var(--gold);
}
.domek-card:hover::after { transform: scaleX(1); }
.domek-num {
  font-family: var(--ff-head);
  font-size: 4rem;
  color: var(--sand);
  line-height: 1;
  margin-bottom: .3rem;
}
.domek-card h4 {
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: .3rem;
}
.domek-card .desc {
  font-size: .82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  min-height: 2.8rem;
}
.domek-price {
  font-family: var(--ff-head);
  font-size: 1.7rem;
  color: var(--moss);
  margin: 1rem 0 .8rem;
}
.domek-price small {
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 300;
  color: var(--muted);
}
.feat-list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--sand);
  padding-top: .8rem;
}
.feat-list li {
  font-size: .8rem;
  font-weight: 300;
  color: var(--muted);
  padding: .3rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid rgba(233,223,201,.5);
}
.feat-list li::before {
  content: '✓';
  color: var(--gold);
  font-size: .72rem;
  flex-shrink: 0;
}

/* ══ GALERIA ═════════════════════════════════════════════════════════════════ */
#galeria { padding: 6rem 0; background: var(--cream); }
.gallery-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}
.g-thumb {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}
.g-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.g-thumb::after {
  content: '\f4fe';
  font-family: "bootstrap-icons";
  position: absolute; inset: 0;
  background: rgba(26,51,40,0);
  color: var(--cream);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
  opacity: 0;
}
.g-thumb:hover img { transform: scale(1.08); }
.g-thumb:hover::after { background: rgba(26,51,40,.4); opacity: 1; }
.g-thumb:nth-child(1) { grid-column: span 2; aspect-ratio: 2/1; }
.g-thumb:nth-child(5) { grid-column: span 2; aspect-ratio: 2/1; }
#galleryExtra { display: none; }
#galleryExtra.open { display: block; }
@media(max-width:767px){
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .g-thumb:nth-child(1),
  .g-thumb:nth-child(5) { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ══ LIGHTBOX ════════════════════════════════════════════════════════════════ */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(10,20,14,.94);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .22s ease;
}
#lightbox.open { display: flex; }
.lb-inner {
  position: relative;
  max-width: min(92vw, 1100px);
  width: 100%;
}
#lbImg {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}
.lb-caption {
  position: absolute;
  bottom: -2.2rem;
  left: 0; right: 0;
  text-align: center;
  font-size: .78rem;
  font-weight: 300;
  color: rgba(246,241,232,.5);
  letter-spacing: .06em;
}
.lb-counter {
  position: absolute;
  top: -2.2rem; right: 0;
  font-size: .72rem;
  letter-spacing: .18em;
  color: rgba(246,241,232,.45);
  text-transform: uppercase;
  font-weight: 500;
}
.lb-close {
  position: fixed;
  top: 1.5rem; right: 2rem;
  background: none; border: none;
  color: rgba(246,241,232,.7);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: .4rem;
  transition: color var(--trans);
  z-index: 2001;
}
.lb-close:hover { color: var(--gold); }
.lb-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(26,51,40,.6);
  border: 1px solid rgba(246,241,232,.15);
  color: rgba(246,241,232,.8);
  font-size: 1.6rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
  z-index: 2001;
}
.lb-nav:hover { background: var(--gold); color: var(--forest); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-thumbnails {
  position: fixed;
  bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  max-width: 90vw;
  overflow-x: auto;
  padding: .4rem;
  scrollbar-width: none;
}
.lb-thumbnails::-webkit-scrollbar { display: none; }
.lb-tn {
  width: 52px; height: 38px;
  object-fit: cover;
  cursor: pointer;
  opacity: .45;
  border: 1.5px solid transparent;
  transition: opacity var(--trans), border-color var(--trans);
  flex-shrink: 0;
}
.lb-tn.active { opacity: 1; border-color: var(--gold); }
@media(max-width:576px){
  .lb-thumbnails { display: none; }
  .lb-nav { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* ══ WELLNESS ════════════════════════════════════════════════════════════════ */
#wellness { padding: 6rem 0; background: var(--forest); }
#wellness .sec-title { color: var(--cream); }
#wellness .sec-title em { color: var(--gold-lt); }
#wellness .sec-body { color: rgba(246,241,232,.65); }
.wellness-img-wrap { position: relative; }
.wellness-img-wrap img {
  width: 100%; height: 520px;
  object-fit: cover;
  display: block;
}
.wellness-badge {
  position: absolute;
  bottom: -1.6rem; right: -1.6rem;
  width: 110px; height: 110px;
  background: var(--gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--ff-head);
  color: var(--forest);
}
.wellness-badge .num { font-size: 2.4rem; line-height: 1; }
.wellness-badge .lbl {
  font-family: var(--ff-body);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  padding: 0 .4rem;
}
.wellness-feature {
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(246,241,232,.1);
  margin-bottom: .8rem;
  transition: background var(--trans), border-color var(--trans);
  display: flex; gap: 1rem; align-items: flex-start;
}
.wellness-feature:hover {
  background: rgba(201,168,76,.07);
  border-color: rgba(201,168,76,.4);
}
.wf-icon { font-size: 1.4rem; flex-shrink: 0; padding-top: .15rem; }
.wf-body h5 { font-size: 1rem; color: var(--cream); margin: 0 0 .25rem; }
.wf-body p {
  font-size: .82rem; font-weight: 300;
  color: rgba(246,241,232,.55); line-height: 1.6; margin: 0;
}
@media(max-width:991px){
  .wellness-badge { bottom: .5rem; right: .5rem; }
  .wellness-img-wrap img { height: 340px; }
}

/* ══ O NAS ═══════════════════════════════════════════════════════════════════ */
#o-nas { padding: 6rem 0; background: var(--white); }
.o-nas-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.o-nas-img-grid img {
  width: 100%; height: 200px;
  object-fit: cover;
  display: block;
}
.o-nas-img-grid img:first-child {
  grid-column: 1/3;
  height: 280px;
}
.fact-box {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem;
  height: 100%;
}
.fact-box strong {
  font-family: var(--ff-head);
  font-size: 2rem;
  color: var(--moss);
  display: block;
  line-height: 1;
}
.fact-box span {
  font-size: .72rem;
  font-weight: 300;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ══ INFORMACJE ══════════════════════════════════════════════════════════════ */
#informacje { padding: 5rem 0; background: var(--cream); }
.info-card {
  background: var(--white);
  padding: 2.2rem;
  height: 100%;
}
.info-card h4 {
  font-size: 1.25rem;
  color: var(--forest);
  margin-bottom: .4rem;
}
.info-card p, .info-card li {
  font-size: .87rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}
.info-card ul { padding-left: 0; list-style: none; }
.info-card ul li { padding: .15rem 0; }
.info-card ul li::before { content: '— '; color: var(--gold); }
.info-card a { color: var(--moss); border-bottom: 1px solid var(--sage); }
.info-card a:hover { color: var(--gold); border-color: var(--gold); }
.konto-card {
  background: var(--forest);
  padding: 2.2rem;
  height: 100%;
}
.konto-card h4 { color: var(--cream); font-size: 1.25rem; margin-bottom: 1rem; }
.konto-iban {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: .04em;
  word-break: break-all;
}
.konto-card p {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(246,241,232,.65);
  line-height: 1.7;
}

/* ══ KONTAKT ═════════════════════════════════════════════════════════════════ */
#kontakt { padding: 6rem 0; background: var(--white); }
.kontakt-detail {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.4rem;
}
.kd-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  color: var(--moss);
}
.kd-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: .15rem;
}
.kd-val {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  color: var(--forest);
}
.kd-val a { color: var(--forest); }
.kd-val a:hover { color: var(--moss); }
.contact-form-wrap {
  background: var(--cream);
  padding: 2.8rem;
}
.contact-form-wrap h3 {
  font-size: 1.7rem;
  color: var(--forest);
  margin-bottom: 1.8rem;
}
.form-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: .35rem;
}
.form-control, .form-select {
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: 0;
  font-family: var(--ff-body);
  font-weight: 300;
  color: var(--text);
  padding: .75rem 1rem;
  font-size: .9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sage);
  box-shadow: none;
  background: var(--white);
}
.form-control::placeholder { color: rgba(107,127,112,.55); }
.map-wrap { margin-top: 2rem; }
.map-wrap iframe { width: 100%; height: 250px; border: none; display: block; }

/* ══ FOOTER ══════════════════════════════════════════════════════════════════ */
footer {
  background: var(--forest);
  padding: 3rem 0;
  border-top: 1px solid rgba(246,241,232,.1);
}
.footer-brand {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  color: var(--cream);
}
.footer-brand em { color: var(--gold); }
footer p, footer a {
  font-size: .8rem;
  font-weight: 300;
  color: rgba(246,241,232,.45);
}
footer a:hover { color: var(--gold); }
.footer-links {
  display: flex; gap: 1.5rem;
  flex-wrap: wrap; list-style: none;
  padding: 0; margin: 0;
}
.footer-links a {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-social a {
  display: inline-flex;
  width: 34px; height: 34px;
  border: 1px solid rgba(246,241,232,.2);
  align-items: center; justify-content: center;
  color: rgba(246,241,232,.55) !important;
  font-size: .95rem;
  transition: border-color var(--trans), color var(--trans);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold) !important; }

/* ══ SCROLL TO TOP ═══════════════════════════════════════════════════════════ */
#scrollTop {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--forest);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans), transform var(--trans);
  z-index: 999;
}
#scrollTop.visible { opacity: 1; pointer-events: all; }
#scrollTop:hover { transform: translateY(-3px); }

/* ══ REVEAL ON SCROLL ════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ══ UTILITIES ═══════════════════════════════════════════════════════════════ */
.divider-gold { border-top: 1px solid rgba(201,168,76,.25); }
.text-gold    { color: var(--gold); }
.bg-forest    { background: var(--forest); }
.bg-cream     { background: var(--cream); }
