/* --- 1. IMPORTY, ZMIENNE I RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800;900&display=swap');

:root {
    --color-red: #E31E24;
    --color-yellow: #FFD200;
    --color-blue: #009FE3;
    --color-dark: #222;
    --color-light-blue: #eef9ff; /* Nowy, bardzo jasny błękit do tła */
    --color-gray: #f4f4f4;
    --color-white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}


.mobile {
    display: none !important;
}

@media (max-width: 767px) {
    .mobile {
        display: block !important;
    }
}


/* Typografia */
h1, h2, h3, h4 { font-weight: 900; text-transform: uppercase; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 5px;
    background: var(--color-yellow);
    border-radius: 5px;
}
.section-title span { color: var(--color-blue); }

/* --- 2. HEADER --- */
header {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px;
    background: white; z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1400px; margin: 0 auto; padding: 0 20px;
    height: 100%; display: flex; justify-content: space-between; align-items: center; position: relative;
}

.nav-left, .nav-right { flex: 1; display: flex; align-items: center; }
.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; gap: 20px; }

.nav-left ul { display: flex; gap: 30px; }
.nav-left a {
    color: var(--color-dark); font-weight: 700; font-size: 0.9rem; position: relative; padding: 10px 0;
}
.nav-left a:hover { color: var(--color-blue); }
.nav-left a.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--color-yellow);
}

.logo-center {
    position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    width: 170px; height: 130px; background: white;
    border-bottom-left-radius: 100px; border-bottom-right-radius: 100px;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); z-index: 1001; padding-top: 10px;
}
.logo-center img { width: 130px; height: auto; object-fit: contain; }

.social-icon { font-size: 1.4rem; color: var(--color-blue); }
.social-icon:hover { color: var(--color-red); transform: scale(1.1); }

