@import url('bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('../fonts/fontawesome/css/all.min.css');

:root {
    /* Główny kolor w hex (dla właściwości nieużywających rgba) */
    --bs-primary: #104275;
    
    /* Zmienna RGB używana przez Bootstrap do funkcji rgba() */
    --bs-primary-rgb: 16, 66, 117;
    --bs-nav-link-color: #104275;
    
    /* Semantyczne kolory statusów mieszkań (Front) */
    --wjp-status-free: #198754;      /* Zielony - Wolne */
    --wjp-status-reserved: #ffc107;  /* Żółty - Zarezerwowane */
    --wjp-status-sold: #dc3545;      /* Czerwony - Sprzedane */
    

  /* Zmienne dla linków */
  --link-color: #104275;
  --link-hover-color: #0a58ca;
  --link-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;

  --nav-link-color-transparent: #ffffff;
  --nav-link-active-transparent: #ead600; /* Twój obecny żółty na zdjęcie */

  /* Menu po scrollu (Sticky White Navbar) */
  --nav-link-color-sticky: #1e293b;       /* Ciemny grafit */
  --nav-link-active-sticky: #0d6efd;      /* Granat/Niebieski dopasowany do treści */
  --nav-link-active-sticky-alt: #b45309;  /* ALTERNATYWA: Ciepłe złoto/bursztyn czytelny na bieli */
}

/* ==========================================================================
   STATUSY MIESZKAŃ - KLASY UTILITY
   ========================================================================== */

/* Pełne etykiety (Badge) */

.badge {
  --bs-badge-font-weight: 500;
}
.wjp-status-badge-0 {
    background-color: var(--wjp-status-free) !important;
    color: #fff !important;
}
.wjp-status-badge-1 {
    background-color: var(--wjp-status-reserved) !important;
    color: #212529 !important;
}
.wjp-status-badge-2 {
    background-color: var(--wjp-status-sold) !important;
    color: #fff !important;
}

.wjp-status-text-0 { color: var(--wjp-status-free) !important; }
.wjp-status-text-1 { color: var(--wjp-status-reserved) !important; }
.wjp-status-text-2 { color: var(--wjp-status-sold) !important; }

/* Wyróżnienie aktywnej zakładki mieszkania */
.flat-tabs .nav-link.active {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
    border-color: #104275 !important;
    box-shadow: 0 0.25rem 0.5rem rgba(16, 66, 117, 0.25) !important;
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
}

/* Kolor tekstu powierzchni (m²) na aktywnej zakładce */
.flat-tabs .nav-link.active .flat-tab-area {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Kolor kropki statusu wewnątrz aktywnej zakładki (opcjonalnie, jeśli chcesz utrzymać jej jasność) */
.flat-tabs .nav-link.active .fa-circle {
    filter: brightness(1.3);
}

/* Dostosowanie zmiennych koloru w obrębie wtyczki/szablonu */
.wjp-flats-details-container {
    --bs-primary: #104275;
    --bs-primary-rgb: 16, 66, 117;
    
    /* Własny spójny odcień zieleni dla wolnych lokali */
    --bs-success: #198754; 
    --bs-success-rgb: 25, 135, 84;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.text-success {
    color: var(--wjp-status-free) !important;
}

.text-warning {
    color: var(--wjp-status-reserved) !important;
}

.badge-status-free {
    background-color: var(--wjp-status-free) !important;
    color: #ffffff !important;
}

.badge-status-reserved {
    background-color: var(--wjp-status-reserved) !important;
    color: #000000 !important; /* Czarny tekst dla lepszego kontrastu na żółtym */
}

.badge-status-sold {
    background-color: var(--wjp-status-sold) !important;
    color: #ffffff !important;
}

/* Kolory samego tekstu */
.text-status-free { color: var(--wjp-status-free) !important; }
.text-status-reserved { color: #d97706 !important; } /* Ciemniejsza żółć/bursztyn dla czytelności tekstu */
.text-status-sold { color: var(--wjp-status-sold) !important; }

/* Subtelne tła (np. dla wierszy tabeli lub kart) */
.bg-status-free-subtle { background-color: rgba(25, 135, 84, 0.1) !important; }
.bg-status-reserved-subtle { background-color: rgba(255, 193, 7, 0.15) !important; }
.bg-status-sold-subtle { background-color: rgba(220, 53, 69, 0.1) !important; }

/* MAIN */
html, body {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #000;
    background: #fff;
}

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

a:hover,
a:focus {
  color: var(--link-hover-color);
  text-decoration: none;
  text-underline-offset: 3px;
}

/* END MAIN */


.navbar-brand {
  display: block;
}

/* MAIN MENU */
.mainmenu {
    background-color: #fff;
    transition: all 500ms linear;
}

.mainmenu.iscarousel,
.mainmenu.notiscarousel {
    position: relative;
    z-index: 1020;
    width: 100%;
    background-color: #fff;
}

.mainmenu1.notiscarousel {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #fff;
}

.mainmenu.iscarousel.fixedtop,
.mainmenu.notiscarousel.fixedtop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1020;
    background-color: #fff !important;
    transition: all 500ms linear;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}


.menu-cta-highlight a {
    background-color: rgba(16, 66, 117, 0.08) !important;
    color: #104275 !important;
    border-radius: 6px !important;
    padding: 0.4rem 0.9rem !important;
    transition: background-color 0.2s ease-in-out !important;
}

.menu-cta-highlight a:hover {
    background-color: rgba(16, 66, 117, 0.15) !important;
}
.mainmenu {
;transition: all 500ms linear;
}

.mainmenu .img-navbar-brand {
    height: 86px;
    width: auto;
    transition: all 0.5s ease;
}

h1.site-logo {
	margin-bottom: 0;
}

h1.mainpage {
   margin-bottom: 0;
}

.mainmenu.fixedtop .img-navbar-brand {
    height: 76px;
    width: auto;
}

.mainmenu .nav-link {
    color: #000;
    font-size: .9rem;
    font-weight: 400;
    text-transform: uppercase;   
}


.navbar-nav .nav-link.active, .navbar-nav .nav-link.show  {
  color: #dfdfdf;
}

.mainmenu.notiscarousel.fixedtop .nav-link.active, .mainmenu.notiscarousel.fixedtop .nav-link.show,.mainmenu.iscarousel.fixedtop .nav-link.active, .mainmenu.iscarousel.fixedtop .nav-link.show {
    color: #afafaf;
}

.mainmenu li.active .nav-link {
    *color: #f59e0b;
    font-weight: 500;
}

.mainmenu.iscarousel.fixedtop .nav-link, .mainmenu.notiscarousel.fixedtop .nav-link {
    
}

.mainmenu.iscarousel.fixedtop li.active .nav-link, .mainmenu.notiscarousel.fixedtop li.active .nav-link {
    *color: #f59e0b;
    font-weight: 500;
}

.mainmenu .nav-link:hover {
    color: #092541;
}

.mainmenu.iscarousel.fixedtop .nav-link:hover, .mainmenu.notiscarousel.fixedtop .nav-link:hover {
    color: #092541;
}

.mainmenu.iscarousel .navbar-collapse.collapse, .mainmenu.notiscarousel .navbar-collapse.collapse {
    background-color: transparent;
    padding-left: 2rem;
    transform: scale(1); 
    transition: 0.25s all ease;
}

.navbar-collapse {
    background-color: rgba(0, 0, 0, 0);
    padding-left: 2rem;
    transform: scale(1); 
    transition: 0.25s all ease;    
}

.mainmenu.iscarousel .navbar-collapse.collapse.show, .mainmenu.notiscarousel .navbar-collapse.collapse.show {
    background-color: rgba(255, 255, 255, 0);
    padding-left: 2rem;
    padding-right: 2rem;
    transform: scale(1); /* you need a scale here to allow it to transition in both directions */
    transition: 0.25s all ease;
}

.mainmenu.iscarousel.fixedtop .navbar-collapse.collapse.show, .mainmenu.notiscarousel.fixedtop .navbar-collapse.collapse.show {
    background-color: rgba(255, 255, 255, 0);
    padding-left: 2rem;
    padding-right: 2rem;
    transform: scale(1); /* you need a scale here to allow it to transition in both directions */
    transition: 0.25s all ease;
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0;
  position: relative;
}
.navbar-toggler {
  width: 30px;
  height: 30px;
  position: relative;
  transition: .5s ease-in-out;
}

.mainmenu.iscarousel .navbar-toggler.collapsed .toggler-icon, .mainmenu.notiscarousel .navbar-toggler.collapsed .toggler-icon {
 background: linear-gradient( 263deg, rgba(33, 33, 33, 1) 0%, rgba(33, 33, 33, 1) 100% );
}

.mainmenu.iscarousel.fixedtop .navbar-toggler.collapsed .toggler-icon, .mainmenu.notiscarousel.fixedtop .navbar-toggler.collapsed .toggler-icon {
  background: linear-gradient( 263deg, rgba(33, 33, 33, 1) 0%, rgba(33, 33, 33, 1) 100% );
}


.mainmenu.iscarousel .navbar-toggler.collapsed .top-bar, .mainmenu.notiscarousel .navbar-toggler.collapsed .top-bar {
  position: absolute;
  top: 0px;
  transform: rotate(0deg);
}
.mainmenu.iscarousel .navbar-toggler .top-bar, .mainmenu.notiscarousel .navbar-toggler .top-bar {
  top: inherit;
  transform: rotate(135deg);
}
.navbar-toggler span {
  margin: 0;
  padding: 0;
}
.mainmenu.iscarousel .toggler-icon, .mainmenu.notiscarousel .toggler-icon {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: rgb(33, 33, 33);
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.mainmenu.iscarousel.fixedtop .toggler-icon, .mainmenu.notiscarousel.fixedtop .toggler-icon {
      background: rgb(33, 33, 33);
}

.mainmenu.iscarousel .navbar-toggler.collapsed .middle-bar, .mainmenu.notiscarousel .navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  position: absolute;
  top: 10px;
  filter: alpha(opacity=100);
}
.mainmenu.iscarousel .navbar-toggler .middle-bar, .mainmenu.notiscarousel .navbar-toggler .middle-bar {
  opacity: 0;
  top: inherit;
  filter: alpha(opacity=0);
}

.mainmenu.iscarousel .navbar-toggler.collapsed .bottom-bar, .mainmenu.notiscarousel .navbar-toggler.collapsed .bottom-bar {
  position: absolute;
  top: 20px;
  transform: rotate(0deg);
}
.mainmenu.iscarousel .navbar-toggler .bottom-bar, .mainmenu.notiscarousel .navbar-toggler .bottom-bar {
  top: inherit;
  transform: rotate(-135deg);
}

.dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 12rem;
  padding: 1rem 0;
  margin: 0;
  margin-top: 0px;
  font-size: 0.875rem;
  color: #000;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  box-shadow: 0px 20px 30px rgba(83, 88, 93, 0.15);
  transition: all 0.3s ease-in-out;
}

.dropdown-menu {
	text-transform: uppercase;
}

.dropdown-menu li.active a.dropdown-item {
	color: #b67b00;
}

.navbar-collapse.collapse.show .nav-link {
    padding-top: .2rem;
    padding-bottom: .2rem;
}

  .animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }


@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }

  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

