/* ============================================
   THRIVE COMMUNITY CHURCH - Complete Stylesheet
   Plain HTML/CSS - Works in any cPanel folder
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #7A8B4F;
  --primary-light: #9BAE6A;
  --primary-dark: #5C6B3A;
  --charcoal: #1A1A1A;
  --dark-gray: #2D2D2D;
  --warm-gray: #6B6560;
  --light-warm: #F5F0EB;
  --cream: #EDE8E2;
  --white: #FFFFFF;
  --max-width: 1280px;
  --nav-height: 72px;
  --section-pad: clamp(5rem, 10vh, 10rem);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--light-warm); color: var(--charcoal); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }
.max-w-960 { max-width: 960px; margin-left: auto; margin-right: auto; }

/* ---- Navigation ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-height); transition: all 0.5s ease; background: transparent; }
.nav.scrolled { background: rgba(245,240,235,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(26,26,26,0.06); }
.nav-container { max-width: var(--max-width); margin: 0 auto; height: 100%; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo-img { height: 56px; width: auto; object-fit: contain; transition: opacity 0.3s; }
.nav-logo-img.hidden { display: none; }
.nav-links { display: none; align-items: center; gap: 1.25rem; }
.nav-links a { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); transition: color 0.3s; position: relative; }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--charcoal); }
.nav.scrolled .nav-links a:hover { color: var(--primary); }
.nav-social { display: none; align-items: center; gap: 0.5rem; padding-left: 0.75rem; margin-left: 0.75rem; border-left: 1px solid rgba(255,255,255,0.2); }
.nav.scrolled .nav-social { border-color: rgba(26,26,26,0.2); }
.nav-social a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.nav-social a:hover { color: var(--primary); }
.nav.scrolled .nav-social a { color: rgba(26,26,26,0.6); }
.nav-mobile-btn { display: flex; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.nav-mobile-btn span { display: block; width: 24px; height: 2px; background: var(--white); transition: background 0.5s; }
.nav.scrolled .nav-mobile-btn span { background: var(--charcoal); }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 99; background: var(--cream); flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; opacity: 0; transform: translateX(100%); transition: opacity 0.4s, transform 0.4s; }
.mobile-menu.open { display: flex; opacity: 1; transform: translateX(0); }
.mobile-menu a { font-size: 1.5rem; font-weight: 300; color: var(--charcoal); transition: color 0.3s; }
.mobile-menu a:hover { color: var(--primary); }
.mobile-social { display: flex; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(26,26,26,0.1); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 20s ease-in-out infinite alternate; }
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,26,0.78) 0%, rgba(26,26,26,0.58) 40%, rgba(26,26,26,0.72) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 1.5rem; max-width: 700px; }
.hero-logo { height: 120px; margin: 0 auto 1.5rem; object-fit: contain; filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4)); }
.hero-welcome { color: var(--primary-light); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.hero-title { font-family: 'Playfair Display', serif; color: var(--white); font-size: clamp(3.5rem, 10vw, 7rem); line-height: 0.9; letter-spacing: -0.02em; font-weight: 400; margin-bottom: 0.25rem; }
.hero-subtitle { color: rgba(255,255,255,0.9); font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 1.5rem; }
.hero-tagline { color: rgba(255,255,255,0.75); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 300; line-height: 1.6; max-width: 560px; margin: 0 auto 2.5rem; }
.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.hero-scroll span { color: rgba(255,255,255,0.5); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; }
.hero-scroll svg { opacity: 0.5; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; padding: 1rem 2.5rem; border-radius: 9999px; transition: all 0.3s; cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: scale(1.02); box-shadow: 0 4px 20px rgba(122,139,79,0.3); }
.btn-outline { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { background: rgba(255,255,255,0.2); color: var(--white); }
.btn-give { background: var(--primary-light); color: var(--charcoal); }
.btn-give:hover { background: var(--primary); color: var(--white); }
.btn-secondary { background: transparent; color: var(--warm-gray); border: 1px solid var(--cream); }
.btn-secondary:hover { background: var(--cream); color: var(--charcoal); }
.w-full { width: 100%; }

/* ---- Sections ---- */
.section { padding: var(--section-pad) 0; }
.section-light { background: var(--light-warm); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--charcoal); }

/* ---- Section Logo ---- */
.section-logo { height: 72px; object-fit: contain; }
.footer-logo { height: 72px; object-fit: contain; }

