/* =========================
   RESET & GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-height: 70px;
    --color-bg: #f8f8f8;
    --color-text: #222;
    --color-primary: #1c3a4f;
    --color-primary-soft: #17425f;
    --color-accent: #FF5A5F;
    --color-booking: #003580;
    --color-footer-bg: #1c3a4f;
    --shadow-soft: 0 8px 20px rgba(0,0,0,0.04);
    --shadow-strong: 0 8px 20px rgba(0,0,0,0.1);
    --radius-lg: 1rem;
    --radius-md: 0.5rem;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.hidden {
    display: none !important;
}

/* =========================
   HEADER & NAV
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: var(--header-height);
    width: 100%;
    max-width: 100vw;

    padding: 0.6rem 1rem;

    background: linear-gradient(
        to right,
        rgba(255,255,255,0.95),
        rgba(245,248,250,0.95)
    );
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.06);

    overflow: hidden; /* jedyne poprawne miejsce */
}


.logo {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
	flex-shrink: 1; 
	min-width: 0;
}
/*
.logo img {
    max-height: 75px;
    width: auto;
    margin-top: 10px; /* lub więcej, np. 10px 
}
*/

.logo img {
  max-height: 75px;
  width: auto;
  margin-top: 10px
}

/* Domyślnie pokazujemy desktopowe logo */
.logo-mobile {
  display: none;
}

/* Na urządzeniach mobilnych pokazujemy uproszczone logo */
@media (max-width: 768px) {
  .logo-desktop {
    display: none;
  }
  .logo-mobile {
    display: inline;
	
  }
}


.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}


/* =========================
   FIX: iPhone hamburger overflow
========================= */

.header {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100vw;
    overflow: hidden;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.hamburger {
    flex-shrink: 0;
}

/* =========================
   BUTTONS
========================= */

.btn {
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    border: none;
}

.booking-links {
    display: flex;
    gap: 0.5rem;
}

.booking-btn {
    background: var(--color-booking);
    color: #fff;
}

.airbnb-btn {
    background: var(--color-accent);
    color: #fff;
}
.booking-btn,
.airbnb-btn {
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 🔥 Efekt uniesienia tylko na desktopie */
@media (hover: hover) and (pointer: fine) {
    .booking-btn:hover,
    .airbnb-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    }

    .booking-btn:active,
    .airbnb-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    }
}


/* =========================
   LANGUAGE SWITCHER – RECT FLAGS + SOFT OUTLINE
========================= */

.language-switcher {
    display: flex;
    gap: 0.35rem;
    padding: 0;
    background: transparent;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;

    width: 33px;   /* Twój rozmiar */
    height: 21px;  /* Twój rozmiar */

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 3px; /* delikatne rogi */
    transition: border 0.25s ease, background 0.25s ease;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}


/* =========================
   SOFT PULSE ANIMATION (Ocean SPA)
========================= */

@keyframes softPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0, 120, 255, 0.0);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 12px rgba(0, 120, 255, 0.35);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0, 120, 255, 0.0);
    }
}

/* aktywny język z animacją soft pulse */
.lang-btn.active {
    border: 3px solid rgba(0, 120, 255, 0.45);
    background: rgba(0, 120, 255, 0.12);
    box-shadow: 0 0 10px rgba(0, 120, 255, 0.35);
    border-radius: 5px;

    animation: softPulse 0.6s ease-out;
}

.lang-btn:hover { background: rgba(0, 120, 255, 0.08); }

/* =========================
   HAMBURGER
========================= */

.hamburger {
    width: 32px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 3000;
    position: relative;
}

.hamburger span {
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =========================
   FOOTER (NOWA WERSJA)
========================= */

.footer {
    background:  #ffffff;
    padding: 2rem 1rem;
    color: #zzz;
    margin-top: 3rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer .social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.footer .social a {
    color: #fff;
    font-size: 1.6rem;
    transition: 0.25s ease;
}

.footer .social a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer .social a[aria-label="Facebook"] i {
    color: #1877F2;
}

.footer .social a[aria-label="Instagram"] i {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================
   SCROLL OFFSET
========================= */

html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 80px;
}

/* animowane underline */
.nav > ul > li > a,
.submenu-toggle {
    position: relative;
}

.nav > ul > li > a::after,
.submenu-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.35s ease;
    border-radius: 2px;
}

.nav > ul > li > a:hover::after,
.submenu-toggle:hover::after {
    width: 100%;
}
/* animowane underline */
.nav > ul > li > a,
.submenu-toggle {
    position: relative;
}

.nav > ul > li > a::after,
.submenu-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.35s ease;
    border-radius: 2px;
}

