:root {
  --color-bg: #f4f0ea;
  --color-surface: #ffffff;
  --color-accent: #6a7464;
  --color-accent-soft: #b38b5a;
  --color-text: #2b2b2b;
  --color-muted: #7a7a7a;
  --color-border: #e0d5c6;
}

/* RESET BARDZO LEKKI */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: radial-gradient(circle at bottom, #f9f6f0 0, var(--color-bg) 45%, #ece3d7 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.ItemList {
  padding: 1.6rem;
}

/* LAYOUT OGÓLNY */
.container {
  width: min(1300px, 100% - 2rem);
  margin: 0 auto;
}

section {
  padding: 4rem 0;
  background: var(--color-surface);
  margin-bottom: 1.2rem;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(0,0,0,0.05);
  border: 1px solid rgba(224, 213, 198, 0.9);
}

.section--narrow {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

/* odsunięcie zawartości (w tym zdjęć) od krawędzi w sekcjach narrow */
#onas .about-grid-v2,
#okolica .area__wrapper,
#kontakt .contact__top,
#kontakt .contact__form,
#kontakt .faq {
  padding: 0 1.4rem;
}

@media (max-width: 900px) {
  .section--narrow {
    width: 100%;
  }
}

/* Hero pełna szerokość, bez "karty" (opcjonalnie) */
.hero {
  width: 100%;
  border-radius: 0;
  margin-bottom: 1.2rem;
  border: none;
  box-shadow: none;
}

h1, h2, h3 {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

/* HEADER / NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #DCCDB9;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(224, 213, 198, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0rem 0.5rem;
  flex-wrap: wrap;
}

.nav__logo {
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: #2d2a25;
  display: flex;
  align-items: center;
}

/* LANGUAGE SWITCHER */
.nav__lang {
  display: flex;
  align-items: center;
}

.nav__lang-select {
  appearance: none;
  background: rgba(248, 244, 238, 0.95);
  border-radius: 999px;
  padding: 0.35rem 1.6rem 0.35rem 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.nav__lang-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(106, 116, 100, 0.2);
}

/* simple caret */
.nav__lang {
  position: relative;
}

.nav__lang::after {
  content: "▾";
  position: absolute;
  right: 0.75rem;
  pointer-events: none;
  font-size: 0.85rem;
  color: #2d2a25;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav__link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  position: relative;
  color: #000000;
  padding-bottom: 0.25rem;
  font-weight: bold;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s;
}

.nav__link:hover::after {
  width: 100%;
}

/* przycisk hamburger domyślnie ukryty (desktop) */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #2d2a25;
}

/* menu – desktopowo w rzędzie */
.nav__menu {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.nav__close {
  display: none;
}

/* tło za menu mobilnym – domyślnie ukryte */
.nav__overlay {
  display: none;
}

/* HERO + FORMULARZ REZERWACJI */
.hero {
  padding: 0;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  min-height: 720px;
  border-radius: 0;
  overflow: hidden;
}

.hero__slides {
  height: 100%;
  display: grid;
}

.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  height: 720px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  filter: saturate(1.05);
}

.hero__slide--active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 20, 15, 0.58),
    rgba(52, 58, 46, 0.82)
  );
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f8f4ee;
  padding: 1rem;
}

.hero__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.8rem;
  letter-spacing: 0.15em;
}

.hero__subtitle {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-weight: 300;
  color: #f2ece3;
}

.hero__booking {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero__field {
  background: rgba(248, 244, 238, 0.96);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(231, 221, 209, 0.95);
}

.hero__field label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  font-weight: 600;
}

.hero__field input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  min-width: 130px;
  color: #3b362f;
}

.hero__field input::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

.hero__btn {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  background: var(--color-accent);
  color: #f9f6f0;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
  box-shadow: 0 10px 22px rgba(20, 26, 18, 0.4);
  font-weight: 600;
}

.hero__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(11, 16, 11, 0.55);
  background: #555f50;
}

/* O NAS – nowy grid  (tekst1/foto1, foto2+3/tekst2, tekst3/foto4) */
.about-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "text1  photo1"
    "photos text2"
    "text3  photo4";
  gap: 1rem;
}