/* ---- Typography ---- */
.overline { color: var(--primary); font-size: clamp(0.75rem, 0.9vw, 0.85rem); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.overline-light { color: var(--primary-light); }
.section-title { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 1.5rem; }
.text-white { color: var(--white); }
.text-white-70 { color: rgba(255,255,255,0.7); }
.text-white-85 { color: rgba(255,255,255,0.85); }
.text-white-60 { color: rgba(255,255,255,0.6); }
.text-white-50 { color: rgba(255,255,255,0.5); }
.text-white-40 { color: rgba(255,255,255,0.4); }
.text-primary-light { color: var(--primary-light); }
.text-primary-light-70 { color: rgba(154,174,106,0.7); }
.body-text { color: var(--warm-gray); font-size: clamp(0.95rem, 1.1vw, 1.1rem); font-weight: 300; line-height: 1.6; margin-bottom: 1.25rem; }
.body-text.text-white { color: var(--white) !important; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mt-10 { margin-top: 2.5rem; }
.my-16 { margin-top: 4rem; margin-bottom: 4rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.text-sm { font-size: 0.875rem; }
.text-warm-gray { color: var(--warm-gray); }
.text-charcoal { color: var(--charcoal); }
.hover\:text-primary:hover { color: var(--primary); }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.tracking-wider { letter-spacing: 0.05em; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ---- Scroll Reveal Animations ---- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger-children > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }

/* ---- Hover Animations ---- */
.hover-lift { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.hover-scale { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.hover-scale:hover { transform: scale(1.03); }

/* ---- Quote Block ---- */
.quote-block { margin-top: 2rem; padding: 1.5rem; background: rgba(122,139,79,0.1); border-radius: 1rem; border-left: 4px solid var(--primary); }
.quote-block p { font-family: 'Playfair Display', serif; font-style: italic; color: var(--primary); font-size: 1.125rem; line-height: 1.4; }
.quote-block cite { display: block; color: var(--warm-gray); font-size: 0.875rem; font-style: normal; margin-top: 0.5rem; }
.quote-block-dark { margin-top: 1.5rem; padding: 1.25rem; background: rgba(122,139,79,0.1); border-radius: 1rem; border-left: 4px solid var(--primary); }
.quote-block-dark p { font-family: 'Playfair Display', serif; font-style: italic; color: var(--primary); font-size: 1.125rem; }
.quote-block-dark cite { display: block; color: rgba(255,255,255,0.5); font-size: 0.875rem; font-style: normal; margin-top: 0.5rem; }

/* ---- Grid Layouts ---- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }

/* ---- Image Wrap ---- */
.image-wrap { position: relative; }
.image-accent { position: absolute; top: -1.5rem; right: -1.5rem; width: 8rem; height: 8rem; background: var(--primary); opacity: 0.1; border-radius: 1rem; filter: blur(20px); }
.image-accent::after { content: ''; position: absolute; bottom: -2rem; left: -2rem; width: 10rem; height: 10rem; background: var(--primary-light); opacity: 0.1; border-radius: 50%; filter: blur(20px); }
.image-card { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 60px rgba(26,26,26,0.12); padding-bottom: 1.5rem; padding-left: 1.5rem; }
.image-card img { width: 100%; border-radius: 1rem; }
.image-badge { position: absolute; bottom: 0; left: 0; background: var(--white); border-radius: 0.75rem; padding: 0.75rem 1.25rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 0.75rem; z-index: 10; }
.badge-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(122,139,79,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-title { color: var(--charcoal); font-size: 0.875rem; font-weight: 500; }
.badge-sub { color: var(--warm-gray); font-size: 0.75rem; }

/* ---- Ministry Grid ---- */
.ministry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 5rem; }
.ministry-item { text-align: center; padding: 1.5rem 1.25rem; background: var(--cream); border-radius: 1rem; transition: transform 0.3s, box-shadow 0.3s; }
.ministry-item:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.ministry-item svg { margin: 0 auto 0.75rem; }
.ministry-item p { color: var(--charcoal); font-size: 0.875rem; font-weight: 500; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 3rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: 0.75rem; aspect-ratio: 4 / 5; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.7s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,0.8), rgba(26,26,26,0.1), transparent); opacity: 0; transition: opacity 0.5s; display: flex; align-items: flex-end; padding: 1rem; }
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption p { color: var(--white); font-family: 'Playfair Display', serif; font-style: italic; font-size: 0.875rem; transform: translateY(20px); transition: transform 0.5s; }
.gallery-item:hover .gallery-caption p { transform: translateY(0); }

/* ---- Vision Section ---- */
.vision-images { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3.5rem; }
.vision-card { position: relative; border-radius: 1rem; overflow: hidden; }
.vision-card img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.7s; }
.vision-card:hover img { transform: scale(1.05); }
.vision-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; background: linear-gradient(to top, rgba(26,26,26,0.7), transparent); }
.label-tag { color: var(--primary-light); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.label-caption { color: var(--white); font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.125rem; }

/* ---- Pillars ---- */
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
.pillar-card { background: var(--dark-gray); border-radius: 1rem; padding: 1.5rem; transition: transform 0.4s, box-shadow 0.4s; }
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.pillar-card svg { margin-bottom: 0.75rem; }
.pillar-card h4 { color: var(--white); font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; }
.pillar-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; font-weight: 300; line-height: 1.5; }

/* ---- Goals ---- */
.goals-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.goal-card { background: var(--dark-gray); border-radius: 1rem; padding: 2rem; }
.goal-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; font-weight: 300; line-height: 1.5; margin-bottom: 0.75rem; }
.goal-list li::before { content: ''; flex-shrink: 0; margin-top: 0.3rem; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A8B4F' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center; }

/* ---- Service Cards ---- */
.service-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.service-card { background: var(--white); border-radius: 1.5rem; padding: 2.5rem; text-align: center; transition: transform 0.4s, box-shadow 0.4s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.service-icon { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; }
.service-card h3 { color: var(--charcoal); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; }
.service-time { color: var(--charcoal); font-size: 1.125rem; font-weight: 500; margin-bottom: 0.75rem; }
.service-desc { color: var(--warm-gray); font-size: 0.95rem; font-weight: 300; }

/* ---- Address Card ---- */
.address-card { background: var(--white); border-radius: 1.5rem; padding: 2rem; text-align: center; box-shadow: 0 20px 60px rgba(26,26,26,0.12); margin-top: 3.5rem; transition: transform 0.4s; }
.address-card:hover { transform: translateY(-4px); }
.address-icon { width: 4rem; height: 4rem; margin: 0 auto 1.25rem; border-radius: 50%; background: rgba(122,139,79,0.15); display: flex; align-items: center; justify-content: center; }
.address-main { color: var(--charcoal); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.25rem; }
.address-sub { color: var(--warm-gray); font-size: 1rem; font-weight: 300; margin-bottom: 1.5rem; }

/* ---- Our Space ---- */
.our-space { position: relative; height: 70vh; min-height: 500px; overflow: hidden; }
.our-space > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.our-space-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,26,26,0.82) 0%, rgba(26,26,26,0.45) 50%, rgba(26,26,26,0.2) 100%); }
.our-space::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, #7A8B4F, #9BAE6A, transparent); }
.our-space-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-radius: 9999px; padding: 0.625rem 1.25rem; color: rgba(255,255,255,0.9); font-size: 0.875rem; }