.slideIn {
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}

.dropdown-item:focus, .dropdown-item:hover {
  color: var(--bs-dropdown-link-hover-color);
  background-color: #efefef;
}
/* END MAIN MENU */

/* CAROUSEL */

.carousel-item {
    overflow: hidden;
}

.carousel-item.active .imgsl {
    animation: kenburns 8s ease-out forwards;
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}



.carousel-item .imgsl {
  height: 50vh;
}

.carousel-item h2 {
  font-weight: 300;
  font-size: 2.0rem;
  text-transform: uppercase;
  color: #eee;
}

@media (max-width : 992px) {
.carousel-item h2 {
  font-size: 1.6rem;
}
}

.carousel-item p {
  font-weight: 300;
  font-size: 1.0rem;
  text-transform: uppercase;
  color: #eee;
}

.carousel-caption {
  top: 40%;
}

.imgsl:before {
  content:'';
  background-color: #000;
  opacity: 0.6;
  display:block;
  width:100%;
  height:100%;
}


.carousel-indicators .active {
    opacity: .9 !important;
}

.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border: 0;
    border-top-width: 0px;
    border-top-style: none;
    border-top-color: currentcolor;
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity .6s ease;
}

/* END CAROUSEL */

/* Testimonials */
.testimonialswrapper .card {
    border-radius: 0;
    border: 1px solid #dee2e6;
    transition: all ease-in-out 0.3s;
    text-align: center;
    padding: 3rem 1rem;
}