/* ogólne pudełka */
.about-box {
}

/* tekstowe kafelki */
.about-text {
  font-size: 0.95rem;
  text-align: justify;
}

/* pojedyncze zdjęcia */
.about-photo {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

/* siatka 2x foto2 + foto3 */
.about-photos-pair {
  grid-area: photos;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5rem;
}

.text-1 {
  grid-area: text1;
}

.text-2 {
  grid-area: text2;
}

.text-3 {
  grid-area: text3;
}

.photo-1 {
  grid-area: photo1;
}

.photo-4 {
  grid-area: photo4;
}

/* responsywność – na mobile wszystko pod sobą */
@media (max-width: 900px) {
  .about-grid-v2 {
    grid-template-columns: 1fr;
    grid-template-areas: "text1"
      "photo1"
      "photos"
      "text2"
      "text3"
      "photo4";
  }
}

/* POKOJE – KAFELKI (3 u góry, 2 na dole, te same wymiary) */
.rooms__card {
  border-radius: 16px;
  background: #f8f4ee;
  border: 1px solid var(--color-border);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  width: 360px;
  flex: 0 0 360px;
  max-width: 100%;
}

.rooms__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  border-color: var(--color-accent-soft);
}

.rooms__image {
  border-radius: 12px;
  background: #c5b7a6;
  height: 180px;
  margin-bottom: 0.5rem;
  background-size: cover;
  background-position: center;
}

.rooms__title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #474138;
  font-size: 0.9rem;
}

.rooms__amenities {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* NOWA GALERIA POZIOMA – SLIDER */
.gallery-container {
  width: 100%;
  max-width: 80%;
  margin: 2rem auto 0;
  position: relative;
}

.gallery-wrapper {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #f8f4ee;
}

.gallery {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery img {
  flex: 0 0 25%;
  max-width: 25%;
  height: auto;
  object-fit: fill;
  cursor: pointer;
}

/* lekkie oddzielenie kolejnych zdjęć */
.gallery img + img {
  border-left: 2px solid #fff;
}

.gallery.dragging {
  cursor: grabbing;
}

/* przyciski nawigacyjne */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.gallery-btn.left {
  left: -20px;
}

.gallery-btn.right {
  right: -20px;
}

.gallery-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.05);
}

.gallery-btn:disabled {
  opacity: 0.3;
  cursor: default;
  transform: translateY(-50%);
}

/* mobile – 2 zdjęcia naraz */
@media (max-width: 768px) {
  .gallery img {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .gallery-btn.left {
    left: 5px;
  }
  .gallery-btn.right {
    right: 5px;
  }
}

/* OKOLICA */
.area__wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  font-size: 0.95rem;
  text-align: justify;
}

.area__photo {
  border-radius: 18px;
  background: linear-gradient(135deg, #d4c8ba, #bfa88c);
  height: 330px;
}

@media (max-width: 768px) {

  .area__photo {
    background-size: cover;
	background-position: center;
	height: 220px;
  }
}


/* ATRAKCJE – 4x2 */
.attractions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.attractions__item {
  border-radius: 14px;
  background: #f8f3ec;
  border: 1px solid var(--color-border);
  padding: 0.8rem 0.8rem 0.9rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 120px;
  text-align: center;
  font-size: 0.9rem;
  transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s;
}

.attractions__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
  border-color: var(--color-accent-soft);
}

/* Miniatury atrakcji – tło ustawiane JS-em na podstawie data-modal-image */
.attractions__thumb {
  background: #c7b9a9;
  border-radius: 10px;
  height: 300px;
  background-size: cover;
  background-position: center;
}

.attractions__title {
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: #4a443b;
}

.attractions__desc {
  color: var(--color-muted);
  font-size: 0.88rem;
}

/* KONTAKT */
.contact__top {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.contact__details {
  font-size: 0.95rem;
  color: #4b453c;
  font-size: 0.95rem;
  text-align: left;
}

.contact__details a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact__map {
  border-radius: 16px;
  background: #d0c2b2;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.contact__map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #4f473d;
  padding: 0.5rem 1rem;
  text-align: center;
}

.contact__form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact__form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.contact__form label {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted);
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  background: #fdfaf6;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(106, 116, 100, 0.2);
}