.nav > ul > li > a:hover::after,
.submenu-toggle:hover::after {
    width: 100%;
}


@media (max-width: 991px) {

    .nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        z-index: 9999 !important; /* ponad headerem */
    }

    .nav.open {
        display: block !important;
    }
}
@media (max-width: 991px) {
    .header {
        overflow: visible !important;
    }
}


@media (max-width: 380px) {
    .hamburger {
        transform: scale(0.85);
    }
}

/* =========================
   FIX: iPhone hamburger overflow
========================= */

.header {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100vw;
    overflow: hidden;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.hamburger {
    flex-shrink: 0;
}
/* =========================
   NAV MOBILE – DOMYŚLNIE
========================= */

.nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #ddd;
    z-index: 40;
    padding-bottom: env(safe-area-inset-bottom); /* iPhone safe area */
}

.nav.open {
    display: block;
}

/* UL jako mobile menu */
.nav .mobile-menu {
    list-style: none;
    padding: 0.75rem 1rem;
    margin: 0;
}

/* elementy menu – kompaktowe */
.nav .mobile-menu li {
    margin: 0.3rem 0;
    position: relative;
}

/* linki – mniejsze, czytelne */
.nav .mobile-menu a {
    display: block;
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--color-primary);
}

/* submenu w mobile */
.nav .mobile-menu .submenu {
    margin-left: 0.8rem;
}

.nav .mobile-menu .submenu a {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
}

/* =========================
   NAV DESKTOP PREMIUM
========================= */

@media (min-width: 992px) {
    .header { overflow: visible !important; }

    .hamburger {
        display: none;
    }

    .nav {
        display: block;
        position: static;
        background: transparent;
        border: none;
        padding-bottom: 0;
        margin-right: 150px;
    }

    .nav .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1.4rem;
        padding: 0;
        margin: 0;
    }

    .nav .mobile-menu li {
        position: relative;
        margin: 0;
        list-style: none;
    }

    .nav > .mobile-menu > li > a,
    .submenu-toggle {
        font-size: 1rem;
        font-weight: 500;
        color: var(--color-primary);
        text-decoration: none;
        padding: 0.4rem 0;
        transition: color 0.25s ease, opacity 0.25s ease;
    }

    .nav > .mobile-menu > li > a:hover,
    .submenu-toggle:hover {
        color: var(--color-accent);
        opacity: 0.85;
    }

    /* SUBMENU PREMIUM – desktop */
    .submenu {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        background: #ffffff;
        border-radius: 0.75rem;
        box-shadow: 0 12px 35px rgba(0,0,0,0.12);
        padding: 0.8rem 1rem;
        min-width: 200px;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .has-submenu.open > .submenu::before {
        content: "";
        position: absolute;
        top: -8px;
        left: 20px;
        width: 14px;
        height: 14px;
        background: #fff;
        transform: rotate(45deg);
        box-shadow: -3px -3px 8px rgba(0,0,0,0.05);
    }

    .has-submenu.open > .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .submenu a {
        display: block;
        padding: 0.45rem 0;
        font-size: 0.92rem;
        color: var(--color-primary);
        text-decoration: none;
        transition: color 0.25s ease, padding-left 0.25s ease;
        padding-left: 6px;
    }

    .submenu a:hover {
        color: var(--color-accent);
        padding-left: 12px;
    }

    .nav > .mobile-menu > li.has-submenu > a,
    .nav > .mobile-menu > li.has-submenu > a.submenu-toggle {
        display: flex !important;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        overflow: visible !important;
    }
}

.has-submenu > a {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: visible !important;
}
/* =========================
   NAV MOBILE — FINAL FIX
========================= */

/* usuwa punktatory w hamburgerze */
.nav ul,
.nav ul li {
    list-style: none !important;
}

