/**
 * Стилі для сторінки послуги в стилі ProfiHands
 * Цветовая схема: profihands.com.ua
 */

/* ===== СВІТЛИЙ ФОН ДЛЯ ВСІЄЇ СТОРІНКИ (як у ProfiHands) ===== */
body.single-massage_service {
    background-color: #FFFAF5 !important;
}

body.single-massage_service main,
body.single-massage_service .wp-site-blocks {
    background-color: #FFFAF5 !important;
}

/* ===== ЗАГАЛЬНІ СТИЛІ ===== */
.massage-service-single-wrapper {
    background-color: #FFFAF5;
    min-height: 100vh;
    padding: 40px 0 0;
}

.massage-service-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ХЛІБРОВІ КРИХТИ ===== */
.massage-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #666;
}

.massage-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.massage-breadcrumbs a:hover {
    color: #1B573A;
}

.massage-breadcrumbs .separator {
    color: #999;
}

.massage-breadcrumbs .current {
    color: #1B573A;
    font-weight: 500;
}

/* ===== ЗЕЛЕНА КАРТОЧКА УСЛУГИ (як у ProfiHands) ===== */
.green-service-card {
    background: linear-gradient(135deg, #D9E7C8 0%, #e8f3dd 100%);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(27, 87, 58, 0.2);
    margin-bottom: 0;
    color: #2B2D32;
}

.green-service-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.green-service-left {
    flex: 1;
    min-width: 0;
}

.green-service-right {
    flex: 0 0 45%;
    max-width: 550px;
}

/* ===== ЗАГОЛОВОК ===== */
.green-service-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #2B2D32;
    font-weight: 300;
    letter-spacing: -0.5px;
    font-family: 'Playfair Display', Georgia, serif;
}

/* ===== БЛОК ЦІН ВГОРІ ===== */
.green-pricing-top {
    margin-bottom: 40px;
    font-size: 24px;
    line-height: 1.4;
    color: #2B2D32;
}

.green-pricing-item-top {
    margin-bottom: 10px;
}

.pricing-duration-top {
    color: #2B2D32;
    font-weight: 300;
    font-family: 'Playfair Display', Georgia, serif;
}

.pricing-separator-top {
    margin: 0 10px;
    color: rgba(43, 45, 50, 0.5);
}

.pricing-price-top {
    color: #2B2D32;
    font-weight: 400;
    font-family: 'Playfair Display', Georgia, serif;
}

/* ===== ПЕРЕВАГИ (СПИСКОМ) ===== */
.green-benefits-section {
    margin-bottom: 40px;
}

.green-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.green-benefit-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
}

.green-benefit-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #1B573A;
    border-radius: 50%;
}

/* ===== КНОПКА ЗАПИСИ ===== */
.green-action-button {
    margin-top: 30px;
}

.green-booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #1B573A;
    color: #FFFAF5 !important;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 87, 58, 0.2);
}

.green-booking-btn:hover {
    background-color: #0f3d26;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 87, 58, 0.3);
}

/* ===== ИЗОБРАЖЕНИЕ ===== */
.green-service-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(27, 87, 58, 0.2);
    position: sticky;
    top: 40px;
}

.green-service-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== ОПИСАНИЕ УСЛУГИ ===== */
.green-service-description {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(27, 87, 58, 0.2);
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
}

.green-service-description p {
    margin-bottom: 20px;
}

.green-service-description h2,
.green-service-description h3 {
    color: #2B2D32;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* ===== БЛОК ПОПУЛЯРНІ МАСАЖІ (світлий фон як у ProfiHands) ===== */
.popular-massages-section {
    background-color: #FFFAF5;
    padding: 80px 0;
    margin-top: 80px;
}

.popular-massages-title {
    font-size: 48px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: #2B2D32;
    letter-spacing: 0;
    font-family: 'Playfair Display', Georgia, serif;
}

.popular-massages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.popular-massage-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(43, 45, 50, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(217, 231, 200, 0.3);
}

.popular-massage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(27, 87, 58, 0.15);
}