.testimonialswrapper .card .card-title {
    font-weight: 500 !important;
}

.cardiconwrapper {
    background: #ffc451;
    color: #000;
    margin: 0 auto;
    margin-bottom: 0px;
    width: 64px;
    height: 64px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}

.card .cardtitle {
    color: #000;
}

.h2testimonials {
    text-transform: uppercase;
    text-align: center;
}

.testimonialswrapper .card:hover {
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}


.googlemap {
  margin: auto;
    margin-bottom: auto;
  margin-bottom: auto;
  margin-bottom: auto;
  margin-bottom: 15px;
  box-shadow: 1px 1px 3px rgba(0,0,0,.25);
  border: 1px solid #ced4da;
  padding: 4px !important;
  border-radius: 3px;
  overflow: auto;
  width: 100%;
  height: 500px;
}
.topbutton {
  *height: 50px;
  *width: 50px;
  position: fixed;
  right: 15px;
  bottom: 15px;
  Z-index: 1;
  *background-repeat: no-repeat;
  padding: 10px 12px;
  display: none;
  background-color: #ffc451;
  color: #000 !important;
  transition: .3s;
}

.topbutton:hover {
	color: #333 !important;
}
/* LOADING PAGE */
.loader-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  display:flex;
  justify-content: center;
  align-items: center;
  z-index:10000;
}