/* kompaktowe menu mobilne */
.nav ul.mobile-menu {
    padding: 0.7rem 1rem;
    margin: 0;
}

/* mniejsze odstępy */
.nav ul.mobile-menu li {
    margin: 0.3rem 0;
}

/* mniejsze linki */
.nav ul.mobile-menu a {
    display: block;
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--color-primary);
}

/* submenu mobilne */
.nav ul.mobile-menu .submenu {
    margin-left: 0.8rem;
}

.nav ul.mobile-menu .submenu a {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
}


/* iPhone Chrome/Safari fix — TYLKO MOBILE */
@media (max-width: 991px) {
    .nav {
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        padding-bottom: calc(1.2rem + env(safe-area-inset-bottom));
        -webkit-overflow-scrolling: touch;
    }
}

/* =========================
   HERO / SLIDER – NOWA WERSJA
========================= */

.hero {
    position: relative;
    height: 60vh;          /* wysokość hero */
    min-height: 350px;     /* żeby na małych ekranach nie było za nisko */
    overflow: hidden;
}

/* tło – slajd */
.slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slider-mobile {
  display: none;
}

@media (max-width: 768px) {
  .slider-desktop {
    display: none;
  }
  .slider-mobile {
    display: block;
  }
}


/* tekst na hero */
.hero-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 900px;
    padding: 0 1rem;
	/*background: rgba(0, 0, 0, 0.85); /* 🔥 przyciemnione tło */ 
	/*backdrop-filter: blur(0,5px); /* 🔥 delikatne rozmycie */ 
	/*padding: 0.6rem 1.2rem; /* odstęp od tekstu */
	/*border-radius: 12px;  */
}

.hero-text h1 {
    font-size: 2.5rem; /* ustaw dowolnie */
	color: #fff;

	
}


.hero-text p {
    font-size: clamp(1rem, 1vw + 0.6rem, 1.4rem);
    margin: 0;
		color: #fff;
	border-radius: 2; /* zaokrąglenie */ 
	/*backdrop-filter: blur(2px); /* delikatne rozmycie tła */
	/*background: rgba(255, 255, 255, 0.85);*/
}


[data - i18n]{
    white-space: pre-line;
}

.description ul { 
margin: 0.3rem 0; 
padding-left: 1rem;
}
 /* lub 0 jeśli chcesz idealnie równo */

/* Nagłówek sekcji */ 
.subsection h2 { 
font-size: 1.55rem; 
font-weight: 700; 
text-align: left; 
margin-bottom: 2rem; 
line-height: 1.2; }

#onas h2[data-i18n="about_title"] {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
	text-align: left; 
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    #onas h2[data-i18n="about_title"] {
        font-size: 2.0rem;
    }
}


.about-text { 
white-space: normal; 
}


#apartamenty  h2[data-i18n="apartament_title"] {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
	text-align: left; 
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    #apartamenty h2[data-i18n="apartament_title"] {
        font-size: 2.0rem;
    }
}

/* ============================ UNIWERSALNY STYL OPISÓW ============================ */
.desc {
    white-space: normal; /* akapity będą kontrolowane przez <p> */ line - height: 1.6;
    font-size: 1rem;
    color:  # 333;
} 

/* Akapity */
.desc p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

/* LISTY BEZ BULLETÓW (SAUNA) */
.desc ul.no-bullets {
    margin: 0 0 1rem 0;
    padding-left: 0;
    list-style: none;
}

/* LISTY Z BULLETAMI (BALIA) */
.desc ul.bullet {
    margin: 0 0 1rem 0;
    padding-left: 0; /* normalne, estetyczne wcięcie */
    list-style: disc;
}

/* WSPÓLNY STYL DLA LI */
.desc ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.4rem 0;
}

/* EMOJI */
.desc ul li .icon {
    font-size: 1.2rem;
    line-height: 1.2;
}


@media (min-width: 1024px) { 
.hero 
{ height: 350px; } 

}

/* FORCE ONE LINE FOR APARTMENT INFO */
.apartment-info-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2rem !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

