*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-image: url('../img/tlo.png');
    background-size: auto;
    background-repeat: repeat;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.header {
    text-align: center;
    padding: 20px;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    background-color: rgba(255, 255, 255, 0);
}

.header a {
    text-decoration: none;
    color: inherit;
}

.header .brand {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    letter-spacing: 3px;
    color: #3c2f2f;
    margin: 0;
}

.header .subbrand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 4px;
    color: #6d5c51;
    margin-top: -5px;
}

.header p {
    margin-top: 5px;
    font-size: 0.8rem;
    font-style: italic;
    color: #6d5c51;
    letter-spacing: 1px;
}

/* --- Nawigacja --- */
.nav {
    text-align: center;
    padding: 10px 0;
    background-color: rgba(240, 240, 240, 0.95);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav a {
    margin: 0 15px;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav a:hover {
    background-color: #d8b697;
}

/* --- Główna treść --- */
.content {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    position: relative;
}

/* Modyfikator dla strony cennika */
.content--transparent {
    background-color: transparent;
    padding: 0;
}

/* --- Główny kontener treści --- */
.content-box {
    width: 100%;
    max-width: 700px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e0dcd8;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    color: #3c2f2f;
}

.content-box h1 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    letter-spacing: 2px;
    font-size: 26px;
    margin-bottom: 20px;
    position: relative;
}

.content-box h1::before,
.content-box h1::after {
    content: "✦";
    position: absolute;
    font-size: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a6f5c;
}

.content-box h1::before { left: -25px; }
.content-box h1::after { right: -25px; }

.btn-booksy {
    display: inline-block;
    background-color: #d8b697;
    color: #3c2f2f;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-booksy:hover {
    background-color: #8a6f5c;
    color: white;
}

.item {
    border-top: 1px solid #e4dfda;
    padding: 16px 0;
}

.item:first-of-type {
    border-top: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    flex-wrap: wrap;
}

.item-header span:last-child {
    white-space: nowrap;
    font-weight: 500;
}

.content-box .item h3 {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.desc {
    margin-top: 6px;
    font-size: 13px;
    color: #6d5c51;
    line-height: 1.4em;
}

.massage-title {
    margin-left: 50px;
}

.brand {
    text-align: center;
    margin-top: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    letter-spacing: 2px;
}

.subbrand {
    text-align: center;
    font-size: 14px;
    color: #6d5c51;
    letter-spacing: 3px;
    margin-top: 4px;
}

/* --- Układ strony głównej (logo + tekst) --- */
.content-box--home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.logo-container {
    flex-shrink: 0;
}
.logo-container img {
    width: 300px;
    max-width: 100%; /* Zabezpieczenie przed wychodzeniem z kontenera */
    height: auto;
    border-radius: 80px;
}
.home-text {
    text-align: center;
}
.home-text h1 {
    margin-top: 0;
}
.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    color: #3c2f2f;
    margin-top: 20px;
    text-align: right;
}
/* --- Hamburger (domyślnie ukryty) --- */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 15px;
    /* Pozycjonowanie jest teraz zdefiniowane wyłącznie w media query dla mobile */
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    margin-bottom: 5px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


@media (max-width: 1024px) {
    .header {
        font-size: 1.5rem;
        padding: 15px;
        position: relative; /* Przywróć pozycję względną */
    }

    .hamburger {
        display: block; /* Pokaż hamburger na mobilnych */
        position: fixed; /* Ustaw pozycję na stałą względem okna przeglądarki */
        top: 15px;
        right: 20px;
        z-index: 1001;
        background-color: rgba(240, 240, 240, 0.9); /* Jasnoszare tło */
        padding: 10px; /* Wewnętrzny odstęp */
        border-radius: 8px; /* Zaokrąglone rogi */
    }
    .nav {
        position: fixed; /* Menu jako nakładka */
        top: 0;
        left: -100%; /* Ukryj menu poza ekranem */
        width: 80%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease-in-out;
        padding: 0;
    }

    .nav.nav-active {
        left: 0; /* Pokaż menu */
    }

    .nav a {
        display: block;
        margin: 20px 0;
        font-size: 1.5rem;
    }

    .content {
        margin: 10px;
        padding: 15px;
    }

    .content::before,
    .content::after {
        display: none;
    }

    /* --- content-box na mobilnych --- */
    .content-box {
        padding: 18px 15px;
    }
    .content-box h1 {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .content-box h1::before,
    .content-box h1::after {
        display: none; /* Ukryj gwiazdki na małych ekranach */
    }
    .item-header {
        font-size: 13px;
    }
    .massage-title {
        margin-left: 0;
    }
    .desc {
        font-size: 12px;
    }
    .brand {
        font-size: 18px;
    }
    .subbrand {
        font-size: 12px;
    }

    .content-box--home {
        gap: 15px;
    }

    .home-text h1 {
        font-size: clamp(1rem, 4.5vw, 1.3rem);
    }

    .logo-container img {
        width: 240px; /* Mniejszy rozmiar logo na mobilnych */
    }

    .content img {
        max-width: 100%;
        height: auto;
    }
}

/* --- Kontakt --- */
.contact-info {
    margin-top: 20px;
    text-align: center;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #3c2f2f;
}

.contact-info .fas {
    margin-right: 10px;
    color: #8a6f5c;
}
