/* --- DOMEK MALINOWY - PREMIUM LUXE 1:1 --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #c2185b;
  --bg-sand: #fdfbf7;
  --bg-dark: #2d2a26;
  --text-main: #2d2a26;
  --text-muted: #6b655e;
  --border-light: #e8e2d9;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
* { transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  margin: 0; padding: 0;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0 0 16px 0; font-weight: 500; line-height: 1.1; color: var(--text-main); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
p { margin: 0 0 16px 0; color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; height: auto; display: block; }
em { font-style: italic; font-weight: 300; color: var(--primary); }
strong { font-weight: 600; color: var(--text-main); }

/* UK�AD BAZOWY */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.divider { height: 1px; background: var(--border-light); width: 100%; }
.bg-sand { background-color: var(--bg-sand); }
.section, section { padding: 80px 0; scroll-margin-top: -10px; }

/* HEADER / NAV */
.navbar { padding: 15px 0; border-bottom: 1px solid var(--border-light); background: #fff; position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 72px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12)); }
.menu-btn { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 5px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-main); }

/* MOBILE NAV OVERLAY */
.mobile-nav-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: var(--bg-sand); z-index: 2000;
  display: flex; flex-direction: column; padding: 20px 24px;
  transform: translateX(100%); transition: transform 0.4s ease-in-out;
}
.mobile-nav-overlay.active { transform: translateX(0); }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; border-bottom: 1px solid var(--border-light); padding-bottom: 15px; }
.close-btn { background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--text-main); line-height: 1; padding: 0; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 20px; font-size: 1.25rem; font-family: var(--font-heading); }

/* PRZYCISKI */
.btn, .btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-weight: 500; font-size: 0.95rem; transition: all 0.2s; border: none; cursor: pointer; font-family: var(--font-body); text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #9c1349; }
.btn-outline { border: 1px solid var(--border-light); background: #fff; color: var(--text-main); }
.btn-outline:hover { background: var(--bg-sand); }
.btn-link { color: var(--text-main); text-decoration: underline; text-underline-offset: 4px; padding: 0; background: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.95rem; }

/* HERO (Z INIEKCJI) */
.hero { padding: 60px 0 80px 0; }
.overline-title { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary); border-top: 1px solid var(--primary); padding-top: 30px; display: inline-block; margin-bottom: 24px; font-weight: 500; font-family: var(--font-body); }
.heading-huge { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 24px; }
.italic-light { font-style: italic; font-weight: 300; color: var(--primary); }
.text-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 650px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; color: var(--text-muted); }
.meta-item { display: flex; align-items: center; gap: 8px; }

/* SIATKI I UKŁAD (O OBIEKCIE, KONTAKT, ITD) */
.section-header-split, .about-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
@media (min-width: 992px) {
  .section-header-split, .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
  .header-right, .about-right { padding-bottom: 5px; } 
}
.section-header-single { margin-bottom: 40px; max-width: 800px; }
.section-description { font-size: 1.1rem; color: var(--text-muted); margin-top: 20px; line-height: 1.6; }
.section-subtitle { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary); border-top: 1px solid var(--primary); padding-top: 20px; display: inline-block; margin-bottom: 24px; margin-top: 50px; font-weight: 500; font-family: var(--font-body); }

/* IKONY W RAMKACH (UDOGODNIENIA) */
.amenities-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 992px) {
  .amenities-grid { grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
}
.feature-item, .feature-item-border { 
  display: flex; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--border-light); 
  transition: all 0.3s ease;
  cursor: pointer !important;
}
.feature-item:hover .feature-icon,
.feature-item-border:hover .feature-icon {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
  transform: none; /* Skasowanie powiększenia eliminuje błąd z "kreską" */
  box-shadow: none;
}
.feature-item:hover h4,
.feature-item-border:hover h4 { color: var(--primary); transition: color 0.3s; }
.feature-icon svg { stroke: currentColor; transition: stroke 0.3s; }
.feature-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); background: #fff;
  transition: all 0.3s ease;
}
.feature-text h4 { margin: 0 0 6px 0; font-size: 1.1rem; }
.feature-text p { margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* KONTAKT */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.contact-item { display: flex; gap: 20px; margin-bottom: 24px; align-items: flex-start; text-decoration: none; }
.contact-item .feature-icon { background: var(--bg-sand); }
.contact-label { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.contact-val { font-size: 1.1rem; font-family: var(--font-heading); color: var(--text-main); word-break: break-all; }
.contact-map { margin-top: 40px; }

/* OPINIE SLIDER - WERSJA PREMIUM */
.reviews-slider-container {
  overflow-x: auto;
  padding: 40px 0;
  margin: 0 -24px;
  padding: 20px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
/* Widoczny scrollbar na desktopie */
.reviews-slider-container::-webkit-scrollbar {
  height: 6px;
}
.reviews-slider-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.reviews-slider-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.reviews-grid {
  display: flex;
  gap: 30px;
  width: max-content;
  flex-wrap: nowrap !important; /* WYMUSZENIE JEDNEJ LINII */
}
.review-card {
  width: clamp(300px, 85vw, 420px);
  scroll-snap-align: center;
  border: 1px solid #eee;
  padding: 30px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 12px;
  position: relative;
  min-height: 250px;
}
/* USUNIECIE WSZELKICH DUCHOWYCH CUDZYSLOWOW */
.review-card::before, .review-card::after,
.review-text::before, .review-text::after {
  content: none !important;
  display: none !important;
}

.review-stars {
  position: absolute;
  bottom: 20px;
  right: 25px;
  color: #ff9800 !important; /* Wyrazisty złoty */
  font-size: 1.2rem !important;
  letter-spacing: 2px;
  z-index: 10;
  display: block !important;
}
.booking-logo-small {
  height: 16px;
  opacity: 0.7;
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
/* USUNIECIE STARS Z GORY JEZELI TAM BYLY */
.review-top .review-stars {
  display: none;
}
.review-text {
  font-family: var(--font-body);
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}
.review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid #f5f5f5;
}
.review-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.review-author-info {
  display: flex;
  flex-direction: row; /* W JEDNEJ LINII */
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
}
.review-author-name {
  font-weight: 700;
  color: var(--text-main);
}
.review-author-city, .review-stay {
  color: #888;
}
.review-stay {
  font-style: italic;
  font-size: 0.8rem;
  color: #bbb;
}
.review-stay::before {
  content: ""; 
  margin-right: 5px;
}

/* HERO BUTTON PINK */
.btn-primary.btn-pink {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-primary.btn-pink:hover {
  background: #a3154d !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.2);
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: 1.5px solid #003580;
  border-radius: 50px;
  background: transparent;
  color: #003580;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-booking img {
  height: 16px;
}
.btn-booking:hover {
  background: #003580;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 53, 128, 0.15);
}
.btn-booking:hover img {
  filter: brightness(0) invert(1);
}

/* DOMKI CARDS (GENEROWANE PRZEZ SCRIPT.JS) */
.cottages-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
.cottage-card { border: 1px solid var(--border-light); display: flex; flex-direction: column; background: #fff; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }
.cottage-card:hover { transform: translateY(-10px); border: 1.5px solid var(--primary); box-shadow: 0 20px 40px rgba(194, 24, 91, 0.15); }
.cottage-card:hover .card-title { color: var(--primary); }
.card-title { font-family: var(--font-heading); font-size: 1.5rem; margin: 0 0 12px 0; font-weight: 500; color: var(--text-main); transition: color 0.3s ease; }
.card-img-wrapper { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cottage-card:hover .card-img-wrapper img { transform: scale(1.05); }
.card-price-badge { position: absolute; top: 16px; right: 16px; background: var(--primary); color: #fff; padding: 6px 12px; font-weight: 500; font-size: 0.9rem; z-index: 2; }
.card-badge { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.95); padding: 4px 10px; font-size: 0.8rem; letter-spacing: 0.1em; z-index: 2; }
.card-content { padding: 24px; }
.card-subtitle { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--primary); text-transform: uppercase; margin-bottom: 12px; border-bottom: 1px solid var(--primary); display: inline-block; padding-bottom: 2px; }
.card-title { font-family: var(--font-heading); font-size: 1.5rem; margin: 0 0 12px 0; font-weight: 500; color: var(--text-main); }
.card-meta { display: flex; gap: 16px; font-size: 0.9rem; color: var(--text-muted); margin: 20px 0; }
.card-meta span { display: flex; align-items: center; gap: 6px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border-light); }
.card-link { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-main); text-decoration: none; }
.card-beds { font-size: 0.9rem; color: var(--text-muted); }

/* ATRAKCJE SLIDER */
.facilities-slider-container {
  overflow-x: auto;
  padding: 20px 0;
  margin: 0 -24px;
  padding: 20px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.facilities-slider-container::-webkit-scrollbar { display: none; }
.facilities-gallery {
  display: flex;
  gap: 20px;
  width: max-content;
}
.facility-item {
  width: clamp(280px, 80vw, 450px);
  scroll-snap-align: center;
  border: 1px solid var(--border-light);
  background: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.facility-item:hover { transform: scale(1.02); }
.facility-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.facility-caption { padding: 15px; text-align: center; font-weight: 500; border-top: 1px solid var(--border-light); color: var(--text-main); }

/* LIGHTBOX (NOWA WERSJA WG SCREENSHOTA 1) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background-color: var(--bg-sand); /* Cieplejsze to */
  flex-direction: column;
  align-items: center;
  padding: env(safe-area-inset-top) 20px 20px 20px;
  overflow-y: auto;
}
.lightbox-header {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 0;
}
.lightbox-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lightbox-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16/10;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  color: var(--primary); border: none; 
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1rem; cursor: pointer; transition: 0.3s;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.lightbox-nav:hover { background: var(--primary); color: #fff; }
.lightbox-nav.prev { left: 10px; }
.lightbox-nav.next { right: 10px; }

.lightbox-dots {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}
.lightbox-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: 0.3s;
}
.lightbox-dot.active { 
  background: var(--primary); 
  transform: scale(1.5);
}

.lightbox-caption-box {
  text-align: center;
  max-width: 600px;
}
.lightbox-caption {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 500;
}
.lightbox-subcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .lightbox-nav { width: 32px; height: 32px; font-size: 0.9rem; }
  .lightbox-content-wrapper { aspect-ratio: 4/3; }
}

/* FOOTER */
.footer { background: var(--bg-dark); color: #fff; padding: 60px 0 30px 0; }
.footer p { color: #aaa; margin-bottom: 5px; }
.footer-social-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.2); padding: 12px 24px; color: #fff; transition: 0.2s; }
.footer-social-btn:hover { background: rgba(255,255,255,0.1); }

/* MEDIA QUERIES (DESKTOP) */
@media (min-width: 768px) {
  .amenities-grid, .facilities-gallery { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (min-width: 992px) {
  .section-header-split, .about-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr 1fr; }
  .cottages-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .navbar .menu-btn { display: none; }
  
  /* Na desktopie mozemy ewentualnie przywrocic klasyczne menu, ale poki co overlay tez dziala, jednak zrobmy zeby bylo widac linki */
  /* Przepiszemy tylko widocznosc - jezeli bylo tak uzyte w starym HTML to .nav-menu by istnialo. Poniewaz je skasowalismy w index.html na rzecz overlay, zostawmy overlay dla wszystkich, wyglada super-premium, jak na drogich stronach. */
}

/* Ukrywanie */
.view-hidden { display: none !important; }
.view-active { 
  display: block; 
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* FIXY ZGLOSZONE PRZEZ UZYTKOWNIKA */

/* Naprawa ciasnych kart domkow */
.card-title { font-size: 1.4rem; line-height: 1.2; }
.card-footer { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--border-light); }
.card-link { flex: 1; min-width: 150px; font-weight: 600; }
.card-beds { white-space: nowrap; font-size: 0.85rem; }

/* Naprawa Opinii i Oceny (9.8 / 10) */
.reviews-summary { margin-bottom: 50px; }
.rating-score { font-size: 4rem; font-family: var(--font-heading); font-weight: 500; color: var(--text-main); display: inline-flex; align-items: baseline; }
.rating-score::after { content: " / 10"; font-size: 0.5em; font-style: italic; color: var(--primary); font-weight: 300; margin-left: 5px; }
.rating-stars { display: block; color: var(--primary); font-size: 1.5rem; letter-spacing: 4px; margin: 5px 0 10px 0; }
.rating-count { color: var(--text-muted); font-size: 1rem; }

/* Naprawa kolejnosci w Karcie Opinii */
.review-card { display: flex; flex-direction: column; border: 1px solid var(--border-light); padding: 32px; background: #fff; }
.review-text { order: 1; font-family: var(--font-heading); color: var(--text-main); font-size: 1.1rem; line-height: 1.6; font-style: italic; position: relative; }
.review-text::before { content: "”"; position: absolute; left: -15px; top: -30px; font-size: 4rem; color: var(--primary); opacity: 0.2; font-family: Georgia, serif; }
.review-author { order: 2; margin-top: 30px; border-top: 1px solid var(--border-light); padding-top: 20px; font-weight: 500; font-size: 1.1rem; display: flex; justify-content: space-between; }
.review-author::after { content: "★ 10.0"; color: var(--primary); font-size: 0.9rem; }
.review-stars { display: none; } /* ukrywamy dodatkowe gwiazdki z kodu */


/* --- WIDOK SZCZEGOLOW DOMKU (Premium Luxe) --- */
#details-view {
  padding: 80px 0;
  background-color: #fff;
}

.details-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 40px;
}

@media (min-width: 992px) {
  .details-content-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.details-info {
  padding-right: 20px;
}

.details-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  border-top: 1px solid var(--primary);
  padding-top: 8px;
  display: inline-block;
  margin-bottom: 20px;
}

.details-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--text-main);
  line-height: 1.1;
}

.details-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.details-meta span { display: flex; align-items: center; gap: 8px; }

.details-beds {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-main);
  font-weight: 400;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.5;
}
.details-beds svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.details-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Sekcja Ceny i Przyciskow */
.price-box {
  background: linear-gradient(135deg, rgba(194, 24, 91, 0.03) 0%, rgba(194, 24, 91, 0.08) 100%);
  padding: 30px;
  border: none;
  border-radius: 12px;
  margin-bottom: 30px;
  border-left: 4px solid var(--primary);
}

.price-box-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.price-box-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 10px;
}

.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Kalendarz / Sidebar */
.availability-box {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--border-light);
  position: sticky;
  top: 100px;
}

.availability-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.calendar-widget {
  margin-top: 30px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
}

.calendar-header button {
  background: var(--bg-sand);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  color: var(--text-main);
}
.calendar-header button:hover { background: var(--primary); color: #fff; }

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
  background: #fff;
}

.calendar-day.booked {
  background: rgba(194, 24, 91, 0.1);
  color: var(--primary);
  text-decoration: line-through;
  border-color: rgba(194, 24, 91, 0.2);
}
.calendar-day.disabled {
  opacity: 0.3;
  background: var(--bg-sand);
}

/* Galeria w detalu */
.details-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery-main {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-thumb {
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s;
}
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; }



/* Poprawki dla przyciskow nawigacji galerii zeby znowu dobrze wygladaly */
.gallery-main {
  position: relative;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.2s;
  color: var(--primary);
  font-weight: bold;
}
.gallery-nav:hover { background: var(--primary); color: #fff; }
.gallery-nav.prev { left: 15px; }
.gallery-nav.next { right: 15px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: 0.2s;
}
.dot.active, .dot:hover { background: var(--primary); }


/* FINALNE SZLIFY UI (Screenshot 1,2,4) */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(194, 24, 91, 0.1);
  color: var(--primary);
  border: none;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.back-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(-5px);
}
.back-btn:hover { background: #9c1349; transform: translateY(-2px); color: #fff; }
.back-btn svg { width: 18px; height: 18px; stroke-width: 2.5px; }

.price-box-value { font-size: 1.3rem !important; line-height: 1.4; letter-spacing: -0.01em; }
.btn-large { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 24px; font-weight: 500; }
.details-actions { display: flex; flex-direction: column; gap: 15px; }
.details-actions .btn-primary { background: var(--primary); color: #fff; }
.details-actions .btn-outline { border: 1px solid var(--border-light); }

.overline-title { border-bottom: 1px solid var(--primary); padding-bottom: 8px; margin-bottom: 24px; }
.italic-light { font-family: var(--font-heading); font-style: italic; font-weight: 300; color: var(--primary); }

/* Zdjecie 3 - powiekszenie naglowka 'Szukasz idealnego miejsca...' */
.about-right h4 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
}
/* NOWY ZNACZEK HERO */
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(194, 24, 91, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.facilities-slider-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
}
.facilities-slider-container::-webkit-scrollbar {
  height: 6px;
}
.facilities-slider-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.facilities-slider-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.facilities-gallery {
  display: flex;
  gap: 20px;
  width: max-content;
  flex-wrap: nowrap !important;
}
.facility-item {
  width: clamp(280px, 70vw, 400px);
  flex-shrink: 0;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s;
}
.facility-item:hover {
  transform: translateY(-5px);
}
.facility-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.facility-caption {
  padding: 15px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
}

@media (min-width: 992px) {
  .facilities-gallery { gap: 30px; }
}

/* Hiding native scrollbars but keeping functionality */
.reviews-slider-container::-webkit-scrollbar,
.facilities-slider-container::-webkit-scrollbar {
  display: none;
}
.reviews-slider-container,
.facilities-slider-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  user-select: none; /* Zapobiega zaznaczaniu tekstu podczas przeciągania */
  cursor: grab;
  scroll-snap-type: none !important; /* Wyłączamy przyciąganie, aby galeria zostawała w miejscu */
}
.reviews-slider-container:active,
.facilities-slider-container:active {
  cursor: grabbing;
}

