/* ============================================
   PPDB PESANTREN - ISLAMIC FUTURISTIC THEME
   ============================================ */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Amiri:wght@400;700&display=swap');

:root {
    --primary-green: #0d9488;
    --primary-green-dark: #0f766e;
    --primary-green-light: #14b8a6;
    --accent-gold: #f59e0b;
    --accent-gold-light: #fbbf24;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --gradient-1: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #134e4a 100%);
    --gradient-2: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    font-family: 'Poppins', sans-serif;
}

.font-arabic {
    font-family: 'Amiri', serif;
}

/* Islamic Pattern Background */
.islamic-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(13, 148, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.islamic-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d9488' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 10s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-hero {
    background: var(--gradient-1);
    padding: 10px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

/* Buttons */
.btn-primary-islamic {
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-islamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary-islamic:hover::before {
    left: 100%;
}

.btn-primary-islamic:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.5);
}

.btn-outline-islamic {
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    color: var(--primary-green);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-islamic:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.3);
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Cards */
.card-islamic {
    border: none;
    border-radius: 20px;
    background: white;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.card-islamic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--gradient-1);
    transition: height 0.4s ease;
}

.card-islamic:hover::after {
    height: 5px;
}

.card-islamic:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(13, 148, 136, 0.2);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.icon-box-gold {
    background: var(--gradient-2);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

/* Geometric Islamic Decor */
.geometric-border {
    position: relative;
}

.geometric-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* Navbar */
.navbar-islamic {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-islamic .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}

.navbar-islamic .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 20px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-islamic .nav-link:hover,
.navbar-islamic .nav-link.active {
    color: var(--primary-green);
    background: rgba(13, 148, 136, 0.1);
}

/* Countdown Timer */
.countdown-box {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.countdown-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 8px;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.footer-islamic {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.footer-islamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-green);
    color: white;
}
