@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --blue: #1a3a6b;
  --blue-dark: #0f2347;
  --blue-mid: #2a5298;
  --gold: #ffd700;
  --gold-light: #e6c97a;
  --gold-dark: #a07830;
  --cream: #faf7f0;
  --cream-dark: #f0ead8;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --text: #1f2937;
  --text-light: #4b5563;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--white); }

/* TOPBAR */
.topbar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  padding: 8px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: rgba(255,255,255,0.85); text-decoration: none; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-left, .topbar-right { display: flex; gap: 20px; flex-wrap: wrap; }

/* HEADER */
header {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-logo { display: flex; align-items: center; gap: 16px; }
.logo-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
   background-image: url('/Img/st-cosmas.jpg.jpeg');
  background-size: cover;
  background-position: center top;
}
.header-title h1 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}
.header-title p { font-size: 15px; color: var(--gray); margin-top: 2px; }
.diocese-badge { display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; color: var(--gray);
 background-image: url('/Img/abeokuta-diocese-logo.jpg.jpeg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 60px;
}
.diocese-badge strong { font-size: 13px; color: var(--blue); font-weight: 700; }

/* NAV */
nav {
  background: var(--blue);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav ul { list-style: none; display: flex; }
nav ul li a {
  display: block;
  padding: 16px 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
nav ul li a:hover, nav ul li a.active {
  color: var(--gold);
  background: rgba(255,255,255,0.07);
}
.nav-admin { display: flex; gap: 16px; }
.nav-admin a { font-size: 11px; color: rgba(255,255,255,0.5); text-decoration: none; }
.nav-admin a:hover { color: var(--gold); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; }
.mobile-nav { display: none; background: var(--blue-dark); padding: 0 24px 16px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* PAGE HEADER BANNER */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 70px 80px;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.page-header > * { position: relative; }
.page-header .section-tag { margin-bottom: 8px; }
.page-header h1 { font-family: 'Cinzel', serif; font-size: clamp(24px, 3vw, 44px); margin-bottom: 14px; line-height: 1.2; }
.page-header p { font-family: 'Crimson Pro', serif; font-size: 18px; color: rgba(255,255,255,0.75); max-width: 600px; line-height: 1.6; }

/* SECTION HELPERS */
.section { padding: 80px 80px; }
.section-sm { padding: 60px 80px; }
.section-cream { background: var(--cream); }
.section-blue { background: var(--blue); }
.section-blue-dark { background: var(--blue-dark); }

.section-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title.white { color: white; }
.section-subtitle {
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.6;
}
.section-subtitle.white { color: rgba(255,255,255,0.7); }

/* BUTTONS */
.btn-gold {
  background: var(--gold); color: var(--blue-dark);
  padding: 14px 28px; border-radius: 4px;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline-white {
  background: rgba(255,255,255,0.1); color: white;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 14px 28px; border-radius: 4px;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }
.btn-blue {
  background: var(--blue); color: white;
  padding: 12px 24px; border-radius: 4px;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-blue:hover { background: var(--blue-mid); }
.btn-outline-blue {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
  padding: 12px 24px; border-radius: 4px;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-blue:hover { background: var(--blue); color: white; }

/* GRIDS */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.four-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

/* CARDS */
.card {
  background: white; border-radius: 12px;
  border: 1px solid #e5e7eb; padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.card-gold-left { border-left: 4px solid var(--gold); }
.card-blue-bg {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; padding: 28px;
  transition: transform 0.2s, background 0.2s;
  color: white;
}
.card-blue-bg:hover { transform: translateY(-3px); background: rgba(255,255,255,0.12); }

/* SCHEDULE ITEM */
.schedule-item {
  display: flex; align-items: center; gap: 16px;
  background: white; border-radius: 8px;
  padding: 16px 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb; margin-bottom: 12px;
}
.schedule-icon {
  width: 44px; height: 44px; background: var(--blue);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 18px; color: var(--gold);
}
.schedule-info h4 { font-weight: 700; color: var(--blue); font-size: 14px; }
.schedule-info p { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.schedule-note { font-size: 12px; color: var(--gray); margin-left: auto; white-space: nowrap; }

/* STAT CARDS */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.stat-card { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 24px; text-align: center; }
.stat-card .num { font-family: 'Cinzel', serif; font-size: 34px; color: var(--gold); font-weight: 700; display: block; }
.stat-card .label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* FILTER PILLS */
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.pill {
  padding: 8px 18px; border-radius: 20px; border: none; cursor: pointer;
  font-size: 13px; font-weight: 700; transition: all 0.2s;
  background: var(--gray-light); color: var(--text-light);
}
.pill.active { background: var(--blue); color: white; }
.pill:hover:not(.active) { background: #e5e7eb; }

/* BADGE */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-pinned { background: var(--gold); color: var(--blue-dark); }
.badge-liturgy { background: #ede9fe; color: #5b21b6; }
.badge-meeting { background: #ffedd5; color: #9a3412; }
.badge-education { background: #fef3c7; color: #92400e; }
.badge-org { background: #dcfce7; color: #14532d; }
.badge-sacrament { background: #dbeafe; color: #1e40af; }

/* FOOTER */
footer { background: var(--blue-dark); color: rgba(255,255,255,0.8); }
.footer-main {
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  font-family: 'Crimson Pro', serif;
  font-size: 14px; line-height: 1.7;
  margin-top: 12px; color: rgba(255,255,255,0.55);
}
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: white; text-decoration: none;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--blue-dark); }
.footer-col h4 { font-family: 'Cinzel', serif; font-size: 14px; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a {
  font-size: 13px; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.2s;
}
.footer-links li a:hover { color: var(--gold); }
.footer-schedule-row { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.6); padding: 4px 0; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 80px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 8px;
}

/* TOAST */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--blue); color: white;
  padding: 16px 24px; border-radius: 8px;
  font-size: 14px; display: none; z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .section, .section-sm, .page-header { padding: 60px 40px; }
  .footer-main { padding: 40px 40px; grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 16px 40px; }
  header, nav { padding-left: 40px; padding-right: 40px; }
  .topbar { padding: 6px 40px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .three-col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section, .section-sm, .page-header { padding: 50px 24px; }
  .footer-main { padding: 40px 24px; grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; text-align: center; }
  header { padding: 12px 24px; }
  nav { padding: 0 24px; }
  nav ul { display: none; }
  .nav-admin { display: none; }
  .hamburger { display: block; }
  .topbar { padding: 6px 24px; }
  .three-col { grid-template-columns: 1fr; }
  .diocese-badge { display: none; }
}
@media (max-width: 480px) {
  .hero-content { padding: 0 24px; }
  .hero h2 { font-size: 26px; }
}
@keyframes bounce {
	0%, 100% {
		transform: translateX(-50%) translateY(0);
	}

	50% {
		transform: translateX(-50%) translateY(6px);
	}
}
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@media(max - width:900px) {
	.bishop-layout {
		grid-template-columns: 1fr;
	}

	.bishop-sidebar {
		position: static;
	}
}
@media(max - width:900px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.form-row {
		grid-template-columns: 1fr;
	}
}
@media(max - width:768px) {
	.feat-grid {
		grid-template-columns: 1fr;
	}
}