.apartment-info-row .info-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.apartment-info-row .info-item i {
    font-size: 1.25rem !important;
    opacity: 0.75 !important;
}
/* MOBILE FIX – IKONY NIE WYJEŻDŻAJĄ ZA EKRAN */
@media (max-width: 480px) {
    .apartment-info-row {
        flex-wrap: wrap !important;   /* pozwala łamać */
        gap: 1rem !important;         /* mniejsze odstępy */
        white-space: normal !important;
    }

    .apartment-info-row .info-item {
        flex: 1 1 calc(50% - 1rem);   /* 2 ikonki w rzędzie */
        justify-content: flex-start;
    }
	
}

/* =========================
   APARTMENT INFO – BLOKI BEZ ROZSTRZAŁU
========================= */
/* GŁÓWNY UKŁAD – FLEX */
.apt-line-colored {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-start;
    padding-left: 0;

}

/* ELEMENTY */
.apt-line-colored .apt-item {
    flex: 1 1 100px; 
    max-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
    padding: 0.6rem 0.4rem;
    background: #f7f9fb;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	
}

/* iPhone fix */
@media screen and (max-width: 430px) {
    .apt-line-colored .apt-item {
        flex: 1 1 100px;
        padding: 0.4rem 0.2rem;
        height: auto;
        margin: 0 6px 6px 0;
    }

    .apt-line-colored .apt-item span {
        line-height: 1.1;
    }
}

/* Safari iOS gap fix */
/* iPhone Safari ONLY */
@media screen and (max-width: 430px) and (orientation: portrait) {
    .apt-line-colored {
        gap: 0;
    }
    .apt-item {
        margin-right: 12px;
    }
}

/* ANDROID FIX – kafelki w jednej linii */
@media screen and (min-width: 431px) and (max-width: 820px) {
    .apt-line-colored {
        flex-wrap: wrap;
        overflow-x: auto;
        gap: 0.6rem;
		margin: 0 15px 0px 0;
    }

    .apt-line-colored .apt-item {
        flex: 0 0 140px; /* stała szerokość */
        max-width: 140px;
    }
}




/* USUŃ PUNKTORY I COFNIJ LISTĘ DO LEWEJ */
.apt-icons {
    list-style: none;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
}

/* UŁÓŻ IKONĘ + TEKST W JEDNEJ LINII */
.apt-icons li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

/* PRZYWRÓĆ KOLOR IKON */
.apt-icons li i {
    color: inherit; /* pozwala na kolor inline */
    font-size: 1.1rem;
    min-width: 20px; /* zapobiega skakaniu tekstu */
}

/* =========================
   SEKCJE
========================= */

.section {
    padding: 1.0rem 1rem;
}

.section-colored {
    background: #eef5f8;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.subsection {
    margin-bottom: 2rem;
}

.subsection-colored {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.subsection h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-soft);
}

@media screen and (min-width: 1024px) { 
.section {
    padding: 1rem 1rem;
}

.subsection {
    margin-bottom: 0.5rem;
}

.subsection-colored {
    padding: 0.75rem;
}

/* tu wklejasz style tylko dla desktopa */ 

}


#atrakcje  h2[data-i18n="attractions_title"] {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
	text-align: left; 
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    #atrakcje h2[data-i18n="attractions_title"] {
        font-size: 2.0rem;
    }
}

#nearby_attractions  h2[data-i18n="nearby_attractions_title"] {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
	text-align: left; 
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    #nearby_attractions h2[data-i18n="nearby_attractions_title"] {
        font-size: 2.0rem;
    }
}

/* =========================
   GALERIA
========================= */
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.gallery-item-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3; /* wszystkie miniatury będą miały te same proporcje */
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* przycina zdjęcie, ale zachowuje proporcje */
    display: block;
}


.gallery-item {
    cursor: pointer;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--color-primary);
}

.gallery-caption {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.3rem;

}

.small-gallery .gallery-item-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
}

.small-gallery .modal-image-wrapper {
    width: 100%;
    height: 100%;
}

.small-gallery .gallery-item-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
}


/* RESPONSYWNA GALERIA */

@media (max-width: 768px) {
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .gallery-thumbs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* =========================
   MODAL (GLASS, ZOOM, STRZAŁKI NA ZDJĘCIU)
========================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
     background: rgba(255, 255, 255, 0.95); /* jasne okno */
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(14px);
    padding: 1.5rem;
	
}

.modal.open {
    display: flex;
}

