/* ==========================================================================
   Shubham Mehndi Studio - Luxury Modern Services Section
   ========================================================================== */

.services-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 45px;
}

.services-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #b38533;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 6px;
}

.services-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 2px;
    background: #b38533;
    border-radius: 2px;
}

.services-title {
    font-size: 2rem;
    font-weight: 800;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    line-height: 1.3;
}

.service-card-modern {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(179, 133, 51, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(179, 133, 51, 0.16);
    border-color: #b38533;
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #faf7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.service-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: zoom-in;
}

.service-card-modern .service-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.service-card-modern:hover .service-img-wrapper img {
    transform: scale(1.04);
}

.service-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(26, 26, 26, 0.75);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.service-card-modern:hover .service-zoom-btn {
    opacity: 1;
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #b38533 0%, #d4af37 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.service-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.service-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
}

.service-card-divider {
    width: 36px;
    height: 2px;
    background: #b38533;
    margin: 6px auto 14px;
    border-radius: 2px;
}

.service-card-desc {
    font-size: 0.92rem;
    color: #666666;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-action {
    margin-top: auto;
}

.service-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #faf6f0;
    color: #b38533;
    border: 1px solid #b38533;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.service-book-btn:hover {
    background: linear-gradient(135deg, #b38533 0%, #c9983e 100%);
    color: #ffffff;
    border-color: #b38533;
    box-shadow: 0 6px 18px rgba(179, 133, 51, 0.28);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .services-title {
        font-size: 1.5rem;
    }
    .service-img-wrapper {
        height: 280px;
    }
    .service-card-title {
        min-height: auto;
    }
}

/* Prevent Mehndi gallery images from turning black and white on hover */
.wpo-blog-section .wpo-blog-item:hover .wpo-blog-img img,
.wpo-blog-section-s2 .wpo-blog-item:hover .wpo-blog-img img,
.wpo-blog-section-s3 .wpo-blog-item:hover .wpo-blog-img img {
    -webkit-filter: none !important;
    filter: none !important;
    transform: scale(1.05) !important;
}
