:root {
    --primary-color: #f4b400;
    --dark-bg: #1a1a1a;
    --light-bg: #f4f4f4;
    --text-color: #333;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ==============================================================
   NAWIGACJA (MENU) - DESKTOP
   ============================================================== */
.menu {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between; /* Rozsuwa logo i linki na boki */
    align-items: center;
    padding: 10px 0;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.menu-header {
    display: flex;
    align-items: center;
}

.logo-link {
    padding-left: 50px;
}

.logo-strony {
    height: 50px;
    transition: transform 0.3s;
}

.logo-strony:hover {
    transform: scale(1.05);
}

.menu-links {
    display: flex;
    padding-right: 50px;
}

.menu a {
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 20px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.menu a:hover {
    color: var(--primary-color);
}

/* Ukrywamy elementy mobilne na komputerze */
.header-right-actions {
    display: none;
}
.menu .icon {
    display: none;
}

/* ==============================================================
   PARALAKSA (TŁA)
   ============================================================== */
.pimg1, .pimg2, .pimg3, .pimg4, .pimg6 {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.pimg1 { background-image: url('../img/5.webp'); }
.pimg2 { background-image: url('../img/3.webp'); min-height: 60vh; }
.pimg3 { background-image: url('../img/4.webp'); min-height: 60vh; }
.pimg4 { background-image: url('../img/1.webp'); min-height: 60vh; }
.pimg6 { background-image: url('../img/6.webp'); min-height: 60vh; }

.ptext {
    text-align: center;
    color: #fff;
    width: 100%;
    padding: 0 15px;
}

.border {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 18px 35px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    white-space: normal;
    display: inline-block;
}

.border a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}
.border a:hover {
    color: var(--primary-color);
}

/* ==============================================================
   SEKCJE TREŚCI I CENNIK
   ============================================================== */
.section {
    padding: 80px 10%;
    text-align: center;
}

.section-light {
    background: var(--light-bg);
    color: var(--text-color);
}

.section-dark {
    background: var(--dark-bg);
    color: var(--white);
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.price-list-container {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.service-list {
    list-style: none;
    margin: 30px 0;
}

.service-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.service-description {
    font-weight: 400;
    margin-right: 15px;
}

.service-price {
    font-weight: 700;
    color: var(--primary-color);
}

.additional-info {
    text-align: left;
    margin-top: 20px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* ==============================================================
   FORMULARZ
   ============================================================== */
.booking-form-section {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 0.95rem; }
.form-group input, .form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

button[type="submit"] {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 18px 20px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    transition: background 0.3s, transform 0.1s;
    font-size: 1rem;
}

button[type="submit"]:hover { background: #d4a000; }
button[type="submit"]:active { transform: scale(0.98); }

#calendar-instruction-message-red { color: #ff4444; font-weight: bold; margin-bottom: 15px; }
.calendar-instruction-message { margin-bottom: 20px; }

/* ==============================================================
   OPINIE
   ============================================================== */
.reviews-section-wrapper { max-width: 1000px; margin: 0 auto; text-align: center; padding: 20px 0; }
.reviews-title { color: #fff; margin-bottom: 40px; }
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
}
.review-card {
    background: #fff; padding: 25px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    text-align: left; color: #333; display: flex; flex-direction: column;
}
.review-stars { color: #ffc700; font-size: 1.2rem; margin-bottom: 10px; }
.review-text { font-style: italic; color: #555; line-height: 1.6; flex-grow: 1; }
.review-author { margin-top: 15px; font-weight: bold; color: #333; border-top: 1px solid #eee; padding-top: 10px; }
.no-reviews { color: white; }

/* ==============================================================
   BLOG NA GŁÓWNEJ
   ============================================================== */
.blog-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.blog-card-home {
    background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; text-align: left;
}
.blog-card-home:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.15); }
.blog-img-wrapper { position: relative; width: 100%; height: 200px; overflow: hidden; }
.blog-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card-home:hover .blog-img-wrapper img { transform: scale(1.05); }
.blog-badge {
    position: absolute; top: 15px; left: 15px; background: var(--primary-color); color: #000;
    font-size: 0.75rem; font-weight: 800; padding: 5px 12px; border-radius: 20px; text-transform: uppercase;
}
.blog-card-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-date { font-size: 0.85rem; color: #555; margin-bottom: 10px; }
.blog-card-content h3 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card-content h3 a { color: #222; text-decoration: none; transition: color 0.2s; }
.blog-card-content h3 a:hover { color: var(--primary-color); }
.blog-card-content p { font-size: 0.95rem; color: #555; margin-bottom: 20px; flex-grow: 1; }
.btn-read-more { font-weight: bold; color: #0056b3; text-decoration: none; font-size: 0.95rem; align-self: flex-start; transition: color 0.2s; }
.btn-read-more:hover { color: #0056b3; text-decoration: underline; }

/* --- STOPKA I ANIMACJE --- */
footer { background: #000; color: #777; text-align: center; padding: 30px 15px; font-size: 0.85rem; }
.blinking-text { animation: blink 1.5s infinite; color: var(--primary-color); font-weight: 700; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
.green-pulse { animation: greenPulse 2s infinite; }
@keyframes greenPulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ==============================================================
   RESPONSYWNOŚĆ (SMARTFONY I TABLETY) - POŁĄCZONA SEKCJA
   ============================================================== */
@media (max-width: 768px) {
    
    /* Główne Menu */
    .menu {
        flex-direction: column;
        padding: 0;
    }

    .menu-header {
        width: 100%;
        padding: 12px 20px;
        background: #111;
        justify-content: space-between;
    }

    .logo-link { padding-left: 0; margin: 0; }
    .logo-strony { max-height: 40px; }

    /* Prawy panel z przyciskiem "Umów się" i hamburgerem */
    .header-right-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .mobile-book-btn {
        background: var(--primary-color);
        color: #000;
        text-decoration: none;
        padding: 6px 14px;
        border-radius: 6px;
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
        white-space: nowrap;
    }

    .menu .icon {
        display: block; 
        color: white;
        font-size: 28px;
        text-decoration: none;
        cursor: pointer;
        padding: 5px;
    }

    /* Ukrywane linki w menu (rozwijane) */
    .menu-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #1a1a1a;
        box-shadow: 0 10px 10px rgba(0,0,0,0.5);
    }
    
    .menu.responsive .menu-links { display: flex; }
    
    .menu-links a {
        display: block;
        text-align: center;
        padding: 18px 15px;
        border-top: 1px solid #333;
        margin: 0;
        width: 100%;
        font-size: 1rem;
    }

    /* Wyłączenie paralaksy dla płynności */
    .pimg1, .pimg2, .pimg3, .pimg4, .pimg6 {
        background-attachment: scroll;
        min-height: 50vh; 
    }
    .ptext { padding: 0 10px; }
    .border { font-size: 1.2rem; padding: 12px 20px; letter-spacing: 2px; width: 90%; }
    
    /* Sekcje */
    .section-light { padding: 20px 15px !important; }
    .section-light h2 { font-size: 1.3rem; margin-bottom: 10px; }
    .section-light p { font-size: 1rem; line-height: 1.4; }
    .section h2 { font-size: 1.6rem; margin-bottom: 20px; }

    /* Elementy Cennika i Formularz */
    .booking-form-section, .price-list-container { padding: 25px 15px; }
    .service-item { flex-direction: column; align-items: flex-start; padding: 12px 0; }
    .service-description { margin-bottom: 8px; font-size: 1rem; }
    .service-price {
        align-self: flex-start;
        font-size: 1.1rem;
        background: rgba(244, 180, 0, 0.1);
        padding: 3px 8px;
        border-radius: 4px;
    }
    .additional-info { font-size: 1rem; }
}