/* =============================================
   SANTOSA MUSIK - CUSTOM STYLES
   ============================================= */

/* Desain Latar Belakang & Animasi Kustom */
.hero-pattern {
    background-color: #0f172a;
    background-image: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 100%);
    position: relative;
}
.hero-pattern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
    z-index: 0;
}
.content-z {
    position: relative;
    z-index: 10;
}
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 35px -5px rgba(0, 0, 0, 0.08), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
}

/* Box Notifikasi / Alert Kustom */
#custom-alert {
    display: none;
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
    animation: slideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* FAQ Accordion Transitions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer.open {
    max-height: 300px;
    padding-top: 1rem;
}

/* Slider Kustom Smooth Transition */
.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}
.slide-item {
    flex: 0 0 100%;
    width: 100%;
}

/* Animasi Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}
.menu-open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
}
.menu-closed {
    opacity: 0;
    transform: scaleY(0);
    pointer-events: none;
}

/* Tailwind color overrides via CSS vars for WP */
:root {
    --santosa-blue: #1e3a8a;
    --santosa-light-blue: #3b82f6;
    --santosa-green: #10b981;
    --santosa-red: #cc0000;
    --santosa-dark: #0f172a;
}
