/* 
 * CAPSTONE EL BETHEL - Version 20.4 
 * Modern Flutter-styled UI/UX Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #22d3ee;
    --primary-glow: rgba(34, 211, 238, 0.5);
    --secondary: #a855f7;
    --secondary-glow: rgba(168, 85, 247, 0.5);
    --accent: #f59e0b;
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.7);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --flutter-blue: #02569B;
    --flutter-light: #40D0FD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(34, 211, 238, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 40%);
}

/* Scrollbar Customization */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* Utilities */
.container { width: 100%; max-width: 480px; margin: 0 auto; padding: 0 20px; }
.glass { background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 24px; }
.glow-text { text-shadow: 0 0 15px var(--primary-glow); }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow); }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

/* Navbar */
nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.3s;
}

nav.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; text-decoration: none; color: white; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--primary); }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content { max-width: 700px; position: relative; z-index: 2; }
.hero-tag { display: inline-block; padding: 8px 16px; background: rgba(34, 211, 238, 0.1); color: var(--primary); border-radius: 50px; font-weight: 600; font-size: 14px; margin-bottom: 20px; border: 1px solid var(--primary-glow); }
.hero h1 { font-size: 72px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.hero p { font-size: 18px; color: var(--text-dim); margin-bottom: 40px; }

    .hero-visual { display: none; }
.hero-glow { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%); border-radius: 50%; filter: blur(60px); opacity: 0.4; }

.btn-flutter {
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 10px 20px rgba(34, 211, 238, 0.2); }
.btn-primary:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 20px 40px rgba(34, 211, 238, 0.4); }

/* Animated Live Symbol Section */
.live-symbols {
    padding: 100px 0;
    text-align: center;
}

.symbol-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.symbol-box {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border);
    border-radius: 30px;
    position: relative;
    transition: 0.5s;
    cursor: pointer;
}

.symbol-box:hover {
    border-color: var(--primary);
    background: rgba(34, 211, 238, 0.1);
    transform: translateY(-15px) rotate(10deg);
}

.symbol-box::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border: 2px solid var(--primary);
    border-radius: 30px;
    animation: ripple 2s infinite;
    opacity: 0;
}

.symbol-box:hover::after { opacity: 1; }

/* Anniversary Section */
.anniversary {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.anniversary-card {
    padding: 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.1));
    border: 2px solid var(--primary);
    position: relative;
}

.water-ripple {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/water.png');
    opacity: 0.1;
    pointer-events: none;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.count-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    min-width: 100px;
    border: 1px solid var(--border);
}

.count-num { font-size: 32px; font-weight: 800; color: var(--primary); display: block; }
.count-label { font-size: 12px; text-transform: uppercase; color: var(--text-dim); }

/* Programmes Section */
.programmes { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 48px; font-weight: 800; margin-bottom: 16px; }

.prog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.prog-card {
    padding: 40px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.prog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.prog-icon {
    width: 60px; height: 60px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.prog-time { color: var(--primary); font-weight: 700; font-size: 14px; margin-bottom: 8px; display: block; }

/* Bible Verse Typing System */
.bible-verse-system {
    padding: 80px 0;
    background: rgba(34, 211, 238, 0.03);
}

.typing-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.typewriter-text {
    font-size: 28px;
    font-weight: 600;
    font-style: italic;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
    border-right: 3px solid var(--primary);
    white-space: pre-wrap;
    overflow: hidden;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    padding: 50px;
    position: relative;
}

.auth-header { text-align: center; margin-bottom: 40px; }
.auth-header h2 { font-size: 32px; font-weight: 800; }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.form-control {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(34, 211, 238, 0.05);
}

/* Flying Dove Animation */
.dove-container {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    z-index: 10;
}

.dove-svg {
    width: 100%;
    height: 100%;
    fill: white;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: float 4s infinite ease-in-out;
}

/* Footer */
footer {
    padding: 100px 0 40px;
    background: #010413;
    border-top: 1px solid var(--border);
}

    .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: white; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: var(--text-dim); transition: 0.3s; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