.contact__form button {
  justify-self: flex-start;
  border: none;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.12s;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 10px 20px rgba(153, 122, 80, 0.4);
}

.contact__form button:hover {
  background: #9e7543;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(125, 93, 52, 0.55);
}

/* FAQ */
.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq h3 {
  padding: 0 1.4rem;
}

.faq__question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.9rem 0;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #463f36;
  padding: 1.2rem 1.4rem;
}

.faq__icon {
  font-size: 1.2rem;
  margin-left: 1rem;
  color: var(--color-accent);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.9rem;
  padding-right: 1.5rem;
  color: var(--color-muted);
  padding: 0rem 1.4rem;
}

.faq__answer--open {
  padding-bottom: 0.8rem;
}

/* MODAL / POPUP DO GALERII I ATRAKCJI / POKOI */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 14, 10, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.modal--open {
  display: flex;
}

.modal__content {
  max-width: min(1100px, 92vw);
  max-height: 90vh;
  background: #fbf6ef;
  border-radius: 18px;
  padding: 1.1rem 1.3rem 1.1rem;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

.modal__close {
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  font-size: 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
}

.modal__image {
  width: 100%;
  height: auto;
  max-width: min(1100px, 92vw);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  display: block;
}

/* STOPKA */
footer {
  padding: 2rem 1rem 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* RESPONSYWNOŚĆ – układy */
@media (max-width: 900px) {
  .area__wrapper,
  .contact__top {
    grid-template-columns: 1fr;
  }
  .attractions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .attractions__grid {
    grid-template-columns: 1fr;
  }
  .hero__inner {
    min-height: 320px;
  }
}

/* NOWY UKŁAD POKOI – 3 NA GÓRZE, 2 NA DOLE */
.rooms__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.rooms__row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.rooms__row--top,
.rooms__row--bottom {
  max-width: 1200px;
}

/* na małych ekranach kafelki w kolumnie */
@media (max-width: 800px) {
  .rooms__row {
    flex-direction: column;
    align-items: stretch;
  }
  .rooms__card {
    /*width: 100%;*/
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* ===== STRONA SZCZEGÓŁOWA POKOJU ===== */
.room-detail {
  width: 80%;
  margin: 2rem auto 1.5rem;
  padding: 1.6rem;
}

.room-detail__breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.8rem;
}

.room-detail__breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--color-accent);
}

.room-detail__title {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
  text-align: left;
}

.room-detail__subtitle {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.6rem;
}

.room-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.room-detail__gallery-card,
.room-detail__info-card,
.room-detail__extras-card {
  background: var(--color-surface);
  border-radius: 18px;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 35px rgba(0,0,0,0.05);
  padding: 1.1rem 1.3rem 1.3rem;
}

/* GALERIA W POKOJU */
.room-detail__gallery-main {
  border-radius: 14px;
  height: 420px;
  background-size: cover;
  background-position: center;
  margin-bottom: 0.8rem;
}

.room-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.room-detail__thumb {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s;
}

.room-detail__thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.room-detail__thumb:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent-soft);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.room-detail__thumb--active {
  border-color: var(--color-accent);
}

@media (max-width: 800px) {
  .room-detail__gallery-main {
    border-radius: 14px;
    height: 2450px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.8rem;
  }
  .room-detail__thumb img {
    width: 100%;
    height: 65px;
    object-fit: cover;
    display: block;
  }

}

/* PANEL INFORMACJI I CENA */
.room-detail__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.room-detail__badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: #f5ece0;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  color: #5c5244;
}

.room-detail__description {
  font-size: 0.92rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  padding: 0;
}

.room-detail__amenities-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.8rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.room-detail__amenity {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.room-detail__icon {
  font-size: 1.1rem;
}

.room-detail__price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.room-detail__price-row strong {
  font-size: 1.15rem;
}

.room-detail__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex-direction: column;
  align-items: left;
}

.room-detail__btn-main {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.8rem;
  background: var(--color-accent);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 10px 22px rgba(20, 26, 18, 0.4);
  transition: transform 0.12s, box-shadow 0.12s, background 0.18s;
}

