:root {
  --primary: #176b58;
  --primary-dark: #104c3f;
  --primary-light: #e3f1ec;
  --text: #1e2925;
  --muted: #64716c;
  --border: #dbe4df;
  --background: #ffffff;
  --background-alt: #f5f8f6;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 43, 35, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow-content {
  max-width: 780px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background: var(--background-alt);
}

.section-label,
.hero-label {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 8px 18px rgba(23, 107, 88, 0.25);
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* NAGŁÓWEK I MENU */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 228, 223, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.nav-list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-list a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.menu-toggle {
  display: none;
  padding: 5px 9px;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  font-size: 1.65rem;
  cursor: pointer;
}

/* SEKCJA GŁÓWNA */

.hero {
  display: flex;
  align-items: center;
  min-height: 580px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 48, 40, 0.88), rgba(15, 48, 40, 0.40)),
    linear-gradient(135deg, #346b5e, #87a98c);
}

.hero-content {
  padding: 80px 0;
}

.hero-label {
  color: #cde9db;
}

.hero-sub {
  max-width: 650px;
  margin-bottom: 30px;
  color: #f0f7f3;
  font-size: 1.15rem;
}

.hero .btn {
  color: var(--primary-dark);
  background: var(--white);
}

.hero .btn:hover {
  background: #e5f4ed;
}

/* GALERIA */

.gallery-intro {
  margin-top: -6px;
  margin-bottom: 28px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 220px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #dfe8e3;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  min-height: 0;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 45%;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.gallery-item span {
  position: absolute;
  z-index: 1;
  bottom: 13px;
  left: 14px;
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.gallery-item:hover img {
  filter: brightness(0.82);
  transform: scale(1.06);
}

/* UDOGODNIENIA */

.amenities-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenities-list li {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 5px 20px rgba(21, 43, 35, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amenities-list li:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.amenities-list strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 1.05rem;
}

.amenities-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.amenity-icon {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #c8e2d7;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1faf5, #d8eee4);
  box-shadow: 0 5px 12px rgba(23, 107, 88, 0.12);
  font-size: 1.45rem;
  line-height: 1;
}

/* CENNIK */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 5px 20px rgba(21, 43, 35, 0.05);
}

.price-card p:last-child {
  margin-bottom: 0;
}

.price-card-featured {
  border: 2px solid var(--primary);
}

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 800;
}

.price {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-note {
  margin: 28px 0 0;
  color: var(--muted);
}

/* LOKALIZACJA I MAPA */

.location-text {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

/* KONTAKT */

.contact-section {
  color: var(--white);
  background: #1c4238;
}

.contact-section .section-label {
  color: #a8d8c4;
}

.contact-section h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
}

.contact-text {
  max-width: 620px;
  color: #e2eee8;
  font-size: 1.08rem;
}

.contact-details {
  margin: 28px 0;
}

.contact-details p {
  display: grid;
  gap: 3px;
  margin-bottom: 18px;
}

.contact-details strong {
  color: #a8d8c4;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-details a:hover {
  color: #bde5d3;
}

.contact-section .btn {
  color: var(--primary-dark);
  background: var(--white);
  box-shadow: none;
}

.contact-section .btn:hover {
  background: #dff1e7;
}

.contact-box {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-box h3 {
  margin-bottom: 10px;
}

.contact-box p {
  margin-bottom: 10px;
  color: #e2eee8;
}

.contact-box ul {
  margin: 0;
  padding-left: 20px;
  color: #e2eee8;
}

/* STOPKA */

.site-footer {
  padding: 25px 0;
  color: #cfddd6;
  background: #123128;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a:hover {
  color: var(--white);
}

/* POWIĘKSZANIE ZDJĘĆ */

.lightbox {
  position: relative;
  width: min(94vw, 1150px);
  max-width: none;
  padding: 54px 72px 22px;
  overflow: visible;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(18, 25, 22, 0.98);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.84);
}

.lightbox img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox p {
  margin: 14px 0 0;
  color: #d9e2dd;
  text-align: center;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: var(--primary);
}

.lightbox-close {
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  width: 48px;
  height: 52px;
  border-radius: 10px;
  font-size: 42px;
  line-height: 38px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

/* TABLET */

@media (max-width: 900px) {
  .nav-list {
    gap: 0;
  }

  .nav-list a {
    padding: 8px 7px;
    font-size: 0.84rem;
  }

  .amenities-list,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    gap: 32px;
  }
}

/* TELEFON */

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .header-inner {
    min-height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 8px 16px rgba(21, 43, 35, 0.08);
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list a {
    padding: 11px 10px;
    font-size: 1rem;
  }

  .hero {
    min-height: 510px;
  }

  .hero-content {
    padding: 65px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .gallery-item {
    height: 165px;
  }

  .gallery-item img {
    height: 165px;
  }

  .amenity-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }

  .map-wrap iframe {
    height: 340px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    width: 96vw;
    padding: 52px 42px 20px;
  }

  .lightbox-arrow {
    width: 35px;
    height: 42px;
    font-size: 30px;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }
}

/* BARDZO WĄSKI TELEFON */

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .gallery-grid,
  .amenities-list,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 230px;
  }

  .gallery-item img {
    height: 230px;
  }

  .map-wrap iframe {
    height: 300px;
  }

  .footer-inner {
    flex-direction: column;
  }
}