/* ============================================================
   Church CMS — Main Stylesheet
   ============================================================ */

:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --primary-dark: #0d2340;
    --accent: #c9952b;
    --accent-light: #e8b94a;
    --accent-dark: #a67a1e;
    --gold: #d4a84b;
    --white: #ffffff;
    --off-white: #f8f6f2;
    --light-gray: #f0ede8;
    --gray: #6b7280;
    --dark-gray: #374151;
    --text: #1f2937;
    --text-light: #6b7280;
    --success: #059669;
    --danger: #dc2626;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

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

/* ---- Top Bar ---- */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left span { display: flex; align-items: center; gap: 6px; }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
}

.top-bar-right a:hover { color: var(--accent-light); }

.social-links-top {
    display: flex;
    gap: 10px;
}

.social-links-top a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.social-links-top a:hover {
    background: var(--accent);
    color: var(--white);
}

/* ---- Sticky Header ---- */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
    text-decoration: none;
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--accent);
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
    color: var(--primary-dark);
}

.logo-tagline {
    font-size: 0.72rem;
    color: var(--text-light);
    display: block;
}

/* ---- Navigation ---- */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary);
    color: var(--white);
}

.main-nav a.donate-link {
    background: var(--accent);
    color: var(--white);
}

.main-nav a.donate-link:hover {
    background: var(--accent-dark);
}

/* ---- Mobile Menu ---- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger { position: relative; }

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.mobile-menu-toggle.open .hamburger { background: transparent; }
.mobile-menu-toggle.open .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-menu-toggle.open .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ---- Hero / Slideshow ---- */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--primary-dark);
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active { opacity: 1; z-index: 1; }

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: var(--white);
    z-index: 2;
}

.slide-overlay h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.slide-overlay p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
}

.slide-nav {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slide-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.7);
    cursor: pointer;
    transition: var(--transition);
}

.slide-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

.slide-arrows {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slide-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slide-arrow:hover {
    background: var(--accent);
}

/* ---- Section Styles ---- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--off-white);
}

.section-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Welcome Section ---- */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-text h2 {
    font-size: 2rem;
}

.welcome-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.welcome-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ---- Events Section ---- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.event-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-meta {
    font-size: 0.82rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---- Card Styles ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.card-body p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 15px;
}

/* ---- Pastor Cards ---- */
.pastor-card {
    text-align: center;
}

.pastor-card .card-image {
    height: 300px;
}

.pastor-title {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pastor-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.pastor-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.pastor-social a:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* ---- Mission Cards ---- */
.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
    margin: 12px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 5px;
    transition: width 1.5s ease;
}

.mission-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

.mission-stats strong {
    color: var(--primary);
}

.mission-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* ---- Media Page ---- */
.media-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.media-tab {
    padding: 10px 28px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.media-tab.active,
.media-tab:hover {
    background: var(--primary);
    color: var(--white);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.media-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.media-player {
    position: relative;
    background: var(--primary-dark);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-player audio,
.media-player video {
    width: 100%;
}

.media-player audio {
    padding: 20px;
}

.media-player-icon {
    font-size: 3rem;
    color: var(--accent);
    position: absolute;
    pointer-events: none;
}

.media-info {
    padding: 18px;
}

.media-info h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.media-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.media-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-live {
    background: var(--danger);
    color: var(--white);
    animation: pulse-live 2s infinite;
}

.badge-audio { background: #dbeafe; color: #1d4ed8; }
.badge-video { background: #fce7f3; color: #be185d; }

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Live Stream Section */
.live-stream-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    color: var(--white);
    margin-bottom: 40px;
    text-align: center;
}

.live-stream-section h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220,38,38,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--danger);
    animation: pulse-live 1.5s infinite;
}

.stream-player {
    max-width: 800px;
    margin: 20px auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
}

.stream-player audio {
    width: 100%;
    display: block;
}

.stream-player video {
    width: 100%;
    display: block;
}

/* ---- Donation Page ---- */
.donate-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.donate-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.donate-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.donate-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.donate-cat-btn {
    padding: 16px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.donate-cat-btn:hover,
.donate-cat-btn.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.donate-cat-btn i {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.donate-form-section {
    max-width: 700px;
    margin: 0 auto;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.amount-btn {
    padding: 14px;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    background: transparent;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn:hover,
.amount-btn.selected {
    background: var(--primary);
    color: var(--white);
}

.custom-amount {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-size: 1.1rem;
    transition: var(--transition);
}

.custom-amount:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,58,92,0.15);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.payment-method {
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method:hover,
.payment-method.selected {
    border-color: var(--primary);
    background: rgba(26,58,92,0.05);
}

.payment-method i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--primary);
}

.payment-method span {
    font-size: 0.82rem;
    font-weight: 600;
}

#paypal-button-container {
    max-width: 500px;
    margin: 20px auto;
}

/* ---- Form Styles ---- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ---- Page Hero ---- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.5;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 10px auto 0;
    position: relative;
}

/* ---- Contact Page ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--off-white);
    padding: 30px;
    border-radius: var(--radius-lg);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-info-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 20px;
}

.map-embed iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* ---- Gallery ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: var(--white);
    color: var(--accent-dark);
    font-size: 1.05rem;
}

.cta-section .btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }

.service-times {
    list-style: none;
}

.service-times li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.service-times li i {
    color: var(--accent);
    margin-top: 3px;
}

.service-times strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
}

.service-times span {
    font-size: 0.82rem;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.contact-info li i {
    color: var(--accent);
    margin-top: 3px;
}

.contact-info a {
    color: rgba(255,255,255,0.7);
}

.contact-info a:hover { color: var(--accent-light); }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-credits {
    margin-top: 5px;
    font-size: 0.78rem;
    opacity: 0.6;
}

/* ---- Alerts ---- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .welcome-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-slideshow { height: 450px; }

    .slide-overlay h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .mobile-menu-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 70px;
    }

    .main-nav.open { right: 0; }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .main-nav a {
        padding: 14px 16px;
        border-bottom: 1px solid var(--light-gray);
    }

    .hero-slideshow { height: 350px; }

    .slide-overlay h2 { font-size: 1.5rem; }

    .card-grid { grid-template-columns: 1fr; }

    .amount-grid { grid-template-columns: repeat(2, 1fr); }

    .page-hero h1 { font-size: 1.8rem; }

    .footer-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .donate-categories { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* ---- Donation Success/Thank You ---- */
.donation-success {
    text-align: center;
    padding: 60px 20px;
}

.donation-success i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
}

.donation-success h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* ---- Admin Styles ---- */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.login-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.login-card h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.login-card .logo-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Admin Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--primary-dark);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar-header h2 {
    color: var(--white);
    font-size: 1.1rem;
}

.admin-sidebar-header p {
    font-size: 0.78rem;
    opacity: 0.6;
}

.admin-nav {
    list-style: none;
    padding: 10px 0;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.admin-nav li a i { width: 20px; text-align: center; }

.admin-main {
    flex: 1;
    margin-left: 260px;
    background: var(--light-gray);
    min-height: 100vh;
}

.admin-topbar {
    background: var(--white);
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.admin-content {
    padding: 30px;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.admin-card h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
}

.admin-table th {
    background: var(--off-white);
    font-weight: 600;
    color: var(--primary-dark);
}

.admin-table tr:hover {
    background: rgba(26,58,92,0.02);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 6px;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #b91c1c;
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #047857;
    color: var(--white);
}
