/* Showcase Hover Animations - Museum Quality */

.kolel-feature-v2 {
    position: relative;
    padding: 25px;
    border-top: 1px solid rgba(245, 210, 112, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

/* Ensure content stays above the spotlight background */
.kolel-feature-v2 > * {
    position: relative;
    z-index: 1;
}

/* Title Underline Animation */
.feature-title-v2 {
    display: inline-block;
    position: relative;
    margin-bottom: 8px;
}

.feature-title-v2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: var(--gold-main);
    transition: width 0.3s ease;
}

.kolel-feature-v2:hover .feature-title-v2::after {
    width: 100%;
}

/* Floating Image Reveal */
.kolel-floating-reveal {
    pointer-events: none;
    position: fixed;
    z-index: 9999;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(245, 210, 112, 0.2);
}

.kolel-floating-reveal.is-visible {
    opacity: 1;
    transform: scale(1);
}

.kolel-floating-reveal img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.kolel-floating-reveal img.active {
    opacity: 1;
    transform: scale(1);
}

/* Arrow Animation */
.feature-arrow {
    display: inline-block;
    margin-left: 8px;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.3s ease;
    color: var(--gold-main);
}

.kolel-feature-v2:hover .feature-arrow {
    opacity: 1;
    transform: translate(0, 0);
}