/* ---- Giving Progress ---- */
.goal-progress-card { background: var(--dark-gray); border-radius: 1rem; padding: 2.5rem; }
.goal-amount { color: var(--white); font-size: clamp(3rem, 6vw, 5rem); font-weight: 300; line-height: 0.95; margin-bottom: 1rem; }
.progress-bar { width: 100%; background: rgba(255,255,255,0.1); border-radius: 9999px; height: 0.75rem; margin-bottom: 0.75rem; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 9999px; background: linear-gradient(to right, var(--primary), var(--primary-light)); transition: width 1.5s ease-out; }
.progress-labels { display: flex; justify-content: space-between; font-size: 0.875rem; }
.bank-card { background: var(--dark-gray); border-radius: 1rem; padding: 2rem; }
.bank-details p { color: rgba(255,255,255,0.8); font-size: 0.95rem; font-weight: 300; margin-bottom: 0.5rem; }
.bank-details span { color: rgba(255,255,255,0.5); }

/* ---- Pastors ---- */
.pastors-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 48rem; margin: 3rem auto 0; }
.pastor-card { background: var(--white); border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 60px rgba(26,26,26,0.12); transition: transform 0.4s, box-shadow 0.4s; }
.pastor-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(26,26,26,0.18); }
.pastor-photo { position: relative; height: 320px; overflow: hidden; }
.pastor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.7s; }
.pastor-card:hover .pastor-photo img { transform: scale(1.05); }
.pastor-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,0.6), transparent); }
.pastor-info { padding: 1.5rem; text-align: center; }
.pastor-info h3 { color: var(--charcoal); font-size: 1.125rem; font-weight: 500; margin-bottom: 0.25rem; }
.pastor-role { color: var(--primary); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.pastor-info a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--warm-gray); font-size: 0.875rem; }
.pastor-info a:hover { color: var(--primary); }

