/* ==========================================================================
   1. ZMIENNE I USTAWIENIA GLOBALNE (Reset & Variables)
   ========================================================================== */
:root {
  /* Kolory tła i tekstu */
  --color-bg: #1A202C;           /* Głęboki grafit */
  --color-text: #F7FAFC;         /* Bardzo jasny, miękki biały */
  --color-text-muted: #A0AEC0;   /* Przygaszony szary dla opisów */
  
  /* Kolory akcentów */
  --color-accent: #D69E2E;       /* Ciepłe złoto dla hoverów i guzików */
  --color-accent-hover: #319795; /* Szmaragdowy teal na dodatkowe wyróżnienia */

  /* Czcionki z lokalnego font.css */
  --font-title: 'Cinzel', Georgia, serif;         /* Czcionka nagłówków (z logo) */
  --font-body: 'Montserrat', 'Inter', sans-serif; /* Czcionka treści głównej */

  /* Efekty i przejścia */
  --transition-fast: all 0.3s ease;               /* Płynne animacje dla linków i przycisków */

  /* Punkty responsywności (Breakpoints) */
  --bs-breakpoint-xs: 0;
  --bs-breakpoint-sm: 576px;
  --bs-breakpoint-md: 768px;
  --bs-breakpoint-lg: 992px;
  --bs-breakpoint-xl: 1200px;
  --bs-breakpoint-xxl: 1400px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* --- ZASADY GŁÓWNE DLA STRONY --- */
body {
  font-family: var(--font-body) !important;
  background-color: var(--color-bg) !important;
  color: var(--color-text) !important;
  line-height: 1.6;
}

/* Nagłówki i stylizacja tekstu wyróżnionego (Cinzel z logo) */
h1, h2, h3, h4, h5, h6, 
.hero-content h1, 
.hero-content .hero-lead,
.section-title {
  font-family: var(--font-title) !important;
  letter-spacing: 1px;
}

h1, h2, h3, h4, h5, h6, .section-title, .hero-title {
  font-weight: 400 !important;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* ==========================================================================
   2. UKŁAD STRONY I ELEMENTY WSPÓLNE (Layout & Typography)
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 400;
  text-align: center;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 3rem;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 0.75rem auto 0;
}

/* Przyciski */
.btn-slide {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--color-accent);
  color: var(--color-text-light);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-slide:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   3. NAWIGACJA (Header & Menu) - Blokada Zmian Kolorów i Tła
   ========================================================================== */

/* STAŁE TŁO DLA NAGŁÓWKA - niezależnie od tego, czy strona jest przewinięta, czy nie */
.site-header,
.site-header.scrolled {
  position: fixed !important; /* Zawsze przyklejony do góry */
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  box-shadow: none !important; /* Brak ostrego cienia */
  backdrop-filter: none !important; /* Usunięcie jakiegokolwiek efektu blur */
  -webkit-backdrop-filter: none !important;
  
  /* Stała, delikatna ciemna mgiełka dopasowana do tła #1A202C */
  background: linear-gradient(
    to bottom,
    rgba(26, 32, 44, 0.45) 0%,   /* Subtelne ciemne przyciemnienie u góry */
    rgba(26, 32, 44, 0.15) 60%,   /* Szybkie zanikanie zaraz pod menu */
    rgba(26, 32, 44, 0) 100%      /* Całkowita przezroczystość */
  ) !important;
  
  transition: var(--transition-smooth) !important;
}

/* STAŁA STRUKTURA WEWNĘTRZNA - brak zmian wysokości paska */
.site-header-inner,
.site-header.scrolled .site-header-inner {
  display: flex !important;
  justify-content: flex-end !important; /* Przyciski menu zawsze po prawej */
  align-items: center !important;
  padding: 0.6rem 5% 1rem 5% !important; /* Stały, wąski pasek */
  max-width: 1400px !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* ==========================================================================
   STAŁE LOGO PO LEWEJ STRONIE (Niezależne od skrolowania)
   ========================================================================== */
.brand {
  position: static !important;
  transform: none !important;
  z-index: 1010 !important;
  display: flex !important;
  align-items: center !important;
  
  /* Stała widoczność */
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

.brand img.logo {
  height: 70px !important;
  width: auto !important;
  display: block !important;
}

/* Wyłączenie wpływu skrolowania na klasę .brand */
.site-header.scrolled .brand {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==========================================================================
   MENU I LINKI - Całkowicie zamrożone i jasne
   ========================================================================== */
.site-nav,
.site-header.scrolled .site-nav {
  margin-left: auto !important;
}

.site-nav ul {
  display: flex !important;
  list-style: none !important;
  gap: 2rem !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 15px !important;
}

/* Te selektory upewniają się, że żaden inny styl nie zmieni koloru linków na ciemny */
.site-nav a,
.site-header.scrolled .site-nav a,
.site-header.scrolled .site-nav ul li a {
  font-family: var(--font-title) !important;
  font-weight: 400 !important;
  font-size: 1.1rem !important;
  color: #F7FAFC !important; /* Zawsze jasny grafit/biel */
  letter-spacing: 1px !important;
  transition: var(--transition-smooth) !important;
  background: transparent !important;
}

/* Złoty akcent po najechaniu myszką - zawsze działa tak samo */
.site-nav a:hover,
.site-header.scrolled .site-nav a:hover {
  color: var(--color-accent) !important; 
}

/* Mobilny hamburger (jeśli występuje) - blokujemy jasny kolor */
.nav-toggle,
.site-header.scrolled .nav-toggle {
  display: none !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0.5rem !important;
  z-index: 1020 !important;
}

.hamburger,
.hamburger::before,
.hamburger::after,
.site-header.scrolled .hamburger,
.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after {
  background-color: #F7FAFC !important;
}

.hamburger {
  display: block !important;
  width: 25px !important;
  height: 2px !important;
  position: relative !important;
  transition: var(--transition-fast) !important;
}

.hamburger::before,
.hamburger::after {
  content: '' !important;
  position: absolute !important;
  width: 25px !important;
  height: 2px !important;
  transition: var(--transition-fast) !important;
}

.hamburger::before { top: -8px !important; left: 0 !important; }
.hamburger::after { bottom: -8px !important; left: 0 !important; }

.site-nav .lang-switch {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center;
  gap: 8px; /* odstęp między flagą po lewej a tekstem po prawej */
  white-space: nowrap; /* zapobiega łamaniu tekstu do nowej linii */
}

.site-nav .lang-switch .flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0; /* zapobiega ściskaniu flagi */
  margin: 0;
}

/* ==========================================================================
   4. SEKCJA GŁÓWNA (Hero Section)
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--color-text-light);
  max-width: 850px;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-weight: 400 !important; /* Wyłącza domyślne pogrubienie przeglądarki */
  font-size: 3.5rem;
  line-height: 1.5;
  letter-spacing: 4px;
  margin-bottom: 1.2rem;
}

.hero-lead {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 300;
  opacity: 0.95; 
  letter-spacing: 2px;
  max-width: 33.33vw;
  margin-left: auto;    /* Wyśrodkowanie bloku w poziomie */
  margin-right: auto;   /* Wyśrodkowanie bloku w poziomie */
  text-align: center;   /* Wyśrodkowanie samego tekstu wewnątrz bloku */
}

@media (max-width: 768px) {
  body {
    padding-top: 0 !important; /* Resetuje ewentualny globalny odstęp na górze strony */
  }

  .hero {
    height: auto !important;
    min-height: 100vh !important;
    align-items: flex-start !important;
    padding-top: 0 !important;
    padding-bottom: 85px !important;
  }

  .hero-content {
    margin-top: -15px !important; /* Fizycznie podciąga cały blok (logo + napisy) w górę — zwiększ np. do -35px, jeśli wciąż jest za nisko */
    padding-top: 0 !important;
  }

  .hero-logo-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.9rem !important;
  }

  .hero-lead {
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

/* ==========================================================================
   SEKCJA O PENSJONACIE (Pełny ekran, treść po lewej stronie - jasny tekst)
   ========================================================================== */

.about-section {
  width: 100%;
  height: 100vh;
  min-height: 500px;
  background-color: var(--color-bg, #1a1a1a);
  display: flex;
  align-items: center;
  position: relative;
}

.about-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-content {
  width: 50%;
  max-width: 550px;
  text-align: left !important;
  align-items: flex-start !important;
}

.about-title,
.about-section h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--color-text-light, #ffffff);
  margin-bottom: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.5px;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  display: block !important;
}

/* Złota kreseczka wyrównana do lewej */
.about-title::after,
.about-section h2::after {
	content: '';
	display: block;
	width: 120px;
	height: 3px;
	background-color: var(--color-accent);
	margin-left: 0 !important;
  	margin-right: auto !important;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-light, #f0f0f0);
  opacity: 0.9;
  margin: 0;
  text-align: left !important;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
  .about-section {
    height: auto;
    padding: 5rem 0;
  }
  
  .about-content {
    width: 100%;
    max-width: 100%;
  }
  
  .about-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   5. SLAJDERY APARTAMENTÓW I UDOGODNIEŃ (Swiper Customization)
   ========================================================================== */

/* --------------------------------------------------------------------------
   5.1. SLAJDER APARTAMENTÓW (HERO OVERLAY - Pełnowymiarowy)
   -------------------------------------------------------------------------- */

/* Kontener sekcji apartamentów - bez domyślnych marginesów */
.apartments-section {
  padding: 0;
  margin: 0;
}

.apartments-section .swiper {
  width: 100%;
  padding-bottom: 0 !important; /* Brak dolnego odstępu — kropki na zdjęciu */
  position: relative;
}

/* Tytuł "Nasze Apartamenty" nałożony na górną część zdjęcia */
.slider-title-overlay {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  text-align: center;
  pointer-events: none; /* Zapewnia brak blokowania kliknięć w slajder */
}

.slider-title-overlay .section-title {
  color: var(--color-text-light);
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Pojedynczy slajd apartamentu */
.apartment-slide {
  position: relative;
  height: 70vh; /* Elastyczna wysokość dopasowana do ekranu */
  min-height: 650px; /* Zwiększona wysokość slajdu */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 3rem; /* Odstęp treści od krawędzi slajdu */
  color: var(--color-text-light);
  overflow: hidden;
}

/* Zdjęcie w tle slajdu z efektem zoom przy najechaniu */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
}

.apartment-slide:hover .slide-bg {
  transform: scale(1.05);
}

/* Gradientowe przyciemnienie zdjęcia (góra pod tytuł, dół pod treść) */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top, 
    rgba(0, 0, 0, 0.85) 0%, 
    rgba(0, 0, 0, 0.3) 50%, 
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 2;
}

/* Treść slajdu (tytuł, detale, opis) w lewym dolnym rogu */
.slide-content {
  position: relative;
  z-index: 3;
  max-width: 550px;
}

.slide-content h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.apt-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-family: var(--font-title);
  text-transform: uppercase;
}

.slide-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Przycisk "Zobacz więcej" */
.btn-slide {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-slide:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

/* ==========================================================================
SEKCJA LOKALIZACJA (PEŁNY OBRAZ + PTASZKI ZAMIAST PINEZEK)
========================================================================== */
.location-section {
position: relative !important;
width: 100% !important;
box-sizing: border-box !important;

/* Tło: przyciemnienie oraz obraz dopasowany bez czarnych pasów */
background-image:
linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
url('../img/location-bg.png') !important;
background-size: cover !important;
background-position: center top !important;
background-repeat: no-repeat !important;

overflow: hidden !important;

display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;

padding: 80px 20px !important;
margin: 0 !important;

/* Wysokość dopasowana do ekranu */
min-height: 100vh !important;
aspect-ratio: 16 / 9 !important;
}

/* Kontener z treścią */
.location-content {
position: relative !important;
z-index: 2 !important;
width: 100% !important;
max-width: 900px !important;
color: #FFFFFF !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
margin: 0 auto !important;
   /* Przesunięcie całej treści nieco w górę od geometrycznego środka */
transform: translateY(-40px) !important;
}

/* Tytuł sekcji lokalizacji */
.location-title {
font-family: var(--font-title, serif) !important;
font-size: 2.2rem !important;
font-weight: 400 !important;
letter-spacing: 2px !important;
margin-top: 0 !important;
margin-bottom: 30px !important;
color: #FFFFFF !important;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
text-align: center !important;
}

/* Układ pionowy podpunktów */
.location-info {
display: flex !important;
flex-direction: column !important;
align-items: flex-start !important;
justify-content: center !important;
gap: 16px !important;
width: fit-content !important;
max-width: 100% !important;
margin: 0 auto !important;
}

/* Styl pojedynczego podpunktu */
.location-info p {
font-family: var(--font-body, sans-serif) !important;
font-size: 1.1rem !important;
font-weight: 400 !important;
letter-spacing: 1px !important;
margin: 0 !important;
color: #F7FAFC !important;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
text-align: left !important;

display: inline-flex !important;
align-items: center !important;
gap: 12px !important;
}

/* Ptaszek (Checkmark) w kolorze tekstu (#F7FAFC) przed każdym podpunktem */
.location-info p::before {
content: '' !important;
display: inline-block !important;
width: 20px !important;
height: 20px !important;
flex-shrink: 0 !important;
background-color: #F7FAFC !important;

-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='black'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain !important;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='black'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

/* Dostosowanie na telefony */
@media (max-width: 768px) {
.location-section {
min-height: 500px !important;
aspect-ratio: auto !important;
padding: 50px 15px !important;
}
.location-title {
font-size: 1.6rem !important;
margin-bottom: 20px !important;
}
.location-info p {
font-size: 0.95rem !important;
}
}

/* Dostosowanie na telefony (zmniejszenie wysokosci, by na telefonach nie trzeba było przewijać w nieskończoność) */
@media (max-width: 768px) {
.location-section {
min-height: 600px !important;
padding: 50px 15px !important;
}
.location-title {
font-size: 1.6rem !important;
margin-bottom: 20px !important;
}
.location-info p {
font-size: 0.95rem !important;
}
}

/* --------------------------------------------------------------------------
   5.2. SLAJDER UDOGODNIEŃ (Karty)
   -------------------------------------------------------------------------- */

/* Sekcja udogodnień - tradycyjny odstęp pionowy */
.amenities-section {
  padding: 6rem 0;
}

.amenities-section .swiper {
  width: 100%;
  padding-bottom: 4rem !important; /* Odstęp pod slajderem na kropki nawigacji */
}

/* Karta pojedynczego udogodnienia */
.amenity-slide {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.amenity-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.amenity-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.amenity-content h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.amenity-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   5.2. SLAJDER UDOGODNIEŃ (Karty)
   -------------------------------------------------------------------------- */

/* Sekcja udogodnień - tradycyjny odstęp pionowy */
.amenities-section {
  padding: 6rem 0;
}

.amenities-section .swiper {
  width: 100%;
  padding-bottom: 4rem !important; /* Odstęp pod slajderem na kropki nawigacji */
}

/* Karta pojedynczego udogodnienia */
.amenity-slide {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.amenity-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.amenity-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.amenity-content h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.amenity-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}


/* ==========================================================================
   ZMNIEJSZENIE WYSOKOŚCI SLAJDERA UDOGODNIEŃ NA MOBILE (DO 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {

  /* 1. Odchudzenie marginesów całej sekcji i Swipera */
  .amenities-section {
    padding: 2rem 0 !important; /* Redukcja z 6rem do 2rem */
  }

  .amenities-section .swiper {
    padding-bottom: 2rem !important; /* Mniejsze miejsce na kropki pagination */
  }

  /* 2. Zmniejszenie wysokości zdjęcia w karcie */
  .amenity-img {
    height: 130px !important; /* Redukcja z 250px do 130px */
  }

  /* 3. Kompresja przestrzeni tekstowej karty */
  .amenity-content {
    padding: 0.85rem 1rem !important; /* Redukcja paddingu z 2rem (32px) do ~13px */
  }

  .amenity-content h3 {
    font-size: 1.05rem !important;
    margin-bottom: 0.35rem !important;
  }

  .amenity-content p {
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.5rem !important;
  }
}

/* --------------------------------------------------------------------------
   5.3. CUSTOM SWIPER NAVIGATION & PAGINATION (Wspólne style nawigacji)
   -------------------------------------------------------------------------- */

/* Przycisk Poprzedni / Następny */
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-accent) !important;
  background-color: rgba(30, 30, 30, 0.8);
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  z-index: 10;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.25rem !important;
}

/* Kropki nawigacyjne w sliderze apartamentów (nałożone na zdjęcie) */
.apartments-section .swiper-pagination {
  bottom: 20px !important;
  z-index: 10;
}

/* Wygląd kropek (pagination bullets) */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
  transform: scale(1.2);
}

/* ==========================================================================
   7. OPINIE GOŚCI (Reviews Section)
   ========================================================================== */
.reviews-section {
  padding: 6rem 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), 
    url('../img/opinie-bg.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

.reviews-header {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: -2rem;
  margin-bottom: 3.5rem;
  font-size: 1.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background-color: var(--color-bg-card);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
}

.review-author {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.review-rating {
  color: var(--color-accent);
}

/* ==========================================================================
   8. POZNAJ NAS BLIŻEJ (Navigation links Section)
   ========================================================================== */
.info-links-section {
  padding: 5rem 0;
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

/* Złota kreseczka wyrównana do lewej */
.info-links-section .section-title::after,
.info-links-section h2::after {
	content: '';
	display: block;
	width: 120px;
	height: 3px;
	background-color: var(--color-accent);
	margin-left: 0 !important;
  	margin-right: auto !important;
}


.info-links {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2rem;
}

.info-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.info-link:hover .info-link-num {
  background-color: var(--color-text-light);
  color: var(--color-primary);
}

.info-link-num {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.info-link-text {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   9. SEKCJA MAPY (Map Section)
   ========================================================================== */
.map-section {
  padding: 6rem 0 0 0; /* Bez dolnego marginesu – styka się ze stopką */
  background-color: #000000 !important; /* Tutaj wpisz swój kolor */
}

/* Wymuszenie 100% szerokości dla mapy oraz jej kontenera */
.map-container, 
iframe {
  box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
  line-height: 0; /* Zapobiega lukom pod iframe */
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  display: block !important;
  border: 0 !important;
}

/* ==========================================================================
   10. STOPKA (Footer)
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 5rem 0 2rem 0;
  font-size: 0.9rem;
  border-top: 2px solid var(--color-accent);
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-section h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   11. RZETELNY RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .location-title {
    font-size: 2rem;
  }
  .location-info {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Pozycjonowanie elementów w nagłówku mobilnym */
  .site-header-inner {
    justify-content: flex-end; /* Przesuwa przycisk menu na prawą stronę */
  }

  .brand {
    /* Logo pozostaje idealnie na środku ekranu na telefonach */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* Nawigacja mobilna */
  .nav-toggle {
    display: block; /* Pokazuje hamburger */
  }
  
  .site-nav {
    display: none; /* Domyślnie schowane */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    padding: 2rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }
  
  /* Klasa dodawana przez prosty skrypt JS w main.js po kliknięciu hamburgera */
  .site-nav.active {
    display: block;
  }
  
  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  /* Bohater (Hero) i sekcje */
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  
  .apartment-slide {
    height: 480px;
    padding: 2rem;
  }
  
  .location-section {
    height: auto;
    padding: 4rem 0;
  }
  
  .location-info {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Ukrywanie tekstów nagłówka dla SEO (dostępność) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Styl dla wielkiego logo wyświetlanego na środku ekranu głównego (Hero) */
.hero-logo-wrapper {
  padding-top: 40px
  margin-bottom: 2.5rem; /* Odstęp między logiem a napisem APARTAMENTY Z DUSZĄ */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  height: 110px; /* Twoja wymarzona, trzykrotna wielkość */
  width: auto;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3)); /* Lekki cień, by logo było super czytelne na każdym tle */
  display: block;
}

/* Dostosowanie wielkości logo na mniejszych ekranach telefonów */
@media (max-width: 768px) {
  .hero-logo {
    height: 120px; /* Na telefonie delikatnie je zmniejszamy, żeby nie zajęło całego ekranu */
  }
  .hero-logo-wrapper {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) { .slider-title-overlay { top: 75px; } }

/* ==========================================================================
   POPRAWA CZYTELNOŚCI TEKSTU NA TLE HERO
   ========================================================================== */

/* Wzmocnienie ciemnego filtru na zdjęciu tła */
.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5) !important; /* 0.5 to 50% przyciemnienia - idealny balans */
}

/* Dodanie eleganckiego, rozmytego cienia pod białymi napisami */
.hero-content h1 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.hero-content .hero-lead {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6) !important;
}

/* ==========================================================================
   NIEZALEŻNE POZYCJONOWANIE I NAPRAWA STRZAŁEK HERO
   ========================================================================== */

/* 1. Precyzyjne ustawienie strzałek z boku, z dala od tekstu */
.carousel-control-prev,
.swiper-button-prev,
.slider-arrow-left {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 5% !important; /* Odsunięcie od lewej krawędzi, by nie nachodzić na tekst */
  right: auto !important;
  bottom: auto !important;
  width: 100px !important;
  height: 100px !important;
  z-index: 1090 !important; /* Wyższa warstwa niż jakikolwiek tekst */
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.carousel-control-next,
.swiper-button-next,
.slider-arrow-right {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 5% !important; /* Odsunięcie od prawej krawędzi */
  left: auto !important;
  bottom: auto !important;
  width: 100px !important;
  height: 100px !important;
  z-index: 1090 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 2. Wygląd gigantycznych strzałek (8rem) */
.carousel-control-prev-icon,
.carousel-control-next-icon,
.swiper-button-prev::after,
.swiper-button-next::after,
.slider-arrow i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 8rem !important;
  height: 8rem !important;
  font-size: 8rem !important;
  line-height: 1 !important;
  color: #F7FAFC !important;
  background-image: none !important; /* Czyszczenie fabrycznych grafik */
}

/* Wymuszenie czystych znaków strzałek tekstowych */
.carousel-control-prev-icon::before, .swiper-button-prev::after { content: '‹' !important; font-family: Arial, sans-serif !important; }
.carousel-control-next-icon::before, .swiper-button-next::after { content: '›' !important; font-family: Arial, sans-serif !important; }

/* Złoty hover */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon,
.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: var(--color-accent) !important;
  filter: drop-shadow(0 0 12px rgba(214, 158, 46, 0.6));
}

/* ==========================================================================
   BLOK 2: PODZIAŁ 50/50 TYLKO DLA SEKCJI UDOGODNIEŃ (Tekst lewo, Zdjęcie prawo)
   ========================================================================== */
.swiper-slide.amenity-slide {
  display: flex !important;
  flex-direction: row-reverse !important; 
  align-items: center !important;         
  justify-content: space-between !important;
  background-color: #ffffff !important;   
  width: 100% !important;
}

.amenity-slide .amenity-content {
  flex: 0 0 45% !important;
  width: 45% !important;
  padding: 50px !important;               
  box-sizing: border-box !important;
  text-align: left !important;            
}

.amenity-slide .amenity-content h3 {
  margin-bottom: 15px !important;
}

.amenity-slide .amenity-content p {
  margin-bottom: 25px !important;
  color: #555555 !important;              
}

.amenity-slide .amenity-img {
  flex: 0 0 50% !important;
  width: 50% !important;
  height: 100% !important;
  min-height: 450px !important;           
  object-fit: cover !important;           
  display: block !important;
}

@media (max-width: 768px) {
  .swiper-slide.amenity-slide {
    flex-direction: column !important;    
  }
  .amenity-slide .amenity-content,
  .amenity-slide .amenity-img {
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 20px !important;
  }
  .amenity-slide .amenity-img {
    min-height: 250px !important;
  }
}

/* ==========================================================================
   1. SEKCJA UDOGODNIEŃ (UKŁAD, PRZEZROCZYSTE TŁO, JASNY TEKST I PRZYCISK)
   ========================================================================== */

/* Sekcja nadrzędna */
.amenities-section {
  background-color: var(--color-bg, #F7FAFC) !important;
  position: relative !important;
}

/* Tło slajdu i układ (tekst + zdjęcie w jednym wierszu) */
.swiper-slide.amenity-slide {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: transparent !important;
  background: transparent !important;
  gap: 40px !important;
  width: 100% !important;
}

/* Ściśnięty blok tekstu + ROZJAŚNIENIE TEKSTÓW */
.amenity-slide .amenity-content {
  flex: 0 0 35% !important;
  width: 35% !important;
  padding: 20px !important;
  text-align: left !important;
  color: #FFFFFF !important;
  
  /* Zabezpieczenie: wyrównanie elementów wewnątrz bloku tekstu do lewej */
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important; 
}

.amenity-slide .amenity-content h3 {
  margin-bottom: 15px !important;
  color: #FFFFFF !important;
  font-size: 1.5rem !important;
  width: 100% !important;
}

.amenity-slide .amenity-content p {
  margin-bottom: 25px !important;
  color: #F7FAFC !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  width: 100% !important;
}

/* 🎯 BEZWZGLĘDNE ZMNIEJSZENIE PRZYCISKU W BLOKU TEKSTU */
.amenity-slide .amenity-content a,
.amenity-slide .amenity-content button,
.amenity-slide .amenity-content .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;             /* Zezwala na zwężenie */
  max-width: fit-content !important;  /* Ścina szerokość idealnie do tekstu */
  align-self: flex-start !important;  /* Blokuje rozciąganie przez flexbox parenta */
  padding: 10px 24px !important;      /* Wewnętrzny margines napisu */
  flex-grow: 0 !important;            /* Blokuje rozrastanie się przycisku */
}

/* Ściśnięte zdjęcie slajdu */
.amenity-slide .amenity-img {
  flex: 0 0 40% !important;
  width: 40% !important;
  height: 100% !important;
  min-height: 400px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 4px !important;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
  .swiper-slide.amenity-slide {
    flex-direction: column !important;
  }
  .amenity-slide .amenity-content,
  .amenity-slide .amenity-img {
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 20px !important;
  }
  .amenity-slide .amenity-img {
    min-height: 250px !important;
  }
}

/* ==========================================================================
   2. PRECYZYJNE CENTROWANIE TEKSTU TYLKO W SEKCJI APARTAMENTÓW (Tekst od lewej)
   ========================================================================== */
.swiper-slide.apartment-slide {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
}

.apartment-slide .slide-content {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 90% !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  text-align: left !important;          /* KAŻDA LINIJKA ZACZYNA SIĘ OD LEWEJ */
  box-sizing: border-box !important;
  z-index: 10 !important;
}

/* Nagłówek i akapit dziedziczą wyrównanie do lewej strony */
.apartment-slide .slide-content h3,
.apartment-slide .slide-content p {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Przycisk "Zobacz więcej" zostawiamy na środku pod tekstem, żeby dobrze wyglądał */
.apartment-slide .slide-content .btn-slide {
  display: inline-block !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 20px !important;
}

/* Szczegóły apartamentu (wielkość, osoby) – trzymamy na środku w jednej linii */
.apartment-slide .apt-details {
  list-style: none !important;
  padding: 0 !important;
  margin: 15px auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important; /* Detale też zaczną się od lewej pod nagłówkiem */
  gap: 20px !important;
}

/* ==========================================================================
   NOWE ZMIANY I TUNING WIZUALNY
   ========================================================================== */

/* --- 1. WYŻSZE LOGO W HERO --- */
.hero-content {
  padding-top: 40px !important; /* Podciągamy zawartość wyżej */
}
.hero-logo-wrapper {
  margin-top: 0 !important;
  margin-bottom: 15px !important; /* Zmniejszamy dystans pod logo */
}

/* --- 2. PRZYCIEMNIENIE TŁA W APARTAMENTACH --- */
.apartment-slide .slide-overlay {
  background-color: rgba(0, 0, 0, 0.55) !important; /* Zwiększamy krycie (np. z 0.3 na 0.55) dla lepszej czytelności tekstu */
  position: absolute !important;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2 !important;
}

/* --- 5. OPINIE GOŚCI (Ikona cytatu i wyrównanie autora) --- */
/* Dodanie eleganckiego cudzysłowu nad opinią */
.testimonial-text::before {
  content: '“' !important;
  display: block !important;
  font-size: 4rem !important;
  line-height: 1 !important;
  color: var(--color-accent, #d69e2e) !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  font-family: Georgia, serif !important;
}
/* Centrowanie autora i oceny bezpośrednio pod tekstem */
.testimonial-author,
.testimonial-rating {
  text-align: center !important;
  margin: 5px auto 0 auto !important;
  display: block !important;
  width: 100% !important;
}

/* ==========================================================================
   SEKCJA POZNAJ NAS BLIŻEJ (UKŁAD OBAK SIEBIE: LINKI LEWA / FOTO PRAWA)
   ========================================================================== */
.info-links-section {
  padding: 80px 0 !important;
  background-color: var(--color-bg, #F7FAFC) !important;
}

/* Kontener staje się elastycznym pudełkiem dzielącym przestrzeń na pół */
.info-links-section .container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 40px !important;
}

/* Lewa strona - Tytuł i bloki linków */
.info-links-left {
  flex: 0 0 48% !important;
  width: 48% !important;
}

.info-links-left .section-title {
  text-align: left !important;
  margin-bottom: 30px !important;
}

/* Układ linków jeden pod drugim, wyrównany do lewej */
.info-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
}

/* Styl pojedynczego linku z numerem */
.info-link {
  display: flex !important;
  align-items: center !important; /* Numer i tekst w jednej linii */
  gap: 20px !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.3s ease !important;
}

/* Styl wielkich cyfr */
.info-link-num {
  font-size: 3rem !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  color: var(--color-accent, #d69e2e) !important;
  opacity: 0.7 !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Styl tekstu obok cyfry */
.info-link-text {
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
}

/* Prawa strona - Zdjęcie */
.info-links-right {
  flex: 0 0 48% !important;
  width: 48% !important;
}

.info-about-img {
  width: 100% !important;
  height: auto !important;
  max-height: 450px !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Efekt najechania myszką (Hover) */
.info-link:hover {
  transform: translateX(8px) !important; /* Delikatne wysunięcie w prawo */
}
.info-link:hover .info-link-num {
  opacity: 1 !important;
  transform: scale(1.1) !important;
}

/* ==========================================================================
   POPRAWKA MOBILNA V10 (DOM POD SMOKAMI)
   ========================================================================== */

@media screen and (max-width: 767px) {

  /* ------------------------------------------------------------------------
     1. HERO NA PEŁNĄ WYSOKOŚĆ EKRANU + POWIĘKSZONE LOGO O 25%
     ------------------------------------------------------------------------ */
  /* Ukrycie hamburgera i reset przestrzeni nagłówka */
  #navToggle,
  .nav-toggle {
    display: none !important;
  }

  #siteHeader,
  .site-header,
  .site-header-inner {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
  }

  /* Sekcja Hero rozciągnięta na pełny ekran */
  section.hero,
  .hero {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Idealne wyśrodkowanie w pionie */
    align-items: center !important;
    min-height: 100vh !important;       /* 100% wysokości ekranu */
    height: 100vh !important;
    padding-top: 20px !important;
    padding-bottom: 70px !important;    /* Miejsce na dolne guziki */
    margin-top: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    width: 100% !important;
  }

  .hero-logo-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Powiększenie logo w Hero o 25% (z 130px do ~165px) */
  img.hero-logo,
  .hero-logo-wrapper img,
  .hero-logo {
    display: block !important;
    max-width: 165px !important;
    width: 165px !important;
    height: auto !important;
    margin: 0 auto 20px auto !important;
    padding: 0 !important;
  }

/* ------------------------------------------------------------------------
     2. GUZIKI NA DOLE - DOKŁADNY STYL STICKY HEADER (PO SKROLOWANIU)
     ------------------------------------------------------------------------ */
  html body nav#siteNav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important; /* Bezpieczniejsze niż 100vw na mobile */
    padding: 8px 8px !important; /* Mniejsze boczne marginesy paska (było 10px 14px) */
    background: rgba(18, 22, 29, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(197, 160, 89, 0.3) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
    z-index: 9999999 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  html body nav#siteNav ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px !important; /* Mniejszy odstęp między guzikami (było 10px) */
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  html body nav#siteNav ul li {
    flex: 1 1 auto !important; /* Dopasowuje szerokość do długości tekstu zamiast sztywnego podziału */
    min-width: 0 !important; /* Pozwala elementom flex zwęzić się w razie potrzeby */
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  /* Styl bazowy przycisków */
  html body nav#siteNav ul li a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 40px !important; /* Nieco niższe (było 44px) */
    padding: 0 5px !important;
    font-family: inherit !important;
    font-size: 0.68rem !important; /* Mniejsza czcionka (było 0.78rem) */
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important; /* Ciaśniejszy odstęp między literami (było 0.8px) */
    white-space: nowrap !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    
    /* Zwykły guzik */
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  /* Guzik prawy / wyróżniony (przełącznik języka ze złotą ramką) */
  html body nav#siteNav ul li:last-child {
    flex: 0 0 auto !important; /* Przycisk flagi zajmuje dokładnie tyle miejsca, ile potrzebuje */
  }

  html body nav#siteNav ul li:last-child a {
    padding: 0 8px !important;
    gap: 5px !important;
    background: rgba(197, 160, 89, 0.15) !important;
    color: #c5a059 !important;
    border: 1px solid #c5a059 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(197, 160, 89, 0.2) !important;
  }

  html body nav#siteNav ul li:last-child a .flag-icon {
    width: 16px !important;
    height: 11px !important;
  }

  body {
    padding-bottom: 62px !important;
  }

  /* ------------------------------------------------------------------------
     3. STRZAŁKI SLAJDERA NA DOLE PO BOKACH KROPEK (OGÓLNE)
     ------------------------------------------------------------------------ */
  .swiper-apartments {
    padding-bottom: 55px !important;
    position: relative !important;
  }

  .swiper-pagination {
    bottom: 15px !important;
    left: 0 !important;
    width: 100% !important;
  }

  .swiper-button-prev,
  .swiper-button-next {
    top: auto !important;
    bottom: 4px !important;
    margin-top: 0 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    background: #12161d !important;
    border: 2px solid #c5a059 !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    z-index: 50 !important;
  }

  .swiper-button-prev { left: 15% !important; }
  .swiper-button-next { right: 15% !important; }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #c5a059 !important;
  }

  /* ------------------------------------------------------------------------
     4. POSZERZENIE SEKCJI "POZNAJ NAS BLIŻEJ"
     ------------------------------------------------------------------------ */
  .info-links-section {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  .info-links-section .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
  }

  .info-links-left,
  .info-links-right {
    width: 100% !important;
    max-width: 100% !important;
  }

  .info-about-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    display: block !important;
  }

  /* ------------------------------------------------------------------------
     5. KOMPRESJA SLAJDERA UDOGODNIEŃ (ZWIĘKSZONY ODSTĘP POD PRZYCISKI)
     ------------------------------------------------------------------------ */
  /* Odchudzenie pionowe całej sekcji udogodnień */
  .amenities-section {
    padding: 2rem 0 !important;
  }

  /* Zwiększony bufor pod slajderem (60px), by strzałki nie nachodziły na przycisk w karcie */
  .amenities-section .swiper,
  .swiper-amenities {
    padding-bottom: 60px !important;
    position: relative !important;
  }

  /* Obniżenie wysokości zdjęcia w karcie z 250px do 130px */
  .amenity-img {
    height: 130px !important;
  }

  /* Ścieśnienie marginesów wewnątrz karty udogodnienia */
  .amenity-content {
    padding: 0.85rem 1rem !important;
  }

  .amenity-content h3 {
    font-size: 1.05rem !important;
    margin-bottom: 0.35rem !important;
  }

  .amenity-content p {
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.75rem !important;
  }

  /* Ochrona ostatniego elementu w karcie (przycisku) przed krawędzią */
  .amenity-content > *:last-child {
    margin-bottom: 0.25rem !important;
  }

  /* Pozycjonowanie strzałek nawigacyjnych bezpośrednio pod kartą */
  .amenities-section .swiper-button-prev,
  .amenities-section .swiper-button-next {
    bottom: 5px !important;
  }

  .amenities-section .swiper-pagination {
    bottom: 15px !important;
  }
}

/* ==========================================================================
   ZARZĄDZANIE LOGO DESKTOP / MOBILE
   ========================================================================== */

/* DOMYŚLNIE (komputery / ekrany od 768px w górę) */
html body .site-header .brand img.logo-desktop {
  display: inline-block !important;
}

html body .site-header .brand img.logo-mobile {
  display: none !important;
}

/* WERSJA MOBILNA (poniżej 768px) */
@media screen and (max-width: 767px) {
  
  /* 1. Ukrywamy desktopowe logo */
  html body .site-header .brand img.logo-desktop {
    display: none !important;
  }

  /* 2. Wyświetlamy mobilne logo */
  html body .site-header .brand img.logo-mobile {
    display: block !important;
    height: 36px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.7)) !important;
  }

  /* 3. Wymuszamy widoczność kontenera logo i pozycjonujemy w lewym górnym rogu */
  .brand,
  .site-header a.brand,
  #siteHeader a.brand {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 10px !important;
    left: 15px !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
  }

  /* 4. Rozmiar i odstępy dla tytułów sekcji na mobilce */
  .section-title,
  h2.section-title,
  #apt-title,
  #amenities-title {
    font-size: 1.4rem !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   DOPASOWANIE SLAJDERA APARTAMENTÓW NA TELEFONACH
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Zwiększamy ilość tła nad tytułem sekcji (przesuwamy tytuł niżej) */
  .slider-title-overlay {
    top: 60px !important; /* Było 30px — teraz nad napisem widać więcej zdjęcia */
  }

  /* 2. Slajd dopasowuje się wysokością do treści */
  .apartment-slide {
    height: auto !important;
    min-height: 630px !important; /* Lekko podniesione, żeby zachować proporcje */
    padding: 0 1.5rem 45px 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }

  /* 3. Zwiększamy margines o 40px, by odstęp pod tytułem był wiekszy */
  .slide-content {
    margin-top: 175px !important; /* Było 135px + 40px przesunięcia tytułu */
    width: 100% !important;
  }

  .slide-content p {
    margin-bottom: 1rem !important;
    line-height: 1.45 !important;
  }

  /* 4. Kropki blisko dolnej krawędzi */
  .apartments-section .swiper-pagination {
    bottom: 16px !important;
  }
}

/* ==========================================================================
   WYMUSZONE PODCIĄGNIĘCIE TREŚCI HERO W GÓRĘ NA MOBILE
   ========================================================================== */
@media (max-width: 768px) {
  html body section.hero,
  html body .hero {
    display: flex !important;
    align-items: flex-start !important;
    padding-top: 10px !important;
    padding-bottom: 80px !important;
  }

  html body .hero .hero-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: translateY(-45px) !important; /* Przesuwa cały blok (logo + napisy) o 45px w górę — dostosuj np. między -30px a -70px */
  }

  html body .hero .hero-logo-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
  }
}
