/* ===== TOT300 Prayer Platform - Main Styles ===== */
/* Color Theme: Gold (#D4AF37), Black (#000000), White (#FFFFFF) */

:root {
    /* Primary Colors */
    --primary-gold: #D4AF37;
    --gold-light: #F4D03F;
    --gold-dark: #B8860B;
    
    /* Neutral Colors */
    --pure-black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #666666;
    --pure-white: #FFFFFF;
    --off-white: #F8F9FA;
    
    /* Accent Colors */
    --success-green: #28a745;
    --warning-orange: #ffc107;
    --danger-red: #dc3545;
    --info-blue: #17a2b8;
    
    /* Effects */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.25);
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--pure-black) 0%, var(--dark-gray) 100%);
    color: var(--off-white);
    min-height: 100vh;
    line-height: 1.6;
}

/* ===== LANDING PAGE STYLES ===== */
.landing-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.landing-header {
    background: linear-gradient(to right, var(--pure-black), var(--medium-gray));
    padding: 1.5rem 2rem;
    border-bottom: 4px solid var(--primary-gold);
    box-shadow: var(--shadow);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--pure-black);
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    padding: 1.5rem;
    width: 120px;
    height: 120px;
    box-shadow: var(--gold-glow);
}

.gold-icon {
    color: var(--primary-gold);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.church-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-gold);
    letter-spacing: 2px;
}

.logo-text {
    flex: 1;
}

.logo-text h1 {
    color: var(--primary-gold);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-text h2 {
    color: var(--pure-white);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.logo-text .subtitle {
    color: var(--gold-light);
    font-size: 1.1rem;
    font-style: italic;
}

/* Welcome Section */
.welcome-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 1200px;
    width: 100%;
    box-shadow: var(--shadow-heavy);
    border: 2px solid var(--primary-gold);
}

.welcome-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gold-light);
}

.welcome-title {
    color: var(--pure-black);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.scripture {
    color: var(--medium-gray);
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
}

/* Program Details */
.program-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.detail-card {
    background: var(--pure-white);
    border: 2px solid var(--primary-gold);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.detail-card i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.detail-card h3 {
    color: var(--pure-black);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.detail-card p {
    color: var(--light-gray);
}

/* Authentication Status */
.auth-status {
    background: var(--off-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 5px solid var(--primary-gold);
}

.status-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--medium-gray);
}

.status-message i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    text-align: center;
    min-width: 200px;
    justify-content: center;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-dark));
    color: var(--pure-black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-login {
    background: transparent;
    color: var(--primary-gold);
    border: 3px solid var(--primary-gold);
}

.btn-dashboard {
    background: linear-gradient(135deg, var(--success-green), #1e7e34);
    color: var(--pure-white);
}

.btn-admin {
    background: linear-gradient(135deg, var(--info-blue), #138496);
    color: var(--pure-white);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-login:hover {
    background: var(--primary-gold);
    color: var(--pure-black);
}

.btn-dashboard:hover, .btn-admin:hover {
    transform: translateY(-3px);
    filter: brightness(110%);
}

.hidden {
    display: none !important;
}

/* Countdown Timer */
.countdown-section {
    background: linear-gradient(135deg, var(--pure-black), var(--dark-gray));
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 3rem 0;
    border: 2px solid var(--primary-gold);
    text-align: center;
}

.countdown-section h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    border: 1px solid var(--primary-gold);
}

.countdown-item span {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-gold);
    line-height: 1;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.countdown-item small {
    color: var(--off-white);
    font-size: 1rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-note {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--gold-light);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.stat span {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--pure-black);
    margin-bottom: 0.5rem;
}

.stat small {
    color: var(--light-gray);
    font-size: 0.95rem;
    text-align: center;
}

/* Footer */
.landing-footer {
    background: linear-gradient(to right, var(--pure-black), var(--medium-gray));
    padding: 3rem 2rem 1.5rem;
    border-top: 4px solid var(--primary-gold);
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-section {
    color: var(--off-white);
}

.footer-section h4 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    color: #aaaaaa;
}

.footer-link {
    color: var(--gold-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .logo-placeholder {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
    }
    
    .logo-text h2 {
        font-size: 1.3rem;
    }
    
    .welcome-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .countdown-timer {
        gap: 1.5rem;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 1rem 1.5rem;
    }
    
    .countdown-item span {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .landing-header,
    .welcome-section,
    .landing-footer {
        padding: 1.5rem;
    }
    
    .welcome-card {
        padding: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .program-details,
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }
    
    .countdown-item span {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-text h2 {
        font-size: 1.1rem;
    }
    
    .welcome-title {
        font-size: 1.6rem;
    }
    
    .scripture {
        font-size: 1rem;
    }
    
    .detail-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gold { color: var(--primary-gold); }
.text-black { color: var(--pure-black); }
.text-white { color: var(--pure-white); }
.bg-gold { background: var(--primary-gold); }
.bg-black { background: var(--pure-black); }
.bg-white { background: var(--pure-white); }

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Success/Error Messages */
.message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.message-success {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--success-green);
    color: #155724;
}

.message-error {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid var(--danger-red);
    color: #721c24;
}

.message-warning {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--warning-orange);
    color: #856404;
}

.message-info {
    background: rgba(23, 162, 184, 0.1);
    border-left: 4px solid var(--info-blue);
    color: #0c5460;
}