/* ---- Contact ---- */
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(122,139,79,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-card { background: var(--white); border-radius: 1.5rem; padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; color: var(--charcoal); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.875rem 1rem; border-radius: 0.75rem; border: 1px solid #ddd6ce; background: var(--light-warm); color: var(--charcoal); font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(122,139,79,0.15); }
.form-group textarea { resize: none; }

/* ---- Link Styles ---- */
.link-primary { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); font-weight: 500; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.link-primary:hover { color: var(--primary-dark); }

/* ---- Footer ---- */
.footer { background: var(--charcoal); padding-top: 5rem; padding-bottom: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all 0.3s; }
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-links span { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.7); font-size: 0.95rem; font-weight: 300; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-social-text { display: flex; gap: 1rem; }
.footer-social-text a { color: rgba(255,255,255,0.4); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-social-text a:hover { color: var(--primary); }

/* ---- Back to Top ---- */
.back-to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; width: 3rem; height: 3rem; border-radius: 50%; background: var(--primary); color: var(--white); border: none; box-shadow: 0 4px 20px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(1rem); transition: all 0.5s; pointer-events: none; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: scale(1.1); }

/* ==================== EVENTS SECTION ==================== */
.events-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
.event-card { background: var(--white); border-radius: 1rem; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.4s, box-shadow 0.4s; }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.event-img { height: 180px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-img svg { color: rgba(255,255,255,0.4); }
.event-body { padding: 1.5rem; }
.event-title { color: var(--charcoal); font-size: 1.125rem; font-weight: 500; margin-bottom: 0.75rem; }
.event-meta { display: flex; flex-direction: column; gap: 0.4rem; }
.event-meta-item { display: flex; align-items: center; gap: 0.5rem; color: var(--warm-gray); font-size: 0.85rem; }
.event-meta-item svg { color: var(--primary); flex-shrink: 0; }

/* ---- Events Admin ---- */
.events-admin-wrap { display: flex; justify-content: flex-end; margin-bottom: 1rem; position: relative; }
.admin-lock-btn { background: none; border: none; color: rgba(107,101,96,0.25); cursor: pointer; padding: 0.5rem; border-radius: 50%; transition: all 0.3s; }
.admin-lock-btn:hover { color: var(--primary); background: rgba(122,139,79,0.1); }
.admin-panel { display: flex; align-items: center; gap: 0.5rem; }
.admin-panel.hidden { display: none; }
.admin-label { color: var(--primary); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-action-btn { background: rgba(122,139,79,0.1); border: none; color: var(--primary); width: 2rem; height: 2rem; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.admin-action-btn:hover { background: var(--primary); color: var(--white); }
.admin-action-btn.logout { background: rgba(26,26,26,0.05); color: var(--warm-gray); }
.admin-action-btn.logout:hover { background: rgba(26,26,26,0.1); color: var(--charcoal); }

/* ---- Modals ---- */
.modal { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(26,26,26,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 1rem; }
.modal.active { display: flex; }
.modal-content { background: var(--white); border-radius: 1.5rem; padding: 2rem; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto; position: relative; animation: modalIn 0.3s ease; }
.modal-lg { max-width: 720px; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; color: var(--warm-gray); cursor: pointer; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s; }
.modal-close:hover { background: var(--cream); color: var(--charcoal); }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--charcoal); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.login-error { color: #dc2626; font-size: 0.875rem; margin: 0.5rem 0; min-height: 1.25rem; }

/* ---- Form Grid ---- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-grid .full-width { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.event-list { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--cream); max-height: 300px; overflow-y: auto; }
.event-list-item { display: flex; align-items: flex-start; justify-content: space-between; padding: 0.75rem; background: var(--light-warm); border-radius: 0.75rem; margin-bottom: 0.5rem; }
.event-list-info { flex: 1; min-width: 0; }
.event-list-title { color: var(--charcoal); font-weight: 500; font-size: 0.9rem; }
.event-list-date { color: var(--warm-gray); font-size: 0.8rem; }
.event-list-actions { display: flex; gap: 0.25rem; margin-left: 0.5rem; }
.event-list-actions button { background: none; border: none; color: var(--warm-gray); cursor: pointer; padding: 0.25rem; border-radius: 0.25rem; transition: color 0.2s; }
.event-list-actions button:hover { color: var(--primary); }
.event-list-actions button.delete:hover { color: #dc2626; }

/* ---- Responsive ---- */
@media (min-width: 768px) {
  .nav-links, .nav-social { display: flex; }
  .nav-mobile-btn { display: none; }
  .hero-title { font-size: clamp(4rem, 8vw, 7rem); }
  .hero-buttons { flex-direction: row; }
  .grid-2 { grid-template-columns: 55% 45%; }
  .ministry-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .vision-images { grid-template-columns: repeat(3, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .pastors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nav-logo-img { height: 64px; }
  .hero-logo { height: 160px; }
  .section-logo { height: 80px; }
  .footer-logo { height: 64px; }
  .ministry-grid { grid-template-columns: repeat(6, 1fr); }
  .gallery-grid { grid-template-columns: repeat(5, 1fr); }
  .pillars-grid { grid-template-columns: repeat(4, 1fr); }
  .goals-grid { grid-template-columns: repeat(3, 1fr); }
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- No Events Message ---- */
.no-events { text-align: center; padding: 3rem 1rem; }
.no-events svg { margin: 0 auto 1rem; color: var(--primary); opacity: 0.4; }
.no-events p { color: var(--warm-gray); font-size: 1rem; }
.no-events p.small { font-size: 0.85rem; opacity: 0.7; }

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-warm); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }
