/* India Christian Fellowship — placeholder site */

:root {
  --ink: #14233a;
  --ink-soft: #4a5a70;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e6e2d9;
  --blue: #1f9ad6;
  --blue-deep: #0d5f8c;
  --green: #7cb342;
  --flame: #f28c28;
  --flame-deep: #d9541e;
  --navy: #0f1d33;
  --radius: 14px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }
a:hover { color: var(--flame-deep); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 44px; width: auto; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 480px) { .brand small { display: none; } }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { background: #f0ece3; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue-deep); background: #e7f3fa; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px;
    font: inherit;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--flame); color: #fff; }
.btn-primary:hover { background: var(--flame-deep); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { color: inherit; background: rgba(255, 255, 255, 0.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 140, 40, 0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(124, 179, 66, 0.3), transparent 40%),
    linear-gradient(135deg, #0f1d33 0%, #133a5e 60%, #0d5f8c 100%);
  padding: clamp(64px, 10vw, 120px) 0;
}
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: #ffd29f; }
.hero p.lead { font-size: 1.15rem; color: #d7e3f0; max-width: 34em; }
.hero-logo { justify-self: center; width: min(260px, 60%); height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-logo { grid-row: 1; width: 72px; justify-self: start; }
}

.page-hero {
  background: linear-gradient(135deg, #0f1d33 0%, #133a5e 100%);
  color: #fff;
  padding: clamp(48px, 8vw, 88px) 0;
}
.page-hero p { color: #d7e3f0; max-width: 40em; font-size: 1.1rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flame-deep);
  margin-bottom: 12px;
}

/* Sections */
section.block { padding: clamp(56px, 8vw, 96px) 0; }
section.alt { background: #f3f0e8; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (max-width: 380px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .meta { font-size: 0.9rem; color: var(--ink-soft); }

.accent-blue { border-top: 4px solid var(--blue); }
.accent-green { border-top: 4px solid var(--green); }
.accent-flame { border-top: 4px solid var(--flame); }

a.card { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15, 29, 51, 0.08); color: inherit; }
a.card .more { color: var(--blue-deep); font-weight: 600; font-size: 0.95rem; }

/* Schedule */
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.schedule li:last-child { border-bottom: 0; }
.schedule strong { font-weight: 600; }
.schedule span { color: var(--ink-soft); text-align: right; white-space: nowrap; }

/* Pillars */
.pillars { counter-reset: p; }
.pillars .card { position: relative; }
.pillars .card::before {
  counter-increment: p;
  content: "0" counter(p);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--line);
  position: absolute;
  top: 16px;
  right: 22px;
}

/* Faith list */
.faith { columns: 2 340px; column-gap: 40px; padding-left: 1.2em; margin: 0; }
.faith li { break-inside: avoid; margin-bottom: 14px; }
.faith li::marker { color: var(--flame); }

/* People */
.people { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.person .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.1rem;
  color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  margin-bottom: 14px;
}
.person h3 { font-size: 1.1rem; margin-bottom: 2px; }
.person .role { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--flame-deep); font-weight: 700; }
.person .phone { display: inline-block; margin-top: 8px; font-size: 0.95rem; }

/* Quote */
blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.4;
  max-width: 820px;
}
blockquote cite { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 0.95rem; color: var(--ink-soft); }

/* Videos */
.videos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.video { text-decoration: none; color: var(--ink); }
.video .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #dfe5ec;
}
.video .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.video:hover .thumb img { transform: scale(1.04); }
.video .thumb::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(15, 29, 51, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.video .dur {
  position: absolute; right: 8px; bottom: 8px; z-index: 1;
  background: rgba(0, 0, 0, 0.75); color: #fff;
  font-size: 0.75rem; font-weight: 600; padding: 2px 6px; border-radius: 4px;
}
.video h3 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; line-height: 1.4; margin: 10px 0 0; }
.video:hover h3 { color: var(--blue-deep); }

/* Map */
.map { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* CTA band */
.cta {
  background: linear-gradient(120deg, var(--flame) 0%, var(--flame-deep) 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 80px) 0;
}
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0; }
.cta p { margin: 6px 0 0; color: #fff3e6; }
.cta .btn-light { background: #fff; color: var(--flame-deep); }

/* Footer */
.site-footer { background: var(--navy); color: #b9c6d6; padding: 56px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #e5edf6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 20px; font-size: 0.85rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 12px; }
