/* Custom galeri & hero section for FST UBB */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

.hero-galeri {
    background: linear-gradient(120deg, #7b2ff2 0%, #f357a8 60%, #ffd600 100%);
    mix-blend-mode: multiply;
    min-height: 320px;
    border-radius: 0 0 2.5rem 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(123, 47, 242, 0.12);
    position: relative;
    overflow: hidden;
}
.hero-bg-anim {
    background: radial-gradient(
            circle at 20% 40%,
            #fff2 0%,
            #7b2ff2 60%,
            transparent 100%
        ),
        radial-gradient(
            circle at 80% 60%,
            #ffd60055 0%,
            #f357a8 60%,
            transparent 100%
        );
    animation: heroAnimBg 8s linear infinite alternate;
}
@keyframes heroAnimBg {
    0% {
        filter: blur(0px) brightness(1);
    }
    100% {
        filter: blur(8px) brightness(1.1);
    }
}
.hero-title-anim {
    animation: heroTitleAnim 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) 1;
}
@keyframes heroTitleAnim {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gallery-item-fst {
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(123, 47, 242, 0.1);
    background: linear-gradient(135deg, #7b2ff2 0%, #f357a8 60%, #ffd600 100%);
    padding: 6px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}
.gallery-item-fst:hover {
    box-shadow: 0 8px 32px 0 rgba(123, 47, 242, 0.18), 0 0 0 4px #ffd60055;
    transform: translateY(-6px) scale(1.03) rotate(-1deg);
    z-index: 2;
}
.gallery-img-fst {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 1rem;
    transition: filter 0.3s, transform 0.3s;
    box-shadow: 0 2px 8px 0 rgba(123, 47, 242, 0.08);
}
.gallery-item-fst:hover .gallery-img-fst {
    filter: brightness(1.08) saturate(1.2) blur(1px);
    transform: scale(1.04) rotate(1deg);
}
.gallery-overlay-fst {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        #7b2ff2cc 0%,
        #f357a8cc 60%,
        #ffd600cc 100%
    );
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 1.2rem;
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem 1rem 1rem;
    pointer-events: none;
}
.gallery-item-fst:hover .gallery-overlay-fst {
    opacity: 1;
    pointer-events: auto;
    animation: overlayPop 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes overlayPop {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.text-shadow {
    text-shadow: 0 2px 8px #7b2ff2cc, 0 1px 2px #0002;
}
