/* =============================================================
   offers.css — Strony ofertowe: wyjazdy grupowe, wycieczki
   szkolne, pole namiotowe
   Depends on: homepage.css + route.css
   ============================================================= */

/* ── Breadcrumb ──────────────────────────────────────────── */
.jk-offer-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.80);
}

.jk-offer-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.18s ease;
}

.jk-offer-breadcrumb a:hover {
  color: var(--jk-accent);
}

.jk-offer-breadcrumb span[aria-current="page"] {
  color: var(--jk-accent);
  font-weight: 500;
}


/* ── Offer Hero ──────────────────────────────────────────── */
.jk-offer-hero {
  background-color: var(--jk-deep);
  background-image: linear-gradient(160deg, var(--jk-deep) 0%, #0a2d47 60%, #112a3e 100%);
  background-size: cover;
  background-position: center;
  padding: clamp(80px, 12vw, 140px) 0 clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

.jk-offer-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(14, 58, 91, 0.88) 0%, rgba(10, 45, 71, 0.82) 50%, rgba(17, 42, 62, 0.78) 100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.jk-offer-hero.has-hero-image::before {
  opacity: 1;
}

.jk-offer-hero:not(.has-hero-image)::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(31, 122, 140, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(92, 122, 91, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.jk-offer-hero .jk-container {
  position: relative;
  z-index: 1;
}

.jk-offer-hero-content {
  max-width: 720px;
}

.jk-offer-hero .jk-title {
  color: #ffffff;
  margin-bottom: 16px;
}

.jk-offer-hero .jk-eyebrow {
  color: var(--jk-accent);
  margin-bottom: 16px;
}

.jk-offer-hero .jk-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 32px;
}

.jk-offer-hero .jk-actions {
  margin-bottom: 0;
}


/* ── Benefits grid (quick info checkmarks) ───────────────── */
.jk-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.jk-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--jk-foam);
  border: 1px solid rgba(14, 58, 91, 0.08);
  border-radius: 10px;
}

.jk-benefit-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--jk-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.jk-benefit-check svg {
  width: 10px;
  height: 10px;
}

.jk-benefit-text {
  font-size: 0.9375rem;
  color: var(--jk-ink);
  line-height: 1.5;
}


/* ── Photo slots — placeholders na zdjęcia ───────────────── */
.jk-photo-slot {
  background: linear-gradient(135deg, #122d42 0%, #0c2538 100%);
  border: 2px dashed rgba(31, 122, 140, 0.35);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  color: rgba(255, 255, 255, 0.40);
  text-align: center;
  min-height: 200px;
}

.jk-photo-slot--wide {
  aspect-ratio: 21 / 8;
  min-height: unset;
}

.jk-photo-slot__icon {
  width: 40px;
  height: 40px;
  opacity: 0.4;
  flex-shrink: 0;
}

.jk-photo-slot__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  max-width: 240px;
}

.jk-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.jk-photo-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.jk-photo-grid .jk-photo-slot {
  aspect-ratio: 4 / 3;
  min-height: unset;
  padding: 24px;
}


/* ── Callout — wycena indywidualna ───────────────────────── */
.jk-callout {
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 24px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.jk-callout--teal {
  background: rgba(31, 122, 140, 0.08);
  border: 1px solid rgba(31, 122, 140, 0.20);
  color: var(--jk-ink);
}

.jk-callout strong {
  color: var(--jk-deep);
  font-weight: 700;
}


/* ── Camping — tabela cenowa ─────────────────────────────── */
.jk-camping-pricing {
  border: 1px solid rgba(14, 58, 91, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: var(--jk-foam);
  box-shadow: 0 2px 20px rgba(14, 58, 91, 0.05);
}

.jk-camping-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 24px;
  border-bottom: 1px solid rgba(14, 58, 91, 0.07);
  font-size: 0.9375rem;
}

.jk-camping-price-row:last-child {
  border-bottom: none;
}

.jk-camping-price-row--free {
  background: rgba(92, 122, 91, 0.06);
}

.jk-camping-price-label {
  color: var(--jk-ink);
  flex: 1;
  line-height: 1.4;
}

.jk-camping-price-value {
  font-weight: 700;
  color: var(--jk-deep);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.jk-camping-price-value--free {
  color: #3d6b3c;
}

/* Pricing grid: tabela + karta "w cenie" */
.jk-camping-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  align-items: start;
}


/* ── Camping — amenities ─────────────────────────────────── */
.jk-amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.jk-amenity-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 18px;
  background: var(--jk-foam);
  border: 1px solid rgba(14, 58, 91, 0.08);
  border-radius: 12px;
}

.jk-amenity-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.jk-amenity-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--jk-deep);
  line-height: 1.3;
  margin: 0;
}

