*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #fffafa; 
}


/* ==========================================================================
   SEKCJA Z EFEKTEM PARALAKSY (Odkrywanie stałego tła)
   ========================================================================== */

#foot-box-full1 {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Stałe tło z efektem paralaksy */
    
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

/* Przyciemniająca nakładka */
#foot-box-full1 .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 26, 23, 0.55); /* 55% przyciemnienia */
    z-index: 2;
    pointer-events: none;
}

/* Wnętrze sekcji nad nakładką */
#foot-box-full1 footer {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 80px 0;
    color: #ffffff;
}

#foot-box-full1 h2, 
#foot-box-full1 h3 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 38px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

#foot-box-full1 p {
    font-family: 'Montserrat', sans-serif;
    color: #f4f0ec;
    font-size: 16px;
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* ==========================================================================
   STYLIZACJA TREŚCI PODSTRON (.content) – BUTIKOWY STANDARD HOTELOWY
   ========================================================================== */

.content {
    max-width: 1300px !important;
    margin: 40px auto !important;
    padding: 0 25px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    color: #444444;
    line-height: 1.8 !important;
}

/* Nagłówki wewnątrz podstron (Playfair Display dla luksusowego sznytu) */

.content h1 { font-size: clamp(32px, 4vw, 42px) !important; }
.content h2 { font-size: clamp(26px, 3vw, 34px) !important; }
.content h3 { font-size: clamp(20px, 2.5vw, 24px) !important; }

/* Akapity z odpowiednim odstępem i czytelnością */
.content p {
    margin: 0 0 20px 0 !important;
}

/* Pogrubienia z akcentem luksusowego koloru lub mocnego grafitu */
.content strong, 
.content b {
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

/* Listy i wypunktowania (np. zaliczki, zasady w regulaminie) */
.content ul, 
.content ol {
    margin: 20px 0 !important;
    padding-left: 20px !important;
}

.content li {
    margin-bottom: 10px !important;
    line-height: 1.7 !important;
}

/* Linki w tekście podstron */
.content a {
    color: #c79a4b !important; /* Złoty akcent butikowy */
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.content a:hover {
    color: #1a1a1a !important;
}

/* Tabele wewnątrz podstron (jeśli występują np. w cennikach) */
.content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 30px 0 !important;
}

.content table th, 
.content table td {
    padding: 14px 18px !important;
    border-bottom: 1px solid rgba(223, 197, 133, 0.2) !important;
    text-align: left !important;
}

.content table th {
    font-family: 'Playfair Display', serif !important;
    background-color: #faf9f7 !important;
    color: #1a1a1a !important;
    font-size: 16px !important;
}

/* Wyróżnione boxy / cytaty w treści (.content) */
.content blockquote {
    background: #faf9f7 !important;
    border-left: 4px solid #dfc585 !important;
    margin: 30px 0 !important;
    padding: 25px 30px !important;
    border-radius: 0 12px 12px 0 !important;
    font-style: italic !important;
    color: #333333 !important;
}

/* --- RWD DLA PODSTRON --- */
@media (max-width: 768px) {
    .content {
        padding: 0 15px !important;
        margin: 25px auto !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   STYLIZACJA KOMUNIKATÓW SYSTEMOWYCH / BŁĘDU 404
   ========================================================================== */

.msg.error, 
.msg.done,
.content .msg {
    max-width: 700px;
    margin: 80px auto;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(223, 197, 133, 0.3);
}

.msg.error h1, 
.msg.error h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(28px, 4vw, 38px) !important;
    color: #1a1a1a !important;
    margin-bottom: 15px !important;
}

.msg.error p {
    font-family: 'Montserrat', sans-serif !important;
    color: #666666 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* ==========================================================================
   NAPRAWA POZYCJONOWANIA LIGHTBOX2 (Wyśietlanie na środku ekranu)
   ========================================================================== */

/* Wymuszenie stałej pozycji kontenera lightboxa względem okna przeglądarki */
#lightbox {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

/* Zabezpieczenie dla warstwy tła (overlay), aby pokrywała cały ekran bez uciekania */
#lightboxOverlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* ==========================================================================
   NAPRAWA POZYCJONOWANIA KALENDARZA jQuery UI
   ========================================================================== */

#ui-datepicker-div {
    z-index: 999999 !important; /* Sprawia, że kalendarz jest zawsze na wierzchu */
    background: #ffffff !important;
    border: 1px solid rgba(223, 197, 133, 0.5) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 15px !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Podstawowe dostosowanie wyglądu kalendarza do stylu butikowego */
#ui-datepicker-div .ui-datepicker-header {
    background: #1a1a1a !important;
    color: #dfc585 !important;
    border-radius: 8px !important;
    font-family: 'Playfair Display', serif !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
}

#ui-datepicker-div .ui-datepicker-title {
    color: #dfc585 !important;
    font-weight: 600 !important;
}

#ui-datepicker-div .ui-state-default {
    background: #faf9f7 !important;
    border: 1px solid #f0ede6 !important;
    text-align: center !important;
    padding: 6px !important;
    color: #1a1a1a !important;
    border-radius: 4px !important;
}

#ui-datepicker-div .ui-state-active, 
#ui-datepicker-div .ui-state-hover {
    background: #dfc585 !important;
    color: #1a1a1a !important;
    border-color: #dfc585 !important;
}

.reservation .date-picker-box {
    position: relative !important;
}