/* Życie Kościoła Pages Specific Styles */

.zycie-kosciola-page {
    background: var(--primary-color);
}

/* Header Solid Background */
.header-solid {
    position: fixed;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-solid .nav-list a.active {
    color: rgb(255, 125, 0);
}

.header-solid .nav-list a.active::after {
    width: 100%;
    background: rgb(255, 125, 0);
}

/* Header overlaying hero (same as main page) */
.header-transparent {
    position: absolute;
    background: transparent;
    border-bottom: none;
}

.header-transparent .nav-list a.active {
    color: rgb(255, 125, 0);
}

.header-transparent .nav-list a.active::after {
    width: 100%;
    background: rgb(255, 125, 0);
}

/* O nas – Hero image at top (blurred bg + image, no slide – same as main page), menu overlays */
.onas-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--primary-color);
}

.onas-page .page-main {
    padding-top: 0;
}

.onas-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(50px) brightness(0.5);
    transform: scale(1.2);
    z-index: 0;
}

.onas-hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 200px;
    z-index: 1;
}

.onas-hero-image-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.onas-hero-image-container img {
    width: 1425px;
    max-width: 100%;
    height: auto;
    max-height: 745px;
    object-fit: cover;
    opacity: 1;
    display: block;
}

/* Main Page Layout */
.page-main {
    min-height: 100vh;
    padding-top: 82px;
    background: var(--primary-color);
}

/* Page Hero */
.page-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, rgba(255, 125, 0, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.page-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Content Section */
.page-content-section {
    padding: 5rem 0;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.onas-page .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
}

.onas-page .section-title.section-title-center {
    justify-content: center;
}

.section-reader-controls {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.section-reader-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 125, 0, 0.45);
    background: rgba(255, 125, 0, 0.12);
    color: rgb(255, 125, 0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.section-reader-btn:hover {
    background: rgba(255, 125, 0, 0.2);
    border-color: rgba(255, 125, 0, 0.75);
}

.section-title:first-child {
    margin-top: 0;
}

.section-title-center {
    text-align: center;
    margin-top: 0;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.onas-page .section-subtitle {
    text-align: center;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.o-nas-quote {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgb(255, 125, 0);
    text-align: center;
    margin: 2rem 0 3rem;
    font-style: italic;
}

.section-paragraph {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: rgba(30, 30, 30, 0.5);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(40, 40, 40, 0.7);
    border-color: rgba(255, 125, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 125, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 125, 0);
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.value-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Leaders Grid */
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.leader-card {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 125, 0, 0.3);
}

.leader-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.8);
}

.leader-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
    transform: scale(1.1);
}

.leader-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 30, 30, 0.8);
}
.leader-placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-gray);
    text-align: center;
    white-space: nowrap;
}
.leader-placeholder-info {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
    font-weight: 500;
}

.leader-info {
    padding: 2rem;
    text-align: center;
}

.leader-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.leader-role {
    font-size: 0.9rem;
    color: rgb(255, 125, 0);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.leader-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Events Timeline */
.events-timeline {
    margin-top: 3rem;
}

.event-item {
    background: rgba(30, 30, 30, 0.5);
    border-left: 3px solid rgb(255, 125, 0);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(40, 40, 40, 0.7);
    transform: translateX(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.event-date {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 125, 0, 0.1);
    color: rgb(255, 125, 0);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.event-date + .event-date {
    margin-left: 0.5rem;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.event-item .event-title ~ .event-title {
    margin-top: 2rem;
}

.event-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.event-location {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Ministries Grid */
.ministries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.ministry-card {
    background: rgba(30, 30, 30, 0.5);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.ministry-card:hover {
    background: rgba(40, 40, 40, 0.7);
    border-color: rgba(255, 125, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.ministry-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 125, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 125, 0);
    margin: 0 auto 2rem;
}

.ministry-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.ministry-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.ministry-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.ministry-features li {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.ministry-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgb(255, 125, 0);
    font-size: 1.5rem;
    line-height: 1;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 3rem auto 0;
    background: rgba(30, 30, 30, 0.5);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(255, 125, 0);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 125, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    width: 100%;
    padding: 1.25rem 2rem;
    background: rgb(255, 125, 0);
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.submit-button:hover {
    background: rgb(230, 110, 0);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 125, 0, 0.3);
}

/* Contact Info */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.contact-info-card {
    background: rgba(30, 30, 30, 0.5);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

a.contact-info-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-info-card:hover {
    background: rgba(40, 40, 40, 0.7);
    border-color: rgba(255, 125, 0, 0.3);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 125, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 125, 0);
    margin: 0 auto 1.5rem;
}

.contact-info-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.contact-info-text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-info-text a {
    color: rgb(255, 125, 0);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-text a:hover {
    color: rgb(230, 110, 0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .page-main {
        padding-top: 80px;
    }

    .page-hero {
        padding: 4rem 0 3rem;
    }

    .page-hero-content {
        padding: 0 2rem;
    }

    .page-hero-title {
        font-size: 3rem;
    }

    .page-hero-subtitle {
        font-size: 1.3rem;
    }

    .page-container {
        padding: 0 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-paragraph {
        font-size: 1.05rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .ministries-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .page-main {
        padding-top: 66px;
    }

    .page-hero {
        padding: 3rem 0 2rem;
    }

    .page-hero-content {
        padding: 0 1rem;
    }

    .page-hero-title {
        font-size: 2.2rem;
    }

    .page-hero-subtitle {
        font-size: 1.1rem;
    }

    .page-container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-paragraph {
        font-size: 1rem;
    }

    .value-card {
        padding: 2rem;
    }

    .value-icon {
        width: 60px;
        height: 60px;
    }

    .value-title {
        font-size: 1.3rem;
    }

    .leaders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leader-info {
        padding: 1.5rem;
    }

    .ministry-card {
        padding: 2rem;
    }

    .ministry-icon {
        width: 70px;
        height: 70px;
    }

    .ministry-title {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info-card {
        padding: 2rem;
    }
}

