/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --primary: #1a3a6b;
  --primary-dark: #0f2347;
  --accent: #c9a84c;
  --light-bg: #f0f4ff;
  --cream: #faf8f3;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 12px;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.highlight { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; border: none; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,58,107,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-donate { background: var(--accent); color: var(--white); padding: 10px 24px; }
.btn-donate:hover { background: #a8882f; transform: translateY(-2px); }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.97); box-shadow: 0 2px 15px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.1rem; }
.logo-text { font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.95rem; color: var(--primary); display: block; line-height: 1.2; }
.logo-sub { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 0.75rem; color: var(--accent); display: block; }
.nav { display: flex; gap: 28px; }
.nav a { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--text); transition: color 0.3s; }
.nav a:hover { color: var(--primary); }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

/* ===== MOBILE MENU ===== */
.mobile-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.5); }
.mobile-overlay.active { display: flex; justify-content: flex-end; }
.mobile-menu { background: var(--white); width: 280px; height: 100%; padding: 40px 30px; display: flex; flex-direction: column; gap: 20px; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-link { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text); padding: 10px 0; border-bottom: 1px solid #eee; }
.mobile-link:hover { color: var(--primary); }
.close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); align-self: flex-end; }

/* ===== HERO ===== */
.hero { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: center; overflow: hidden; margin-top: 70px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,35,71,0.9) 0%, rgba(26,58,107,0.7) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.25); color: var(--accent); font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 0.85rem; padding: 8px 18px; border-radius: 50px; margin-bottom: 20px; border: 1px solid rgba(201,168,76,0.4); letter-spacing: 1px; }
.hero-content h1 { font-family: 'Cinzel', serif; font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; opacity: 0.92; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== SECTION TAGS ===== */
.section-tag { display: inline-block; background: var(--light-bg); color: var(--primary); font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; padding: 6px 16px; border-radius: 50px; margin-bottom: 12px; }
.section-tag.center { display: block; text-align: center; }

/* ===== ABOUT ===== */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.about-text h3 { font-family: 'Raleway', sans-serif; font-size: 1rem; color: var(--primary); margin: 20px 0 8px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.about-text p { line-height: 1.8; color: var(--text-light); }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 450px; object-fit: cover; }
.scripture-box { background: var(--primary); color: var(--white); border-radius: var(--radius); padding: 24px; margin-top: 20px; position: relative; }
.scripture-box i { font-size: 1.5rem; color: var(--accent); margin-bottom: 10px; display: block; }
.scripture-box p { font-style: italic; line-height: 1.7; font-size: 0.95rem; margin-bottom: 8px; color: rgba(255,255,255,0.9); }
.scripture-box span { font-size: 0.85rem; color: var(--accent); font-weight: 700; }

/* ===== EVENTS ===== */
.events { background: var(--white); }
.events h2 { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 40px; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 50px; }
.event-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; border-top: 4px solid var(--accent); }
.event-card:hover { transform: translateY(-6px); }
.event-card img { width: 100%; height: 210px; object-fit: cover; }
.event-body { padding: 22px; }
.event-date { font-size: 0.82rem; color: var(--accent); font-weight: 700; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.event-body h3 { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.event-body p { font-size: 0.9rem; line-height: 1.7; color: var(--text-light); }

.involve-box { background: var(--light-bg); border-radius: var(--radius); padding: 40px; text-align: center; }
.involve-box h3 { font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 30px; }
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.involve-item { padding: 24px 20px; background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.involve-item i { font-size: 2.5rem; color: var(--accent); margin-bottom: 12px; }
.involve-item h4 { font-family: 'Raleway', sans-serif; font-weight: 800; margin-bottom: 8px; color: var(--primary); }
.involve-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== FOOTER ===== */
.footer { background: var(--primary-dark); color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.footer-col h4 { font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.95rem; color: var(--white); margin-bottom: 16px; }
.footer-col p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-col p i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-col a { display: block; font-size: 0.9rem; color: #ccc; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-email { color: var(--accent) !important; font-size: 1rem !important; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { font-size: 0.85rem; }
.scroll-top { background: var(--accent); color: var(--white); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; transition: background 0.3s; }
.scroll-top:hover { background: var(--primary); }

/* ===== MODALS ===== */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.65); align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: var(--white); border-radius: var(--radius); padding: 40px; max-width: 500px; width: 90%; position: relative; animation: fadeUp 0.3s ease; }
.modal-small { max-width: 380px; text-align: center; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal h2 { font-family: 'Cinzel', serif; font-size: 1.5rem; color: var(--primary); margin-bottom: 10px; }
.modal p { color: var(--text-light); margin-bottom: 20px; }
.modal .close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.3rem; color: var(--text-light); }
.modal form { display: flex; flex-direction: column; gap: 14px; }
.modal input, .modal textarea { border: 1.5px solid #ddd; border-radius: 8px; padding: 12px 16px; font-family: 'Raleway', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.3s; }
.modal input:focus, .modal textarea:focus { border-color: var(--primary); }
.success-icon { font-size: 3.5rem; color: var(--accent); margin-bottom: 16px; }
.thank-you-content { display: flex; flex-direction: column; align-items: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img img { height: 300px; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .btn-donate { display: none; }
  .hamburger { display: block; }
  .hero-content h1 { font-size: 1.9rem; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