.drag-indicator {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 50px;
  width: 100%;
  padding: 0 10px;
}

.drag-line {
  width: 100%;
  height: 10px; /* Thicker */
  background: #f0f0f0;
  position: relative;
  border-radius: 5px;
  cursor: pointer;
}

.drag-handle-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 33%;
  height: 100%;
  background: var(--primary);
  border-radius: 5px;
  cursor: grab;
}

.drag-handle-bar:active {
  cursor: grabbing;
}

.drag-indicator span {
  display: none; 
}

/* DESKTOP NAV */
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.desktop-nav { display: none; gap: 25px; }
.desktop-nav a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 0.9rem; transition: all 0.3s; }
.desktop-nav a:hover { color: var(--primary); }
@media (min-width: 992px) {
  .desktop-nav { display: flex; align-items: center; }
  .menu-btn { display: none; }
}

/* --- PREMIUM CALENDAR & DETAILS GRID --- */
#details-view {
  padding: 80px 0;
  background-color: #f9f7f2; /* Warm beige */
}

.details-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 40px;
}

@media (min-width: 992px) {
  .details-content-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.details-info {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.details-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.details-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-main);
  line-height: 1.1;
}

.details-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  color: var(--text-muted);
}
.meta-item { display: flex; align-items: center; gap: 10px; font-size: 1rem; }