.jk-amenity-text {
  font-size: 0.875rem;
  color: var(--jk-ink);
  line-height: 1.5;
  margin: 0;
}


/* ── Real photo containers (replacing placeholders) ─────── */
.jk-photo-real {
  border-radius: 16px;
  overflow: hidden;
  display: block;
  width: 100%;
}

.jk-photo-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jk-photo-real--wide {
  aspect-ratio: 21 / 8;
}

.jk-photo-grid .jk-photo-real {
  aspect-ratio: 4 / 3;
}

.jk-photo-real--tall {
  aspect-ratio: 4 / 3;
  min-height: 200px;
}

/* ── Offer page spacing ──────────────────────────────────── */
.jk-offer-page .jk-section {
  padding: clamp(48px, 8vw, 88px) 0;
}

.jk-offer-page .jk-section--alt {
  background: var(--jk-sand);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ── 1024px ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .jk-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jk-amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .jk-camping-pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── 768px ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .jk-photo-slot--wide {
    aspect-ratio: 16 / 9;
  }

  .jk-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jk-photo-grid--2 {
    grid-template-columns: 1fr;
  }

  .jk-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 480px ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  .jk-benefits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .jk-photo-grid {
    grid-template-columns: 1fr;
  }

  .jk-amenities-grid {
    grid-template-columns: 1fr;
  }

  .jk-camping-price-row {
    padding: 13px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .jk-camping-price-value {
    text-align: left;
  }
}

/* ── 375px ───────────────────────────────────────────────── */
@media (max-width: 375px) {
  .jk-offer-hero {
    padding-top: 72px;
    padding-bottom: 40px;
  }

  .jk-offer-breadcrumb {
    font-size: 0.8125rem;
    gap: 4px;
  }
}


/* =============================================================
   CONTACT PAGE — /kontakt/
   ============================================================= */

/* ── Contact cards grid ──────────────────────────────────── */
.jk-contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.jk-contact-card {
  background: var(--jk-foam);
  border: 1px solid rgba(14, 58, 91, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jk-contact-card__icon {
  width: 40px;
  height: 40px;
  color: var(--jk-teal);
  flex-shrink: 0;
}

.jk-contact-card__icon svg {
  width: 100%;
  height: 100%;
}

.jk-contact-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jk-teal);
}

.jk-contact-card__value {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--jk-ink);
  line-height: 1.5;
}

.jk-contact-card__value a {
  color: var(--jk-ink);
  text-decoration: none;
  transition: color 0.18s ease;
}

.jk-contact-card__value a:hover {
  color: var(--jk-teal);
}

.jk-contact-card__value span {
  color: var(--jk-ink);
}

/* ── Map section ─────────────────────────────────────────── */
.jk-contact-map-grid {
  align-items: start;
}

.jk-map-container {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: var(--jk-foam);
}

.jk-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .jk-contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .jk-contact-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .jk-contact-card {
    padding: 22px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }

  .jk-contact-card__icon {
    width: 32px;
    height: 32px;
    margin-top: 2px;
  }

  .jk-contact-card__label,
  .jk-contact-card__value {
    flex: 1;
    min-width: 0;
  }

  .jk-map-container {
    aspect-ratio: 3 / 2;
  }
}
