/* ===========================
   TREATMENT AREAS - treatment-areas.css
   =========================== */

.treatment-areas {
    padding: 80px 0;
    background-color: var(--white);
}

/* ===========================
   МАКЕТ
   =========================== */

.treatment-layout {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: center;
}

/* ===========================
   ДІАГРАМА ТІЛА
   =========================== */

.body-diagram {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.body-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: brightness(0.95);
    transition: all 0.5s ease;
    display: block;
}

.body-diagram:hover .body-image {
    filter: brightness(1.05) contrast(1.1);
}

/* ===========================
   МАРКЕРИ НА ТІЛІ
   =========================== */

.body-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #91d072;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(145, 208, 114, 0.4);
    animation: pulse 2s infinite;
}

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

.marker:hover {
    transform: scale(1.2);
    background: #7bc05a;
    box-shadow: 0 6px 20px rgba(145, 208, 114, 0.6);
    animation: none;
}

/* Позиції маркерів */
.marker-1 { top: 10%; left: 54%; }
.marker-2 { top: 26%; left: 76%; }
.marker-3 { top: 16%; left: 88%; }
.marker-4 { top: 38%; left: 39%; }
.marker-5 { top: 41%; left: 80%; }
.marker-6 { top: 56%; left: 48%; }

/* ===========================
   СПИСОК ЛІКУВАННЯ
   =========================== */

.treatment-list {
    list-style: none;
}

.treatment-item {
    margin-bottom: 15px;
}

.treatment-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid #91d072;
    cursor: pointer;
    transition: var(--transition);
    color: inherit;
    text-decoration: none;
}

.treatment-item a:hover {
    background: #91d072;
    color: white;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(145, 208, 114, 0.3);
}

/* ===========================
   НОМЕР
   =========================== */

.treatment-number {
    width: 35px;
    height: 35px;
    background: #91d072;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    transition: var(--transition);
}

.treatment-item a:hover .treatment-number {
    background: white;
    color: #91d072;
}

/* ===========================
   КОНТЕНТ
   =========================== */

.treatment-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.treatment-item a:hover .treatment-content h3 {
    color: white;
}

.treatment-content p {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
    transition: color 0.3s ease;
}

.treatment-item a:hover .treatment-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   АДАПТИВНІСТЬ
   =========================== */

@media (max-width: 1024px) {
    .treatment-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .treatment-layout {
        gap: 40px;
    }

    .marker {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .treatment-item {
        padding: 16px 20px;
    }

    .treatment-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .treatment-content h3 {
        font-size: 1rem;
    }

    .treatment-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .marker {
        width: 30px;
        height: 30px;
        font-size: 14px;
        border-width: 2px;
    }

    .treatment-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .treatment-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .treatment-content h3 {
        font-size: 0.95rem;
    }

    .treatment-content p {
        font-size: 0.8rem;
    }
}
