/* ===========================================================
   Pod Silosem — Agroturystyka Giławy
   Styl: przytulny / boho · paleta natury
   =========================================================== */

:root {
  --cream:      #f7f1e7;
  --sand:       #efe4d4;
  --terracotta: #c2714f;
  --terracotta-dark: #a85b3c;
  --sage:       #7d8c6a;
  --sage-dark:  #5f6e4f;
  --olive:      #4d5440;
  --brown:      #6b4f3a;
  --ink:        #3a3127;
  --muted:      #7c7164;
  --white:      #fffdfa;
  --shadow:     0 18px 40px rgba(74, 56, 38, .14);
  --shadow-sm:  0 6px 18px rgba(74, 56, 38, .10);
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1160px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Nunito Sans", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .3px; }
h3 { font-size: 1.5rem; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: .6rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { border-color: var(--terracotta); color: var(--terracotta); background: transparent; }
.btn-ghost:hover { background: var(--terracotta); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 231, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 79, 58, .12);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark { font-size: 1.5rem; }
.brand-text {
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem;
  line-height: 1; display: flex; flex-direction: column;
}
.brand-text small { font-family: var(--sans); font-weight: 600; font-size: .62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; transition: color .2s; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--terracotta); transition: width .25s ease;
}
.nav a:not(.nav-cta):hover { color: var(--terracotta); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--sage); color: #fff !important; padding: .55rem 1.2rem; border-radius: 999px; }
.nav-cta:hover { background: var(--sage-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: url("../img/foto-06.webp") center/cover no-repeat fixed;
  color: #fff; text-align: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,49,39,.35) 0%, rgba(58,49,39,.55) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 800px; text-align: center; margin-inline: auto; padding-block: 5rem; }
.hero-kicker { text-transform: uppercase; letter-spacing: 4px; font-size: .8rem; font-weight: 700; color: #f3dcc9; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-lead { margin: 1.4rem auto 2.2rem; max-width: 600px; font-size: 1.15rem; color: #f6ede2; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--terracotta-dark); }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: #fff; font-size: 1.6rem; opacity: .85; animation: bob 1.8s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- SECTIONS ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-alt { background: var(--sand); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-sub { color: var(--muted); margin-top: .8rem; font-size: 1.08rem; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; }
.split-media img, .map-frame {
  width: 100%; height: 100%; min-height: 340px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.media-badge {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--terracotta); color: #fff; font-weight: 700; font-size: .82rem;
  padding: .5rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.split-text h2 { margin-bottom: 1rem; }
.split-text p { margin-bottom: 1rem; color: #4f463b; }

.feature-list { list-style: none; margin-top: 1.6rem; display: grid; gap: .7rem; }
.feature-list li { font-weight: 600; }

/* ---------- CARDS (noclegi) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 1.5rem 1.6rem 1.8rem; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--muted); font-size: .98rem; }

/* ---------- AMENITIES (atrakcje) ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.amen {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem;
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(107,79,58,.06);
  transition: transform .25s ease;
}
.amen:hover { transform: translateY(-5px); }
.amen-ico { font-size: 2.4rem; display: block; margin-bottom: .8rem; }
.amen h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.amen p { color: var(--muted); font-size: .96rem; }

/* ---------- PLACES / MAPY DOJAZDOWE ---------- */
.places-head { text-align: center; max-width: 680px; margin: 4rem auto 2.4rem; }
.places-head h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.place-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.place-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.place-media { position: relative; aspect-ratio: 4/3; }
.place-media iframe { width: 100%; height: 100%; border: 0; display: block; }
.place-dist {
  position: absolute; top: 12px; right: 12px;
  background: var(--sage); color: #fff; font-weight: 700; font-size: .8rem;
  padding: .35rem .85rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.place-body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.place-body h3 { margin-bottom: .5rem; }
.place-body p { color: var(--muted); font-size: .98rem; margin-bottom: 1.3rem; }
.place-tip { display: block; margin-top: .7rem; color: var(--brown); font-size: .9rem; font-weight: 600; }
.place-body .btn { margin-top: auto; }
.place-card--soon {
  align-items: center; justify-content: center; text-align: center;
  border: 2px dashed rgba(107,79,58,.25); box-shadow: none; background: transparent;
  min-height: 280px; padding: 2rem;
}
.place-card--soon:hover { transform: none; box-shadow: none; }
.place-card--soon .amen-ico { margin-bottom: .6rem; }
.place-card--soon p { color: var(--muted); margin-top: .3rem; }

/* trasy rowerowe */
.bike-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.bike-map iframe { width: 100%; height: clamp(320px, 50vh, 460px); border: 0; display: block; }
.bike-maplink { display: inline-block; margin: 1rem 0 2.6rem; color: var(--terracotta); font-weight: 700; }
.bike-maplink:hover { color: var(--terracotta-dark); }
.route-card .route-band {
  display: flex; align-items: center; gap: .55rem;
  padding: .9rem 1.4rem; color: #fff; font-weight: 700; font-size: .95rem;
}
.route-ico { font-size: 1.2rem; }
.route-blue  { background: #3b6ea5; }
.route-green { background: var(--sage-dark); }
.route-red   { background: #b23b3b; }

/* ---------- GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.g-item { overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); cursor: pointer; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.08); }
.g-wide { grid-column: span 2; grid-row: span 2; }

/* ---------- OPINIE ---------- */
.hero-trust {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.6rem;
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: .5rem 1.2rem; font-size: .95rem; color: #fff;
  transition: background .2s ease;
}
.hero-trust:hover { background: rgba(255,255,255,.26); }

.score-badge {
  margin-top: 1.6rem; display: inline-flex; align-items: center; gap: .95rem;
  background: var(--white); padding: .65rem 1.5rem .65rem .65rem;
  border-radius: 999px; box-shadow: var(--shadow-sm); text-align: left;
}
.score-num {
  width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  background: var(--sage); color: #fff; border-radius: 16px;
  font-family: var(--serif); font-size: 1.7rem; font-weight: 700;
}
.score-meta { font-size: .92rem; color: var(--muted); line-height: 1.4; }
.score-meta strong { display: block; color: var(--ink); font-size: 1rem; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.review-card {
  background: var(--white); border-radius: var(--radius); padding: 1.9rem 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(107,79,58,.06);
  display: flex; flex-direction: column; gap: 1.2rem; margin: 0;
}
.review-card blockquote {
  font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; color: #4f463b;
}
.review-card figcaption {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.review-card figcaption strong { display: block; }
.review-card figcaption small { color: var(--muted); }
.review-score {
  background: var(--sage); color: #fff; font-weight: 700; font-size: .8rem;
  padding: .3rem .75rem; border-radius: 999px; white-space: nowrap;
}
.reviews-foot { text-align: center; margin-top: 2.6rem; }
.reviews-src { margin-top: 1rem; font-size: .85rem; color: var(--muted); }

/* ---------- PRICING ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; align-items: stretch; }
.price-card {
  background: var(--white); border-radius: var(--radius); padding: 2.4rem 2rem;
  box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column;
  border: 1px solid rgba(107,79,58,.07);
}
.price-card--featured { border: 2px solid var(--terracotta); box-shadow: var(--shadow); }
.price-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: #fff; font-size: .76rem; font-weight: 700;
  letter-spacing: .5px; padding: .35rem 1rem; border-radius: 999px; white-space: nowrap;
}
.price-meta { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.price { font-family: var(--serif); margin: 1.2rem 0; color: var(--olive); font-size: 1.1rem; }
.price span { font-size: 2.8rem; font-weight: 700; color: var(--ink); }
.price small { color: var(--muted); font-family: var(--sans); font-size: .9rem; }
.price-card ul { list-style: none; margin: 0 0 1.6rem; display: grid; gap: .55rem; }
.price-card ul li { padding-left: 1.6rem; position: relative; color: #4f463b; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800; }
.price-card .btn { margin-top: auto; }

/* ---------- CONTACT ---------- */
.section-contact { background: var(--olive); color: #f4efe6; }
.section-contact h2, .section-contact .kicker { color: #fff; }
.section-contact .kicker { color: #e6c3aa; }
.section-contact p { color: #ddd6c8; }
.contact-list { list-style: none; margin: 1.8rem 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list span { font-size: 1.4rem; }
.contact-list strong { color: #fff; }
.contact-list a { color: #f0d9c6; border-bottom: 1px solid transparent; }
.contact-list a:hover { border-color: #f0d9c6; }
.map-frame { border: 0; min-height: 380px; }
.map-link { display: inline-block; margin-top: .9rem; color: #f0d9c6; font-weight: 700; }

/* ---------- FOOTER ---------- */
.site-footer { background: #2f2820; color: #cabfae; padding-top: 3.5rem; }
.footer-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand { color: #fff; font-size: 1.5rem; }
.footer-brand small { color: #a99e8c; }
.footer-note { margin-top: .6rem; font-size: .95rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.3rem; font-size: .88rem;
}

/* ---------- FLOATING CALL BUTTON ---------- */
.fab-call {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--terracotta); color: #fff; display: none;
  align-items: center; justify-content: center; font-size: 1.4rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(30,24,18,.92); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff;
  cursor: pointer; border-radius: 50%; transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 22px; right: 26px; width: 46px; height: 46px; font-size: 1.8rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.2rem; }
.lb-prev { left: 24px; } .lb-next { right: 24px; }

/* ---------- RESPONSYWNOŚĆ ---------- */
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--cream); padding: 1rem 0;
    border-bottom: 1px solid rgba(107,79,58,.12);
    transform: translateY(-130%); transition: transform .35s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: .9rem 24px; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: .6rem 24px; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { background-attachment: scroll; }
  .cards, .amen-grid, .price-grid, .places, .reviews { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; }
  .fab-call { display: flex; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .amen-grid, .price-grid, .places, .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-wide { grid-column: span 2; grid-row: span 1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; gap: .6rem; }
}
