/**
 * Funris Themes - Custom Front-End Master Stylesheet
 * File: css/custom.css
 * Theme: School Premium Layout Rules
 */

/* ==========================================================================
   1. Pengaturan Transisi Global Navbar & Komponen Utama
   ========================================================================== */
#funris-site-header {
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* ==========================================================================
   2. Efek Sorot Menu Navigasi (Hover Underline Effect)
   ========================================================================== */
.funris-nav-link {
    position: relative;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
}

.funris-nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #4ade80; /* Warna Utama Fresh Mint */
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.funris-nav-link:hover {
    color: #4ade80 !important;
}

.funris-nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ==========================================================================
   3. Kelas Utilitas Animasi Ringan (Fade-In Up)
   ========================================================================== */
.funris-animate-up {
    animation: funrisFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes funrisFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}