.modal-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.95); /* jasne okno */
    border-radius: 1rem;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
    animation: modalZoomIn 0.35s ease;
}

.modal-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* OBRAZEK W MODALU */
.modal-content {
    max-width: 90vw;
    max-height: 65vh;
    border-radius: 0.9rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 12px 30px rgba(210, 215, 225, 0.85);
    position: relative;
    z-index: 10;
}

/* PRZYCISKI NAD OBRAZEM */
.modal-close,
.modal-prev,
.modal-next {
    position: absolute;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    user-select: none;
    z-index: 30; /* ważne */
}

.modal-close {
    top: 10px;
    right: 40px;
	color: #fff; 
}

.modal-prev,
.modal-next {
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

.modal-caption {
    margin-top: 0.0rem;
    color: #111;
     font-size: 1.2rem;   /*czcionka w modalu galerii*/
	 font-weight: 600;
    text-align: center;
	
}

/* PRZYCISKI W MODALU */

.modal-buttons {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.75rem;
}

.modal-buttons .btn {
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.modal-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.modal-booking {
    background: var(--color-booking);
    color: #fff;
}

.modal-airbnb {
    background: var(--color-accent);
    color: #fff;
}

/* ANIMACJA MODALA */

@keyframes modalZoomIn {
    from {
        transform: scale(0.96) translateY(8px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* MOBILE FIX – STRZAŁKI NA ZDJĘCIU */

@media (max-width: 768px) {

    .modal {
        align-items: flex-start;
        padding: 1rem;
    }

    .modal-inner {
        width: 100%;
        max-height: 100vh;
        padding: 0.75rem 1rem 1.25rem;
        overflow-y: auto;
    }

    .modal-content {
        max-height: 45vh;
        width: 100%;
        object-fit: cover;
    }

    .modal-prev,
    .modal-next {
        top: 40%;
        transform: translateY(-50%);
        font-size: 2.1rem;
        z-index: 2100;
    }

    .modal-buttons {
        flex-direction: column;
        width: 100%;
    }

    .modal-buttons .btn {
        width: 100%;
        justify-content: center;
        font-size: 1.05rem;
    }
}

/* =========================
   KONTAKT
========================= */

.contact-buttons {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
}

.contact-btn {
    background: var(--color-primary);
    color: #fff;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
}
.contact-btn,
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;

  /* Premium efekt */
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.contact-btn:hover,
.whatsapp-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 14px rgba(0,0,0,0.18);
}


.map-wrapper {
    margin-top: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
    width: 100%;
    height: 260px;
    border: 0;
}
/* Kontener porównania */
.icon-compare {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
}

.icon-column {
    flex: 1;
}

/* Wspólne */
.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-size: 1rem;
    color: #000;
}

/* Hairline – ultra cienkie */
.info-item.hairline i {
    font-size: 1.25rem;
    opacity: 0.7;
    font-weight: 100;
}

/* Geometryczne – Airbnb style */
.info-item.geo i {
    font-size: 1.3rem;
    opacity: 0.85;
    font-weight: 600;
}

/* DESKTOP – jedna linia */
.contact-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* MOBILE – numer ZAWSZE niżej */
@media (max-width: 480px) {
    .contact-line {
        display: block;
        white-space: normal;
    }

    .contact-line .phone-number {
        display: block;      /* wymusza nową linię */
        margin-top: 4px;     /* ładny odstęp */
        white-space: nowrap; /* numer w jednej linii */
    }
}


.nearby-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.nearby-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.round-apartments-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 22px auto 0;
    padding: 10px 20px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.round-apartments-btn:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

.round-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.15);
    transition: background 0.25s ease;
}

.round-apartments-btn:hover .round-icon {
    background: rgba(255,255,255,0.28);
}

.round-text {
    white-space: nowrap;
}
.mini-gold-route-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid #ccc;
  border-radius: 12px;
  background-color: #f9f9f9;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.mini-gold-route-btn:hover {
  background-color: #eaeaea;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.mini-gold-icon {
  font-size: 20px;
}