.preload {
	overflow: hidden;
}

/* HTML: <div class="loader"></div> */



.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 3px;
  background: 
    radial-gradient(farthest-side,#ffa516 95%,#0000) 50% 0/12px 12px no-repeat,
    radial-gradient(farthest-side,#0000 calc(100% - 5px),#ffa516 calc(100% - 4px)) content-box;
  animation: l6 2s infinite ;
}

@keyframes l6 {to{transform: rotate(1turn)}}

.loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  background-color: #fff;
  animation: loader-inner 2s infinite ease-in;
}

/* END LOADING PAGE */

.pagetitlewrapper {
    position: relative;
    color: #fff;
    padding-top: 6rem !important; /* Zmniejszone z 9.5rem ze względu na brak nakładania się menu */
    padding-bottom: 3.5rem !important; /* Zwiększone dla lepszych proporcji */
    background: linear-gradient(rgba(16, 66, 117, 0.75), rgba(16, 66, 117, 0.85)), url('../img/header_bg.jpg') no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.15);
}

/* Opcjonalna delikatna warstwa dekoracyjna / poświata */
.pagetitlewrapper::after {
    content: '';
    position: absolute;
    top: 0;
    start: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-color: #ffffff;
    pointer-events: none;
}

.pagetitlewrapper .pagetitle h1 {
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 0;
    color: #fff;
}


