/* css/pages/badanie-nasienia.css - BADANIE NASIENIA */
/* ===================== 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('https://www.garbaryclinic.pl/wp-content/themes/garbary-clinic/zdj/edited/druk/GC018.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;
}

/* ===================== SEMEN ANALYSIS HEADER WCAG AAA ===================== */
.semen-analysis-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    position: relative;
}

.semen-analysis-header h1 {
    font-size: 2.8rem;
    margin-bottom: 25px; /* Zwiększony z 20px */
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 18px; /* Zwiększony z 15px */
    line-height: 1.3; /* Dodany line-height */
    font-weight: 800; /* Zwiększony kontrast */
}

.semen-analysis-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px; /* Zwiększony z 100px */
    height: 4px; /* Zwiększony z 3px */
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Tytuł sekcji z podkreśleniem jeszcze niżej */
.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; /* Zwiększony padding dla niższego podkreślenia */
    display: inline-block;
}

.section-title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px; /* Szerokie podkreślenie */
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ===================== ASYMETRYCZNY LAYOUT Z OBRAZAMI PO BOKACH ===================== */

/* Główny kontener z asymetrycznym układem */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Asymetryczne bloki treści */
.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(8,47,97,0.1) 0%, rgba(10,51,94,0.2) 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 - tylko zwiększony cień */
.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 h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Paragrafy w asymetrycznych blokach */
.asymmetric-content p {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 1rem;
}

/* Listy w asymetrycznych blokach */
.asymmetric-content ul {
    margin: 5px 0 15px 0;
    padding-left: 0;
}

.asymmetric-content li {
    margin-bottom: 6px;
    color: var(--dark);
    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 li strong {
    color: var(--primary);
}

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

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

    .asymmetric-content {
        flex: none;
        width: 100%;
        padding: 30px;
    }
}

/* ===================== SEKCJA CENOWA ===================== */
.price-section {
    background: linear-gradient(135deg, rgba(8,47,97,0.05) 0%, rgba(248,249,250,0.95) 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 60px 0;
    text-align: center;
    border: 1px solid rgba(8,47,97,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.price-section 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;
}

.price-section p {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

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

/* ===================== ACCORDION DLA PYTAŃ ===================== */
.accordion-container {
    margin: 10px 0 30px 0; /* Przesunięte 20px wyżej */
}

.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; /* Przesunięte niżej z -8px */
    left: 0;
    width: 60px; /* Szerzej z 40px */
    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: 5px 0 15px 0;
    padding-left: 0;
}

.accordion-body li {
    margin-bottom: 6px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
    list-style: none;
}

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

/* ===================== PROSTY MINIMALISTYCZNY LAYOUT ===================== */

/* Ukryj numery kroków w timeline */
.timeline-step {
    display: none !important;
}

/* Timeline kontener z lepszym rozmieszczeniem */
.timeline {
    position: relative;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Elementy timeline z granatowymi akcentami */
.timeline-item {
    margin-bottom: 60px;
    position: relative;
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(8,47,97,0.1);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,163,224,0.02) 100%);
    width: 48%;
    margin: 0 1% 60px 1%;
}

.timeline-item:nth-child(odd) {
    float: left;
    clear: both;
}

.timeline-item:nth-child(even) {
    float: right;
    clear: both;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--dark));
    border-radius: 15px 15px 0 0;
}

/* Treść timeline z lepszym formatowaniem */
.timeline-content {
    position: relative;
}

.timeline-content h2 {
    color: var(--primary);
    font-family: 'Michroma', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.timeline-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
}

.timeline-content p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--dark);
}

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

/* Listy z granatowymi kropkami */
.timeline-content ul {
    margin: 5px 0 15px 0;
    padding-left: 0;
}

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

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

/* Dodaj subtelną dekorację dla lepszego wyglądu */
/* Nagłówki sekcji */
.content h2 {
    color: var(--primary);
    font-family: 'Michroma', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

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

/* Nagłówki podsekcji */
.content h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 20px 0 12px 0;
    font-weight: 600;
}

/* Treść */
.content p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: justify;
}

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

/* Listy */
.content ul {
    margin: 5px 0 15px 0;
    padding-left: 0;
}

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

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

/* Sekcja cenowa z granatowymi akcentami */
.price-section {
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,163,224,0.03) 100%);
    border-radius: 15px;
    padding: 35px;
    margin: 40px 0;
    text-align: center;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: box-shadow 0.3s ease;
}

.price-section:hover {
    box-shadow: 0 15px 35px rgba(8,47,97,0.15);
}

.price-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--dark));
}

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

.price-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--dark));
}

.price-section p {
    margin: 15px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark);
}

.price-section strong {
    color: var(--primary);
    font-weight: 600;
}

.price-section .btn {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 20px;
    transition: box-shadow 0.2s ease;
    border: none;
    font-size: 1rem;
}

.price-section .btn:hover {
    box-shadow: 0 8px 20px rgba(8,47,97,0.4);
}

/* ===================== RESPONSIVE DESIGN ===================== */

@media (max-width: 768px) {
    .content {
        padding: 0 15px;
    }

    .timeline {
        padding: 10px 0;
    }

    .timeline-item {
        margin-bottom: 40px;
        padding: 25px 20px;
        width: 100%;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-content h2 {
        font-size: 1.4rem;
    }

    .price-section {
        margin: 30px 0;
        padding: 25px 20px;
    }

    .price-section h2 {
        font-size: 1.5rem;
    }
}