/* css/pages/diagnostyka-kardiologiczna.css - DIAGNOSTYKA KARDIOLOGICZNA */
/* ===================== 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;
    transition: transform 0.5s ease;
}

.asymmetric-image:hover img {
    transform: scale(1.05);
}

/* 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));
}

/* Nagłówki w asymetrycznych blokach */
.asymmetric-content h2 {
    color: var(--primary);
    font-family: 'Michroma', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.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 {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 1.05rem;
}

.asymmetric-content p:last-child {
    margin-bottom: 0;
}

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

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

.asymmetric-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
    color: var(--dark);
}

.asymmetric-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Efekty hover dla asymetrycznych sekcji */
.asymmetric-section:hover .asymmetric-content {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.asymmetric-section:hover .asymmetric-image {
    transform: translateY(-3px);
}

/* Sekcja cenowa - wyróżniona */
.price-section {
    background: linear-gradient(135deg, rgba(8,47,97,0.05) 0%, rgba(10,51,94,0.08) 100%);
    border: 2px solid rgba(8,47,97,0.15);
    border-radius: 20px;
    margin: 80px 0;
    padding: 50px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.price-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(8,47,97,0.03) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.price-section h2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.price-section p {
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

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

/* Responsywność */
@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 {
        padding: 30px;
    }

    .asymmetric-content h2 {
        font-size: 1.5rem;
    }

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

/* ===================== ACCORDION DLA DIAGNOSTYKI KARDIOLOGICZNEJ ===================== */
.diagnostic-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.diagnostic-accordion h2 {
    text-align: center;
    font-family: 'Michroma', sans-serif;
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}

.diagnostic-accordion h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.accordion-item {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    position: relative;
    border: 1px solid rgba(8, 47, 97, 0.1);
}

.accordion-item:focus-within {
    box-shadow: 0 0 0 3px rgba(8, 47, 97, 0.2);
}

.accordion-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.accordion-item:hover:before {
    transform: scaleX(1);
}

.accordion-header {
    padding: 20px 30px;
    background-color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 60px;
    position: relative;
}

.accordion-header:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: -3px;
    background-color: rgba(8, 47, 97, 0.1);
}

.accordion-header:hover {
    background-color: rgba(8, 47, 97, 0.05);
}

.accordion-title {
    font-family: 'Michroma', sans-serif;
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    margin: 0;
}

.accordion-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(8, 47, 97, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.accordion-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.accordion-arrow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary);
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: #ffffff;
    position: relative;
}

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

.accordion-inner {
    padding: 30px;
}

.accordion-inner p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.accordion-inner p:last-child {
    margin-bottom: 0;
}

/* Responsywność dla accordion */
@media (max-width: 768px) {
    .diagnostic-accordion {
        max-width: 100%;
    }

    .diagnostic-accordion h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .accordion-header {
        padding: 15px 20px;
        min-height: 50px;
    }

    .accordion-title {
        font-size: 1.1rem;
    }

    .accordion-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }

    .accordion-icon i {
        font-size: 1rem;
    }

    .accordion-inner {
        padding: 20px;
    }
}
