/* Custom Styles for Yayasan Sirroh El Darda */

:root {
    --brand-primary: #064e3b;
    --brand-emerald: #059669;
    --brand-light: #10b981;
    --brand-gold: #f59e0b;
    --dark-bg: #031e17;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Islamic Subtle Pattern Background */
.islamic-pattern {
    background-color: #04251d;
    background-image: radial-gradient(rgba(16, 185, 129, 0.12) 1px, transparent 0);
    background-size: 24px 24px;
}

.islamic-pattern-light {
    background-color: #f8fafc;
    background-image: radial-gradient(rgba(5, 150, 105, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Glassmorphism Styles */
.glass-nav {
    background: rgba(3, 30, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.18);
    box-shadow: 0 10px 30px -10px rgba(6, 78, 59, 0.08);
}

.glass-card-dark {
    background: rgba(4, 37, 29, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(52, 211, 153, 0.2);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.glass-card-hover {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 35px -10px rgba(5, 150, 105, 0.25);
}

/* Glow Effects */
.glow-emerald {
    box-shadow: 0 0 35px -5px rgba(16, 185, 129, 0.45);
}

.glow-gold {
    box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.4);
}

/* 3D Hero Canvas Container */
#three-hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Gradient Texts */
.gradient-text-emerald {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #fef3c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: #021a14;
}
::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 26, 20, 0.95);
    backdrop-filter: blur(8px);
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pulse badge animation */
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-badge {
    animation: pulse-ring 2.5s infinite;
}