.details-beds {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.5;
}
.details-beds svg { color: var(--primary); flex-shrink: 0; }

.details-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 50px;
}

.price-box {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 30px;
  border-radius: 4px;
  margin-bottom: 40px;
}

.price-box-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

.price-box-value {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-main);
}

.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.details-calendar-section {
  position: sticky;
  top: 120px;
}

.calendar-main-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.calendar-notice {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.5;
}

.calendar-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 2px;
}

.legend-color.occupied { background: var(--primary); }
.legend-color.available { background: #fff; border: 1px solid #ddd; }
.legend-color.today { background: #8d6e63; }

.calendar-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.cal-month {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
}

.cal-nav {
  background: #f8f8f8;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 20px;
}

.calendar-weekdays span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #bbb;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-main);
  border-radius: 4px;
}

.cal-day.booked {
  background: var(--primary);
  color: #fff;
}

.cal-day.today {
  background: #8d6e63;
  color: #fff;
  font-weight: 600;
}

.cal-day.available { background: #fff; }
.cal-day.empty { opacity: 0; }

.calendar-footer-text {
  margin-top: 30px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.calendar-footer-text a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* --- MODAL OVERLAY STYLES --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 40px 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.modal-container {
  background: #fff;
  width: 100%;
  max-width: 1100px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.modal-close:hover { transform: scale(1.1); color: var(--primary); }

.modal-body {
  padding: 0;
  overflow: hidden;
}

.modal-body .details-header { margin-bottom: 0; }
.modal-body .details-gallery { border-radius: 12px 12px 0 0; overflow: hidden; }

.modal-body .details-content-grid {
  padding: 40px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .modal-overlay { padding: 0; }
  .modal-container { border-radius: 0; min-height: 100%; }
  .modal-body .details-content-grid { padding: 30px 20px; }
}