.btn-contact {
    background: var(--color-blue); color: white; padding: 12px 25px;
    border-radius: 5px; font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.btn-contact:hover { background: #0081b8; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 159, 227, 0.3); }

/* --- 3. HERO --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/slider.png');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
    padding-top: 90px; padding-bottom: 50px;
}

.hero-content h1 {
    font-size: 3.5rem; margin-bottom: 25px; line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}
.hero-content h1 .accent { color: var(--color-yellow); }
.hero-content p {
    font-size: 1.3rem; font-weight: 500; max-width: 800px; margin: 0 auto 35px;
    opacity: 0.95; text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.btn-hero {
    display: inline-block; background-color: var(--color-yellow); color: var(--color-dark);
    padding: 15px 40px; border-radius: 50px; font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(255, 210, 0, 0.4);
}
.btn-hero:hover { background-color: #ffd900; transform: translateY(-3px); }

/* --- 4. PASEK KORZYŚCI --- */
.benefits-bar {
    background: var(--color-blue); padding: 50px 0; color: white;
    position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 5;
}
.benefits-grid {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; align-items: center;
}
.benefit-item { text-align: center; flex: 1; min-width: 200px; }
.benefit-item i {
    font-size: 2.5rem; color: var(--color-yellow); margin-bottom: 15px; transition: transform 0.3s;
}
.benefit-item:hover i { transform: scale(1.2) rotate(10deg); }
.benefit-item h3 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.benefit-item p { font-size: 0.9rem; font-weight: 400; opacity: 0.9; }

/* --- 5. OFERTA (ZAKŁADKI) - TŁO BIAŁE --- */
.offer-section {
    padding: 100px 0;
    background-color: var(--color-white); /* Czysta biel */
}

.tabs-nav {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap;
}
.tab-btn {
    padding: 12px 30px; background: white; border: 2px solid #eee;
    border-radius: 50px; cursor: pointer; font-weight: 700; font-size: 0.95rem;
    color: var(--color-dark); transition: 0.3s; font-family: 'Montserrat', sans-serif;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
.tab-btn:hover { border-color: var(--color-blue); color: var(--color-blue); }
.tab-btn.active {
    background: var(--color-blue); color: white; border-color: var(--color-blue);
    box-shadow: 0 5px 15px rgba(0, 159, 227, 0.3);
}

.tabs-content {
    background: white; border-radius: 20px; box-shadow: var(--shadow);
    padding: 50px; min-height: 300px;
    border: 1px solid #eee;
}

.tab-pane { display: none; align-items: center; gap: 50px; animation: fadeIn 0.5s ease; }
.tab-pane.active { display: flex; }

.pane-icon-area { flex: 1; text-align: center; border-right: 1px solid #eee; }
.pane-icon-area i { font-size: 8rem; color: var(--color-blue); filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1)); }

.pane-text-area { flex: 1.5; }
.pane-text-area h3 { font-size: 2rem; margin-bottom: 20px; color: var(--color-dark); }
.pane-text-area p { font-size: 1.1rem; color: #555; margin-bottom: 25px; }
.pane-features li { margin-bottom: 10px; padding-left: 25px; position: relative; font-weight: 600; }
.pane-features li::before { content: '✔'; position: absolute; left: 0; color: var(--color-yellow); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- 6. PROCES (JAK DZIAŁAMY) - TŁO JASNO-BŁĘKITNE --- */
.process {
    padding: 100px 0;
    background-color: var(--color-light-blue); /* Delikatny kolor, żeby wyróżnić sekcję */
    text-align: center;
}

.process-steps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-top: 60px; }
.step {
    flex: 1; min-width: 220px; position: relative;
    background: white; padding: 30px 20px; border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.step:hover { transform: translateY(-5px); }

.step-icon-circle {
    width: 70px; height: 70px; line-height: 70px;
    background: var(--color-blue); color: white;
    border-radius: 50%; font-size: 1.8rem;
    margin: 0 auto 20px; box-shadow: 0 5px 15px rgba(0, 159, 227, 0.4);
}
.step h4 { margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: #666; }

/* --- 7. CENNIK - TŁO JASNO SZARE --- */
.pricing {
    padding: 100px 0;
    background-color: var(--color-gray);
}

.pricing-flex-container {
    display: flex; justify-content: center; align-items: flex-start; gap: 40px; flex-wrap: wrap;
}

.pricing-card {
    flex: 1; min-width: 350px; max-width: 550px;
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-5px); }

.pricing-header { padding: 30px; text-align: center; color: white; }
.pricing-header.blue { background: var(--color-blue); }
.pricing-header.red { background: var(--color-red); }
.pricing-header h3 { font-size: 1.5rem; margin: 0; }
.pricing-header i { font-size: 2.5rem; margin-bottom: 10px; display: block; }

.pricing-list { padding: 20px 30px; }
.pricing-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; border-bottom: 1px dashed #eee;
}
.pricing-item:last-child { border-bottom: none; }
.item-name { font-weight: 600; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.item-name i { color: #ccc; font-size: 0.9rem; width: 20px; text-align: center; }
.item-price { font-weight: 800; font-size: 0.9rem; padding: 5px 12px; border-radius: 15px; white-space: nowrap; }
.pricing-card .blue-tag { background: rgba(0, 159, 227, 0.1); color: var(--color-blue); }
.pricing-card .red-tag { background: rgba(227, 30, 36, 0.1); color: var(--color-red); }

/* --- 8. GALERIA (MASONRY) - NOWOŚĆ --- */
.gallery {
    padding: 100px 0;
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 15px;
}

/* Każde zdjęcie */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Zdjęcie wewnątrz */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Nakładka z lupką */
.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 159, 227, 0.6);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s;
}
.overlay i { color: white; font-size: 2rem; }
.gallery-item:hover .overlay { opacity: 1; }

/* Klasy dla efektu Masonry ("z innej parafii") */
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
    .gallery-item { height: 300px; }
}

/* LIGHTBOX (Okno powiększania) */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none; /* Domyślnie ukryte */
    justify-content: center; align-items: center;
    padding: 20px;
}
.lightbox img {
    max-width: 90%; max-height: 90vh;
    border: 5px solid white; border-radius: 5px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute; top: 30px; right: 40px;
    color: white; font-size: 3rem; cursor: pointer;
    transition: 0.3s;
}
.lightbox-close:hover { color: var(--color-red); transform: scale(1.1); }


/* --- 9. OPINIE - CIEMNE TŁO --- */
.reviews {
    padding: 100px 0;
    background-color: #222; /* Ciemny solidny kolor zamiast zdjęcia */
    color: white;
}
.reviews .section-title { color: white; }
.review-card {
    background: rgba(255, 255, 255, 0.1); /* Delikatnie jasne na ciemnym tle */
    padding: 40px 30px; border-radius: 15px; text-align: center;
    margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.1); color: white;
}
.review-card p i { color: #ddd; }
.review-card h4 { color: var(--color-yellow); margin-top: 15px; }

/* --- 10. STOPKA --- */
footer {
    background: #111; /* Jeszcze ciemniejszy niż opinie */
    color: white; padding: 50px 0; text-align: center;
}
.footer-text { opacity: 0.7; margin-top: 20px; font-size: 0.9rem; }

/* --- RESPONSYWNOŚĆ --- */
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--color-dark); z-index: 1002; }
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 85%; height: 100vh;
    background: white; box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: 0.4s; z-index: 999; gap: 25px;
}
.mobile-menu.active { right: 0; }
.mobile-menu a { font-size: 1.2rem; font-weight: 800; color: var(--color-dark); }

@media (max-width: 1024px) {
    .nav-left, .nav-right { display: none; }
    .menu-toggle { display: block; }
    .header-container { justify-content: space-between; }
    
    .logo-center {
        position: static; transform: none; width: auto; height: auto;
        background: transparent; box-shadow: none; padding: 0;
    }
    .logo-center img { max-height: 50px; width: auto; }

    .benefits-grid { flex-direction: column; gap: 40px; }
    .benefit-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 20px; }
    .benefit-item:last-child { border-bottom: none; }

    .hero-content h1 { font-size: 2rem; }
    
    /* Tabs Mobile */
    .tabs-nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; }
    .tab-btn { flex: 0 0 auto; }
    .tab-pane { flex-direction: column; text-align: center; gap: 30px; }
    .pane-icon-area { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 20px; }
    
    /* Cennik Mobile */
    .pricing-card { min-width: 100%; }
}