.page {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pagetitleinner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.pagetitle h1 {
  font-weight: 300;
  font-size: 2.0rem;
  text-transform: uppercase;
  color: #eee;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #104275;
  --bs-btn-border-color: #104275;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0d6efd;
  --bs-btn-disabled-border-color: #0d6efd;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #1a6dc1 !important;
}

.btn-custom-primary {
    border-color: var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}

.btn-custom-primary:hover,
.btn-custom-primary:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
}

/* FORMULARZE */
input[type="checkbox"] {
  accent-color: #25b9d7;
  color-scheme: light;
}
.form-check-input {
  width: 1em;
  height: 1em;
  margin-top: .25em;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid rgba(0,0,0,.25);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
}
.form-check-input {
  position: relative !important;
  *display: inline;
  margin-bottom: 0;
  margin-top: .3rem !important;
  margin-left: 0 !important;
}
.wpcf7-list-item {
  display: inline !important;
  margin: 0 0 0 0 !important;
}

.wpcf7-form-control-wrap, .wpcf7-form-control {
  display: inline !important;
  position: relative;
}

.wpcf7-form label {
  position: relative !important;
  display: inline;
}
.form-check-label {
  margin-left: 1.0rem;
  margin-bottom: 0;
}

.form-control:focus {
    border-color: #104275;
    box-shadow: 0 0 0 .25rem rgba(16, 66, 117,.25);
}

.form-check-input:checked {
    background-color: #104275;
    border-color: #104275;
}

.form-check-input:focus {
  border-color: #104275;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(16, 66, 117,.25);
}
/* KONIEC FORMULARZE */

.page ul {
  list-style: outside none none;
  padding-left: 0;
}
.contact-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
  font-size: 1.0rem;
  margin-left: 2rem;
}
.contact-list li {
  text-indent: -.9em;
  padding-bottom: .4rem;
  color: #000;
}

.page ul.checklist {
  list-style: outside none none;
  padding-left: .5rem;
}

.page ul.checklist li::before {
  content: '\f00c';
  font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
  margin-right: 8px;
  color: #000;
}

.page .alignleft {
  float: left !important;
  margin-right: 10px;
  margin-bottom: 10px;
}

.page .alignright {
  float: right !important;
  margin-left: 10px;
  margin-bottom: 10px;
}

.page .aligncenter, .page .alignnone {
  display: block;
  float: none !important;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: .4rem;
}

.page img {

}

/* FOOTER */
.footer {
    background-color: #2e3038;
    color: #aaa;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.footer h3 {
  position: relative;
  margin-bottom: 1rem;
  text-align: left;
  text-transform: uppercase;
  font-size: 0.85rem; /* Zmniejszony rozmiar czcionki */
  font-weight: 500; /* Delikatniejszy, mniej agresywny font */
  letter-spacing: 0.08em; /* Lekki rozstaw liter nadaje elegancji */
  color: rgba(255, 255, 255, 0.85); /* Czysty, miękki odcień bieli */
}

/* Bardzo delikatna kreseczka pod nagłówkiem */
.footer h3::before {
  content: "";
  display: block;
  width: 1.25rem; /* Krótszy pasek */
  border-bottom: 2px solid #24a7cf; /* Cieńsza linia (2px zamiast 3px) */
  opacity: 0.5; /* Wyższa przezroczystość - mniej rzuca się w oczy */
  margin-bottom: 0.4rem;
  border-radius: 1px;
}
/* ==========================================
   DYSKRETNE & KOMPAKTOWE MENU W STOPCE
   ========================================== */

.footer ul.menu-list {
  padding-left: 0;
  list-style: none !important; /* Usunięcie kropek z listy */
  margin-bottom: 0;
}

.footer ul.menu-list li {
  padding-bottom: 0;
  margin-bottom: 0.15rem;
  list-style-type: none !important; /* Pewność braku kropki w li */
}