.popular-massage-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8f3dd 0%, #D9E7C8 100%);
}

.popular-massage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-massage-card:hover .popular-massage-image img {
    transform: scale(1.08);
}

.popular-massage-content {
    padding: 30px;
}

.popular-massage-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 400;
    font-family: 'Playfair Display', Georgia, serif;
}

.popular-massage-title a {
    color: #2B2D32;
    text-decoration: none;
    transition: color 0.3s;
}

.popular-massage-title a:hover {
    color: #1B573A;
}

.popular-massage-prices {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(217, 231, 200, 0.5);
}

.popular-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.popular-price-row:last-child {
    margin-bottom: 0;
}

.popular-duration {
    color: #666;
    font-weight: 400;
}

.popular-price {
    color: #1B573A;
    font-weight: 600;
    font-size: 18px;
}

.popular-massage-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1B573A;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.popular-massage-link:after {
    content: '→';
    transition: transform 0.3s;
}

.popular-massage-link:hover {
    gap: 12px;
}

.popular-massage-link:hover:after {
    transform: translateX(3px);
}

.popular-massages-footer {
    text-align: center;
    margin-top: 50px;
}

.view-all-services-btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: #1B573A;
    color: #FFFAF5 !important;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 87, 58, 0.2);
}

.view-all-services-btn:hover {
    background-color: #0f3d26;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 87, 58, 0.3);
}

/* ===== АДАПТИВНІСТЬ ===== */
@media (max-width: 1200px) {
    .green-service-card {
        padding: 50px;
    }
    
    .green-service-title {
        font-size: 42px;
    }
    
    .popular-massages-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .popular-massages-title {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .green-service-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .green-service-right {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .green-service-image {
        position: static;
    }
    
    .green-service-card {
        padding: 40px;
    }
    
    .green-service-title {
        font-size: 38px;
    }
    
    .popular-massages-section {
        padding: 60px 0;
        margin-top: 60px;
    }
    
    .popular-massages-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .massage-service-single-wrapper {
        padding: 30px 0 0;
    }
    
    .massage-service-container {
        padding: 0 15px;
    }
    
    .green-service-card {
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .massage-breadcrumbs {
        margin-bottom: 30px;
        font-size: 13px;
    }
    
    .green-service-title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .green-pricing-top {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .green-benefits-section {
        margin-bottom: 30px;
    }
    
    .green-benefit-item {
        font-size: 15px;
    }
    
    .green-booking-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .green-service-description {
        margin-top: 40px;
        padding-top: 40px;
        font-size: 15px;
    }
    
    .popular-massages-section {
        padding: 50px 0;
        margin-top: 50px;
    }
    
    .popular-massages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .popular-massage-content {
        padding: 25px;
    }
    
    .popular-massage-title {
        font-size: 22px;
    }
    
    .popular-massages-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .green-service-card {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .green-service-title {
        font-size: 28px;
    }
    
    .green-pricing-top {
        font-size: 18px;
    }
    
    .green-benefit-item {
        font-size: 14px;
        padding-left: 20px;
    }
    
    .green-booking-btn {
        font-size: 15px;
        padding: 13px 20px;
    }
    
    .green-service-content {
        gap: 30px;
    }
    
    .popular-massages-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .view-all-services-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
    
    .popular-massage-content {
        padding: 20px;
    }
}

@media (max-width: 440px) {
    .green-service-card {
        padding: 20px 15px;
    }
    
    .green-service-title {
        font-size: 24px;
    }
    
    .massage-breadcrumbs {
        font-size: 12px;
    }
    
    .green-pricing-top {
        font-size: 16px;
    }
    
    .popular-massages-title {
        font-size: 24px;
    }
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.green-service-card {
    animation: fadeIn 0.6s ease-out;
}

.popular-massage-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.popular-massage-card:nth-child(1) { animation-delay: 0.1s; }
.popular-massage-card:nth-child(2) { animation-delay: 0.2s; }
.popular-massage-card:nth-child(3) { animation-delay: 0.3s; }
.popular-massage-card:nth-child(4) { animation-delay: 0.4s; }
