/* 
   Global Hope NGO - Premium Implementation Plan CSS
   Theme: Light base with frosted glass panels, soft gradients
*/

:root {
    /* Color Palette */
    --bg-light: #f0fdf4; /* Very light green tint */
    --bg-white: #ffffff;
    
    --primary: #0d9488; /* Teal/Green */
    --accent: #d4a853;  /* Gold */
    --rose: #0f766e;    /* Dark Green */
    --dark: #1a1a2e;
    
    --text-main: #333333;
    --text-muted: #666666;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--rose));
    --gradient-warm: linear-gradient(135deg, var(--accent), #e8c97a);
    --gradient-text: linear-gradient(to right, var(--primary), var(--accent));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px rgba(108, 99, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Decoration */
body::before {
    content: '';
    position: fixed;
    top: -10%; left: -10%; width: 50%; height: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}
body::after {
    content: '';
    position: fixed;
    bottom: -10%; right: -10%; width: 50%; height: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-center { text-align: center; }
.section { padding: var(--section-padding); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0; width: 60px; height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.text-center .section-title::after {
    left: 50%; transform: translateX(-50%);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 40px;
}
.text-center .section-desc { margin: 0 auto 40px auto; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: rgba(108, 99, 255, 0.05);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(108, 99, 255, 0.2);
}

/* Navigation */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
}
.logo img { height: 40px; }

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
    position: relative;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.hero-image {
    position: relative;
    width: 100%;
    z-index: 1;
}
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.2);
}

/* Stats Counter */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.stat-box {
    text-align: center;
    padding: 20px;
}
.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}
.stat-box p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Events Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.event-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.event-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.date-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.date-badge .day { display: block; font-size: 1.2rem; font-weight: 700; color: var(--primary); line-height: 1;}
.date-badge .month { display: block; font-size: 0.8rem; font-weight: 600; }

.event-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.event-title { font-size: 1.25rem; margin-bottom: 10px; }
.event-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; }
.event-meta i { color: var(--accent); margin-right: 5px; }
.event-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Footer */
.footer {
    background: var(--bg-white);
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 50px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 { margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; }
.footer-col ul a:hover { color: var(--primary); }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Grid Classes */
.grid-2-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: center; }
.grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-between-wrap { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }

/* Mobile Menu Toggle */
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); }

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero-image { display: none; }
    .grid-4-col { grid-template-columns: repeat(2, 1fr); }
    .grid-3-col { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-links { 
        position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); 
        background: rgba(255,255,255,0.98); flex-direction: column; align-items: center; justify-content: flex-start; 
        transition: left 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding-top: 50px; z-index: 999; gap: 20px;
    }
    .nav-links.active { left: 0; }
    
    .grid-2-col, .grid-3-col, .grid-4-col { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero .container > div { text-align: center; }
    .hero .btn { width: 100%; margin-bottom: 10px; }
    .hero > div > div > div > div > div { flex-direction: column; gap: 10px; } /* targeting the hero buttons */
    
    .section-title { font-size: 1.8rem; }
    .flex-between-wrap { flex-direction: column; align-items: flex-start; gap: 15px; }
    
    .event-card { min-width: 280px; }
    .stat-box { padding: 15px; }
}