/* Drobny, delikatny odnośnik ze strzałką po prawej */
.footer ul.menu-list li a {
  color: #ead600;
  text-transform: uppercase;
  font-weight: 400; /* Thin/Regular - bardzo delikatna czcionka */
  font-size: 0.725rem; /* Zdecydowanie mniejsza czcionka */
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.15rem 0.35rem; /* Minimalne odstępy */
  border-radius: 3px;
  background: transparent; /* Brak domyślnego tła */
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

/* Strzałka PO linku (Font Awesome) */
.footer ul.menu-list li a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  font-size: 0.65rem;
  color: #24a7cf;
  opacity: 0.6;
  margin-left: 0.5rem;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

/* Efekt najechania (Hover) */
.footer ul.menu-list li a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04); /* Subtelny, lekki highlight */
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
  text-decoration: none;
}

.footer ul.menu-list li a:hover::after {
  color: #24a7cf;
  opacity: 1;
  transform: translateX(2px);
}

.contact-footer {
  display: block;
  overflow: hidden;
  padding: 0 10px;
  -webkit-transition: .2s ease all;
  transition: .2s ease all;
}
/* END FOOTER */

/* UNDER FOOTER */

.underfooter {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #2e3038;
    color: #aaa;
    border-top: solid #3d3f47 2px;
}

.underfooter a {
  color: #ead600;
}

/* NGG */

.ngg-card-album.card, .ngg-card-album .card-img-overlay {
    border-radius: 0;
    border: 0;
}

.ngg-card-album .card-img-overlay .card-title {
  margin-bottom: 1rem;
}

.ngg-card-album .card-img-overlay .card-title a {
  background: #fff;
  color: #000;
  opacity: 0.85;
  padding: .2rem;
}

.mapdescription {
    width: 290px;
    font-size: 14px;
    color: #333;
    *padding: 2px 0;
    padding: 0 5px 5px 0;
}

.mapdescription h5 {
    font-size: 17px;
    font-weight: 600;
    color: #223a66;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.map-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
    line-height: 1.35;
}

.map-row i {
    width: 18px;
    color: #223a66;
    margin-top: 2px;
}

.map-row a {
    color: #223a66;
    text-decoration: none;
}