.room-detail__btn-main:hover {
  background: #555f50;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(11, 16, 11, 0.55);
}

.room-detail__note {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* DODATKOWE INFORMACJE / UDOGODNIENIA SZCZEGÓŁOWO */
.room-detail__extras {
  margin-top: 1.5rem;
}

.room-detail__extras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.room-detail__extras-title {
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

/* FORMULARZ "jak Booking" pod pokojem */
.room-detail__booking {
  width: 80%;
  margin: 0 auto 3rem;
  background: var(--color-surface);
  border-radius: 18px;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 35px rgba(0,0,0,0.05);
  padding: 1.4rem 1.5rem 1.7rem;
}

.room-detail__booking h2 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  text-align: left;
}

/* na mobile – szczegóły pokoju */
@media (max-width: 800px) {
  .room-detail {
    width: 100%;	  
    margin: 2rem auto 1.5rem;
    padding: 0.8rem;
  
  }
  .room-detail__layout {
    grid-template-columns: 1fr;
  }
  .room-detail__extras-grid {
    grid-template-columns: 1fr 1fr;
  }
  .room-detail__booking {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .room-detail__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .room-detail__extras-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== MOBILE MENU – SZUFLADA Z BOKU ===== */
@media (max-width: 900px) {
  .nav {
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    flex-wrap: nowrap;
  }
  .nav__toggle {
    display: block;
  }
  .nav__logo {
    margin-left: auto;
    margin-right: auto;
    padding: 0.6rem 0;
  }
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 70%;
    max-width: 320px;
    background: rgba(80, 80, 80, 0.9);
    color: #f5f5f5;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 1.8rem 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    z-index: 1001;
  }
  .nav__close {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #f5f5f5;
    cursor: pointer;
  }
  .nav__menu--open {
    transform: translateX(0);
  }
  .nav__link {
    font-size: 0.9rem;
    letter-spacing: 0.16em;
	color: #FFFFFF;
  }
  .nav__link::after {
    background: #f5f5f5;
  }
  .nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(40, 40, 40, 0.35);
    backdrop-filter: blur(2px);
    z-index: 1000;
  }
  .nav__overlay--visible {
    display: block;
  }
}

/* klik w zdjęcie główne = podgląd */
.room-detail__gallery-main {
  cursor: zoom-in;
}

/* ===== Language switch (PL/EN) ===== */
.lang-switch {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0.7;
  transition: transform 0.15s, opacity 0.15s;
  line-height: 1;
}

.lang-btn:hover {
  transform: scale(1.15);
  opacity: 1;
}

.lang-btn.is-active {
  opacity: 1;
  transform: scale(1.05);
}

body.lang-switching {
  opacity: 0;
  transition: opacity 180ms ease;
}

body.lang-ready {
  opacity: 1;
  transition: opacity 180ms ease;
}


/* Link cards: keep visual style while improving accessibility */
.rooms__card,
.attractions__item {
  color: inherit;
  text-decoration: none;
}

.rooms__card:focus-visible,
.attractions__item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}


/* === Language switcher near Contact (desktop + mobile) === */
.nav {
  display: flex;
  align-items: center;
}

.nav__menu {
  order: 1;
}

.nav__lang {
  order: 2;
  margin-left: 1rem; /* distance from Contact */
  display: flex;
  align-items: center;
}


/* === MODAL TEXT (HTML content support) === */
.modal__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.modal__text p {
  margin-bottom: 0.9rem;
}

.modal__text p:last-child {
  margin-bottom: 0;
}


.modal__text ul,
.modal__text ol {
  padding-left: 1.4rem;
  margin: 0.6rem 0 0.9rem;
}

.modal__text li {
  margin: 0.2rem 0;
}

/* === Fixes: FAQ toggle + gallery drag + modal visibility (moved from inline) === */
.faq__answer { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq__question { cursor: pointer; }
.gallery { cursor: grab; -webkit-overflow-scrolling: touch; }
.gallery.dragging { cursor: grabbing; }
.gallery img { user-select: none; -webkit-user-drag: none; }

/* Modal visibility + page scroll lock */
.modal { display: none; }
.modal.modal--open { display: flex; }
body.modal-open { overflow: hidden; }

