/* ===================== STYLE SPECYFICZNE DLA PODSTRONY CHOROBA PEYRONIEGO ===================== */
/* ===================== HERO SECTION WITH BACKGROUND IMAGE ===================== */
.specialization-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    width: 100%;
    margin-top: -70px;
    padding-top: 70px;
}

.specialization-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../zdj/peyroni.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(0.8) saturate(0.8) contrast(0.95);
}

.specialization-hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 47, 97, 0.7) 0%, rgba(10, 51, 94, 0.8) 50%, rgba(8, 47, 97, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.specialization-hero .container {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
}

.specialization-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.1em;
}

/* Jasny równoległobok dla smaczku */
.specialization-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 100%);
    transform: skewX(-15deg);
    z-index: 2;
}

/* Responsywność */
@media (max-width: 768px) {
    .specialization-hero {
        height: auto;
        min-height: unset;
        padding: 140px 0 40px;
    }

    .specialization-hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

.specialization-hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tytuł strony */
.section-title h1 {
    font-family: 'Michroma', sans-serif;
    color: var(--primary);
    font-size: 2.8rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    line-height: 1.3;
    padding-bottom: 50px;
    display: inline-block;
}

.section-title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Główny kontener */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px; /* Zwiększony padding dla bezpieczeństwa */
}

/* Asymetryczne bloki treści - prosty layout jak w badaniu nasienia */
.asymmetric-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 80px 0;
    position: relative;
}

.asymmetric-section:nth-child(even) {
    flex-direction: row-reverse;
}




/* Obrazy po bokach */
.asymmetric-image {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative;
}

.asymmetric-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nakładka gradientowa na obrazach */
.asymmetric-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

/* Treść asymetryczna */
.asymmetric-content {
    flex: 1;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.95) 100%);
    border-radius: 15px;
    border: 1px solid rgba(8,47,97,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.asymmetric-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Efekty hover dla asymetrycznych sekcji */
.asymmetric-section:hover .asymmetric-content {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.asymmetric-section:hover .asymmetric-image {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.asymmetric-content .card__title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.asymmetric-content p,
.asymmetric-content li {
    color: var(--dark);
    line-height: 1.6;
}

.asymmetric-content ul {
    margin: 15px 0;
    padding-left: 0;
}

.asymmetric-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
    list-style: none;
}

.asymmetric-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

.asymmetric-content h2 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.asymmetric-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* Responsywność asymetrycznych sekcji */
@media (max-width: 768px) {
    .asymmetric-section {
        flex-direction: column;
        gap: 30px;
        margin: 50px 0;
    }

    .asymmetric-section:nth-child(even) {
        flex-direction: column;
    }

    .asymmetric-image {
        flex: none;
        width: 100%;
        max-width: 100%;
        height: 250px;
    }

    .asymmetric-content {
        padding: 25px 20px;
        min-height: auto;
    }

    .asymmetric-content .card__title {
        font-size: 1.5rem;
        text-align: center;
    }

    .content {
        padding: 0 15px;
    }

    .section-title h1 {
        font-size: 2.2rem;
        padding-bottom: 30px;
    }

    .content > p:first-of-type {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .asymmetric-section {
        gap: 20px;
        margin: 35px 0;
    }

    .asymmetric-image {
        height: 200px;
    }

    .asymmetric-content {
        padding: 20px 15px;
    }

    .asymmetric-content .card__title {
        font-size: 1.3rem;
    }

    .section-title h1 {
        font-size: 1.8rem;
    }
}

/* Sekcja z cenami */
.prices {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.95) 100%);
    padding: 30px;
    margin-top: 50px;
    border-radius: 15px;
    border: 1px solid rgba(8,47,97,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.prices h2 {
    color: var(--primary);
    font-family: 'Michroma', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.prices p {
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.6;
}

.prices strong {
    color: var(--primary);
}

/* Blok wprowadzający tekst - taki sam jak w badaniu nasienia */
.asymmetric-intro {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.asymmetric-intro .asymmetric-content {
    flex: 1;
    max-width: 900px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.95) 100%);
    border-radius: 15px;
    border: 1px solid rgba(8,47,97,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    align-items: flex-start;
}

.asymmetric-intro .asymmetric-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.asymmetric-intro .asymmetric-content p {
    color: var(--dark);
    line-height: 1.7;
    margin: 0;
    font-size: 1.1rem;
}

/* Obrazy w asymetrycznych sekcjach */
.asymmetric-image {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative;
}

.asymmetric-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

/* Specyficzne pozycjonowanie dla trzeciego zdjęcia - lewa część widoczna */
.asymmetric-section:nth-child(4) .asymmetric-image img {
    object-position: left center;
}

/* Nakładka gradientowa na obrazach */
.asymmetric-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8,47,97,0.1) 0%, rgba(10,51,94,0.2) 100%);
    z-index: 1;
}

/* Treść asymetryczna */
.asymmetric-content {
    flex: 1;
    position: relative;
}


/* ===================== ACCORDION DLA PYTAŃ ===================== */
.accordion-container {
    margin: 10px 0 30px 0;
}

.accordion-container h2 {
    color: var(--primary);
    font-family: 'Michroma', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.accordion-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.accordion-item {
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid rgba(8,47,97,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: rgba(8,47,97,0.2);
}

.accordion-header {
    background: linear-gradient(135deg, rgba(8,47,97,0.05) 0%, rgba(10,51,94,0.08) 100%);
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.accordion-header:hover {
    background: linear-gradient(135deg, rgba(8,47,97,0.08) 0%, rgba(10,51,94,0.12) 100%);
}

.accordion-header h2 {
    color: var(--primary);
    font-family: "Michroma", sans-serif;
    font-size: 1.5rem;
    margin: 0;
    position: relative;
    z-index: 2;
}

.accordion-header h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-header:hover h2::after {
    opacity: 1;
}

.accordion-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.accordion-icon::before {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon::before {
    content: "\f077";
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 30px;
    position: relative;
}

.accordion-body p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.accordion-body ul {
    margin: 20px 0;
    padding-left: 20px;
}

.accordion-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}