/*******************
route 
*******************/
.route {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;

  /* PREMIUM METALLIC STYLE */
  background: linear-gradient(135deg, #f2f2f2, #d9d9d9);
  border: 1px solid #c7c7c7;
  border-radius: 999px;

  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.route:hover {
  background: linear-gradient(135deg, #ffffff, #e3e3e3);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.18);
}

.route-icon {
  width: 20px;
  height: 20px;
  display: block !important;
  opacity: 0.9;
}

.route-text {
  color: #000 !important;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}

.cookie-settings-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;

  width: 46px;
  height: 46px;
  border-radius: 50%;

  background: linear-gradient(135deg, #e6e6e6, #cfcfcf);
  border: 1px solid #b8b8b8;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);

  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  z-index: 9999;
  padding: 0;
}

.cookie-settings-btn:hover {
  background: linear-gradient(135deg, #f0f0f0, #d9d9d9);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  
}

.cookie-icon { width: 80%; height: 80%; display: block; }
@media (max-width: 768px) {
  .cookie-settings-btn {
    left: auto;
    right: 20px;
	
  }
}


.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;

  opacity: 0;
  transition: opacity 0.35s ease;
}

.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.cookie-modal-window {
   background: rgba(240,240,240,0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 16px;
  padding: 26px;
  width: 90%;
  max-width: 420px;

  border: 1px solid rgba(180,180,180,0.45);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);

  transform: translateY(40px);
  opacity: 0;
  animation: modalOpen 0.35s ease forwards;
}

@keyframes modalOpen {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-modal-window.closing {
  animation: modalClose 0.35s ease forwards;
}

@keyframes modalClose {
  to {
    transform: translateY(40px);
    opacity: 0;
  }
}

.cookie-modal-window h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
  color: #222;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 15px;
  color: #333;
  background: rgba(255,255,255,0.45); /* jasne szkło, ale wyraźniejsze */
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(180,180,180,0.35);
  color: #222; /* ciemniejszy tekst */

}

.cookie-option input {
  accent-color: #333; /* ciemniejszy szary */
}

.save-btn {
  flex: 1;
  background: linear-gradient(135deg, #e6e6e6, #cfcfcf);
  color: #000;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #b8b8b8;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.save-btn:hover {
  background: linear-gradient(135deg, #f0f0f0, #d9d9d9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.close-btn {
  flex: 1;
  background: rgba(255,255,255,0.25);
  color: #222;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(180,180,180,0.35);
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.close-btn:hover {
  background: rgba(255,255,255,0.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.review-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f7f7f7;
  padding: 10px 20px;
  min-width: 120px;
  border-radius: 20px; /* <-- mocne zaokrąglenie jak Booking */
  border: 1px solid #dcdcdc;
  text-decoration: none;
  transition: all 0.25s ease;
}

.review-btn:hover {
  background: linear-gradient(135deg, #ffffff, #e3e3e3);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.18);
}

.review-btn-icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: #ffb400;
  opacity: 0.9;
}

.review-btn-text {
  color: #000;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.download-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-icon {
  font-size: 1.2em;
  line-height: 1;
}

.file-badge {
  background: #e5e5e5;        /* jasna szarość */
  color: #555;                /* ciemniejszy tekst */
  padding: 2px 8px;           /* kapsułkowy kształt */
  border-radius: 12px;        /* zaokrąglenie */
  font-size: 0.75em;          /* delikatnie mniejsze */
  font-weight: 600;
  line-height: 1;
  user-select: none;          /* nieklikalne, nie zaznacza się */
}


/* Desktop – slider wyższy, zdjęcia wyglądają naturalnie */
@media (min-width: 1024px) {
    .hero {
        height: 80vh;
        min-height: 550px;
    }
}


/* ====== DESKTOP (domyślnie) ====== */
/* Desktop – normalny wygląd */
.apt-icons li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

/* Ikona */
.apt-icons li i {
    margin-top: 0.2rem;
}

/* MOBILE – opis w nowej linii */
@media (max-width: 768px) {
    .apt-icons li {
        display: block; /* klucz: łamie linię po <strong> */
        margin-bottom: 1rem;
    }

    .apt-icons li strong {
        display: inline-block;
        margin-bottom: 0.3rem;
    }
}


.review-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-hint {
    background: linear-gradient(90deg, #fef9e7, #fff);
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    color: #444;
}


.review-center .review-btn {
    display: inline-block;
    margin-top: 0.5rem;
}
