/* ===================================
   SERVICES GRID CSS
=================================== */
.service-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.zen-service-card {
    background: var(--bs-white);
    border: 1px solid var(--bs-gray-200);
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(var(--bs-black-rgb), 0.04);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.zen-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(var(--bs-black-rgb), 0.08);
    border-color: var(--bs-primary);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 10px;
}

.service-short-desc {
    color: var(--bs-gray-600);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button Reset for Services */
.zen-service-card .btn-view-details {
    border: none;
    cursor: pointer;
    background-color: var(--bs-dark);
    color: var(--bs-white);
}

.zen-service-card .btn-view-details:hover {
    background-color: var(--bs-primary);
}

/* ===================================
   CUSTOM MODAL CSS
=================================== */
.zen-custom-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1050;
    /* Above header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--bs-black-rgb), 0.7);
    /* Dark overlay */
    backdrop-filter: blur(5px);
    /* Modern blur effect */
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

/* Class to trigger animation */
.zen-custom-modal.show-modal {
    display: flex;
    opacity: 1;
}

.zen-modal-content {
    background-color: var(--bs-white);
    border-radius: var(--bs-border-radius-lg);
    width: 90%;
    max-width: 900px;
    padding: 40px;
    position: relative;
    transform: scale(0.8) translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy pop-up effect */
}

.zen-custom-modal.show-modal .zen-modal-content {
    transform: scale(1) translateY(0);
}

.zen-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--bs-gray-500);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.zen-modal-close:hover {
    color: var(--bs-danger);
}

.modal-img-wrap img {
    width: 100%;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-title-custom {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 10px;
}

.modal-short-desc {
    font-size: 18px;
    color: var(--bs-primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.divider-line {
    width: 50px;
    height: 3px;
    background-color: var(--bs-primary);
    margin-bottom: 20px;
}

.modal-long-desc {
    color: var(--bs-gray-600);
    line-height: 1.7;
    font-size: 15px;
}

@media (max-width: 768px) {
    .zen-modal-content {
        padding: 30px 20px;
        max-height: 90vh;
        overflow-y: auto;
        /* Allow scroll on small phones */
    }

    .modal-title-custom {
        font-size: 26px;
    }
}