/* Reset & Base Styles */
:root {
    --primary-color: #2c3e50; /* Dark Blue - Trust & Stability */
    --secondary-color: #e74c3c; /* Red - Urgency/Action */
    --accent-color: #3498db; /* Light Blue - Hope */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --white: #ffffff;
    --light-gray: #ecf0f1;
    --border-radius: 4px;
    --box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-heading: 'Georgia', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; border-bottom: 2px solid var(--light-gray); padding-bottom: 0.5rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }

p { margin-bottom: 1rem; }

/* Layout */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.nav-links a.cta-button:hover {
    background-color: #c0392b;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #c0392b;
    text-decoration: none;
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Main Content */
main {
    padding: 3rem 0;
}

section {
    margin-bottom: 3rem;
}

.card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
}

/* Story Timeline */
.timeline-item {
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    left: -7.5px;
    top: 5px;
}

.timeline-date {
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Media Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin-bottom: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    
    .nav-links {
        display: none; /* Simple mobile menu handling for now */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero { padding: 3rem 0; }
    
    .btn { display: block; width: 100%; margin: 0.5rem 0; text-align: center; }
    .btn-secondary { margin-left: 0; }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.alert {
    padding: 1rem;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}
.highlight {
    background-color: #fff3cd;
    padding: 0.2rem 0.4rem;
    border-radius: 2px;
}
/* Sensitive Content Styling */
.alert-sensitive {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.btn-sensitive {
    background-color: #95a5a6;
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-sensitive:hover {
    background-color: #7f8c8d;
    text-decoration: none;
    color: var(--white);
}

.evidence-section {
    border-top: 1px solid #eee;
    margin-top: 3rem;
    padding-top: 2rem;
    background-color: #fafafa;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.evidence-section h2, .evidence-section h3 {
    color: #7f8c8d;
}

/* Payment Methods Styling */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.payment-option {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

.payment-option:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.payment-option h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-option p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.7;
}

.payment-button-container {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.payment-button-container .kofi-button {
    display: inline-block;
}

.payment-button-container #donate-button-container {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.payment-button-container #donate-button-container img {
    max-width: 100%;
    height: auto;
}