/* ============================================
   WDB Service Card - Extras
   Reveal, Tooltip interactions, Modal overrides
   ============================================ */

/* ---- Reveal on Hover ---- */
.wdb-card-reveal {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    border-radius: inherit;
    pointer-events: none;
    overflow: hidden;
}

.wdb-reveal-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wdb-reveal-content p {
    margin: 0;
}

/* Reveal: Bottom */
.wdb-reveal-bottom {
    transform: translateY(100%);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.wdb-has-reveal:hover .wdb-reveal-bottom {
    transform: translateY(0);
    pointer-events: auto;
}

/* Reveal: Right */
.wdb-reveal-right {
    transform: translateX(100%);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.wdb-has-reveal:hover .wdb-reveal-right {
    transform: translateX(0);
    pointer-events: auto;
}

/* Reveal: Fade */
.wdb-reveal-fade {
    opacity: 0;
    transform: none;
    transition: opacity 0.4s ease;
}
.wdb-has-reveal:hover .wdb-reveal-fade {
    opacity: 1;
    pointer-events: auto;
}

/* ---- Reveal content links ---- */
.wdb-card-reveal a {
    color: inherit;
    text-decoration: none;
}
.wdb-card-reveal a:hover {
    opacity: 0.8;
}

/* ---- Reveal Structured ---- */
.wdb-reveal-structured {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    width: 100%;
}

.wdb-reveal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    line-height: 1;
    transition: all 0.3s ease;
}

.wdb-reveal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.wdb-reveal-description {
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 16px 0;
    max-width: 320px;
}

.wdb-reveal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wdb-reveal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
