/* ============================================
   ADDIS KIDAN — MAIN STYLESHEET
   "Radiant Covenant" Design System
   ============================================ */

:root {
  --gold: #D4A017;
  --gold-light: #F0C040;
  --purple-deep: #3B1F6E;
  --purple-mid: #5C3D9E;
  --crimson: #A8192E;
  --cream: #FDF8EE;
  --charcoal: #1C1C2E;
  --white: #FFFFFF;
  --gradient-hero: linear-gradient(135deg, #3B1F6E 0%, #5C3D9E 50%, #A8192E 100%);
  --gradient-gold: linear-gradient(90deg, #D4A017, #F0C040, #D4A017);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(59,31,110,0.15);
  --shadow-lg: 0 12px 40px rgba(59,31,110,0.25);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }

p { margin-bottom: 1rem; }

.amharic {
  font-family: 'Noto Serif Ethiopic', serif;
}

.text-gold { color: var(--gold); }
.text-purple { color: var(--purple-deep); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* ─── LAYOUT ─── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 80px 0;
}

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

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

.section-cream {
  background: var(--cream);
}

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

/* Ethiopian cross watermark background texture */
.section-texture {
  position: relative;
}
.section-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23D4A017' fill-opacity='0.04'%3E%3Cpath d='M36 0h8v16h16v8H44v16h-8V24H20v-8h16V0zm0 56h8v16h-8V56zm-20-4h16v8H16v-8zm32 0h16v8H48v-8z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.section-texture > * { position: relative; z-index: 1; }

/* ─── SECTION DIVIDER ─── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  max-width: 400px;
  margin: 0 auto;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--gradient-gold);
}

.divider-cross {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ─── EYEBROW TAG ─── */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::after { left: 100%; }

.btn-gold {
  background: var(--gradient-gold);
  background-size: 200%;
  color: var(--charcoal);
  border-color: transparent;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,160,23,0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple-deep);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}

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

.btn-purple:hover {
  background: var(--purple-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ─── HERO SECTIONS ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.78;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 900px;
  padding: 6rem 1.5rem 3rem;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Short hero for inner pages */
.hero-short {
  min-height: 50vh;
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-top: 3px solid var(--gold);
  transition: all var(--transition);
}

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

.card-body {
  padding: 1.75rem;
}

/* Photo card with overlay */
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border-top: none;
}

.photo-card img,
.photo-card .img-placeholder {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.photo-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59,31,110,0.92) 0%, rgba(59,31,110,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.photo-card .card-overlay h3 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.photo-card .card-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  transition: gap var(--transition);
}

.photo-card:hover .card-link { gap: 0.6rem; }

/* ─── GRIDS ─── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ─── IMAGE PLACEHOLDER ─── */
.img-placeholder {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  gap: 0.5rem;
  min-height: 300px;
}

.img-placeholder i { font-size: 2rem; opacity: 0.6; }
.img-placeholder span { font-size: 0.85rem; opacity: 0.7; }

/* ─── SERVICE TIMES STRIP ─── */
.service-strip {
  background: var(--purple-deep);
  color: var(--white);
  padding: 2rem 0;
}

.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-strip-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(212,160,23,0.3);
  position: relative;
}

.service-strip-item:last-child { border-right: none; }

.service-strip-item .time {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin: 0.25rem 0;
}

.service-strip-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
  display: block;
}

.service-strip-item .desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* ─── SPLIT SECTIONS ─── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * { direction: ltr; }

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

.split-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ─── SCRIPTURE BANNER ─── */
.scripture-banner {
  background: var(--purple-deep);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
}

.scripture-banner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.scripture-banner cite {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
}

/* ─── ICON BOX ─── */
.icon-box {
  text-align: center;
}

.icon-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(212,160,23,0.35);
}

/* ─── INFO BADGES ─── */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple-deep);
}

.badge i { color: var(--gold); }

/* ─── ACCORDION (Beliefs) ─── */
.accordion-item {
  border-bottom: 1px solid rgba(212,160,23,0.2);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  transition: color var(--transition);
}

.accordion-header:hover { color: var(--purple-mid); }

.accordion-bullet {
  width: 28px;
  height: 28px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--charcoal);
  font-weight: 900;
  flex-shrink: 0;
}

.accordion-icon {
  margin-left: auto;
  color: var(--gold);
  transition: transform var(--transition);
}

.accordion-item.open .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  padding: 0 0 1.25rem 2.75rem;
  color: #555;
  line-height: 1.75;
  display: none;
}

.accordion-item.open .accordion-body { display: block; }

/* ─── LEADERSHIP CARDS ─── */
.leader-card {
  text-align: center;
}

.leader-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(212,160,23,0.3);
}

.leader-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 4px solid var(--gold);
  color: var(--gold);
  font-size: 2.5rem;
}

/* ─── YOUTUBE EMBED ─── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── GIVING CARDS ─── */
.giving-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
  text-align: center;
}

.giving-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ─── CONTACT FORM ─── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 2px solid rgba(59,31,110,0.15);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ─── EVENT CARDS ─── */
.event-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.event-date-badge {
  width: 64px;
  height: 64px;
  background: var(--gradient-hero);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.event-date-badge .day {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.event-date-badge .month {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

/* ─── SOCIAL LINKS ─── */
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.social-btn.facebook {
  background: #1877F2;
  color: white;
}

.social-btn.youtube {
  background: #FF0000;
  color: white;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ─── MAP ─── */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ─── SECTION HEADINGS ─── */
.section-heading {
  margin-bottom: 3rem;
}

.section-heading.centered { text-align: center; }

.section-heading .subtitle {
  font-size: 1.05rem;
  color: #666;
  margin-top: 0.75rem;
  font-weight: 300;
  max-width: 600px;
}

.section-heading.centered .subtitle { margin-left: auto; margin-right: auto; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .split-section.reverse { direction: ltr; }
  .service-strip-grid { grid-template-columns: 1fr; }
  .service-strip-item { border-right: none; border-bottom: 1px solid rgba(212,160,23,0.3); }
  .service-strip-item:last-child { border-bottom: none; }
  .hero-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
  h1 { font-size: 2rem; }
}