.map-route {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.map-route a {
    color: #223a66;
    text-decoration: none;
    font-weight: 500;
}

.map-route i {
    margin-right: 6px;
}

/* zmniejszenie odstępu wokół treści InfoWindow */
.gm-style-iw-c {
    padding-top: 8px !important;
}

/* zmniejszenie miejsca po prawej stronie pod przycisk X */
.gm-style-iw-d {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* przesunięcie przycisku zamknięcia bliżej narożnika */
.gm-ui-hover-effect {
    top: 2px !important;
    right: 2px !important;
}

/* Mieszkania */
/* Stylizacja linków i przycisków poziomu */
.wjp-levels-wrapper a, 
.wjp-levels-wrapper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bs-gray-700, #495057);
    background-color: var(--bs-gray-100, #f8f9fa);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

/* Stan najechania (Hover) */
.wjp-levels-wrapper a:hover, 
.wjp-levels-wrapper button:hover {
    background-color: var(--bs-gray-200, #e9ecef);
    color: var(--bs-primary, #0d6efd);
    border-color: var(--bs-primary-border-subtle, #b6d4fe);
    transform: translateY(-1px);
}

/* Aktywny poziom */
.wjp-levels-wrapper a.active, 
.wjp-levels-wrapper .active a, 
.wjp-levels-wrapper button.active {
    background-color: var(--bs-primary, #0d6efd);
    color: #ffffff;
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}

/* ==========================================================================
   ImageMapster Tooltip (.mapStyle)
   ========================================================================== */

/* Główny kontener dymka ImageMapster */
.mapStyle {
    background-color: #ffffff !important;
    border: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.15)) !important;
    border-radius: 0.75rem !important; /* odpowiednik rounded-3 */
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15) !important;
    padding: 0.75rem 1rem !important;
    max-width: 280px !important;
    font-size: 0.85rem !important;
    color: var(--bs-body-color, #212529) !important;
    z-index: 9999 !important;
    pointer-events: none; /* zapobiega migotaniu przy najechaniu */
}

/* Wiersze z danymi (paragrafy) */
.mapStyle p {
    margin: 0 !important;
    padding: 0.2rem 0 !important;
    line-height: 1.3 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bs-secondary-color, #6c757d);
}

/* Pogrubione wartości w dymku */
.mapStyle p .weibold {
    font-weight: 600 !important;
    color: var(--bs-body-color, #1a1d20) !important;
    text-align: right;
    margin-left: 0.5rem;
}

/* Linie podziału między sekcjami */
.mapStyle hr {
    margin: 0.25rem 0 !important;
    border: 0 !important;
    border-top: 1px dashed var(--bs-border-color, #dee2e6) !important;
    opacity: 0.6 !important;
}

/* Kolory statusów dostępności w dymku zmapowane na zmienne */
.mapStyle .text-success {
    color: var(--wjp-status-free) !important;
    font-weight: 600 !important;
}

.mapStyle .text-warning {
    color: var(--wjp-status-reserved) !important;
    font-weight: 600 !important;
}

.mapStyle .text-danger {
    color: var(--wjp-status-sold) !important;
    font-weight: 600 !important;
}

.btn-level {
    margin-right: 2px;
    margin-bottom: 3px;
}

/* ==========================================================================
   Pełna szerokość rzutów i podglądów mieszkań
   ========================================================================== */

/* Rzut kondygnacji (ImageMapster oraz jego wrapper canvas) */
#lokPlan,
.mapster_el {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
}

/* Podgląd rzutu pojedynczego mieszkania w zakładce */
.containertab .tab-pane img.img-fluid {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}
/* Maksymalne zaciśnięcie bloku pięter i elementów z retLevels() */
.wjp-levels-box {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
    padding: 1rem 1.5rem 1rem 1rem;
}

.wjp-levels-wrapper .btn {
    padding: 0.1rem 0.4rem !important;
    font-size: 0.72rem !important;
    margin: 4px 2px 4px 2px !important;
    line-height: 1.2 !important;
}

/* Zmniejszone rozmiary pomocnicze */
.fs-8 {
    font-size: 0.68rem !important;
}

.p-1-5 {
    padding: 0.35rem 0.5rem !important;
}

.gap-1.5 {
    gap: 0.25rem !important;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Zmniejszenie odstępu bezpośrednio przed nagłówkiem mieszkań */
#tytMieszkania, 
#tytKomorki, 
#tytLUzytkowe, 
#tytMPostojowe, 
#tytBGarazowe {
    margin-top: 0.5rem !important;
    padding-top: 0 !important;
}
.nav,
.flat-tabs {
    --bs-nav-link-color: #104275;
    --bs-nav-link-hover-color: #0b2d50; /* Opcjonalnie: ciemniejszy odcień przy najechaniu */
}
/* Styl dla ciemnej stopki (#2e3038) */
.fs-8 {
    font-size: 0.8125rem;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.footer-contact-box .btn-outline-light:hover {
    background-color: #104275;
    border-color: #104275;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.transition-all {
    transition: all 0.25s ease-in-out;
}

.cta-glass-box {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-glass-box h2 {
    font-size: 1.6rem;
    font-weight: 500;
}

.cta-icon-circle {
    width: 72px;
    height: 72px;
    min-width: 72px; /* Gwarantuje idealne koło */
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.2);
    border: 2px solid rgba(13, 110, 253, 0.5);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.3);
}
.btn-cta-glow {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}
.btn-cta-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.7);
}

.cta-glass-box i {
    color: white !important;
}

.find-your-home-cta h2, .featured-flats-wrapper h2 {
    font-size: 2.2rem;
}