/* ICTC website styles
   Brand colors and fonts carried over from the original site:
   navy #182C4A, gold #DCAD69, Playfair Display (headings), Roboto (text) */

:root {
  --navy: #182C4A;
  --navy-deep: #0F1E33;
  --gold: #DCAD69;
  --gold-dark: #B98A45;
  --ink: #1F2A37;
  --muted: #5B6573;
  --line: #E6E1D8;
  --cream: #FAF7F1;
  --white: #FFFFFF;
  --radius: 10px;
  --wrap: 1140px;
  --shadow: 0 10px 30px rgba(15, 30, 51, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 700; margin-bottom: .6em;
}
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none; letter-spacing: .02em; border: 2px solid transparent; transition: .2s ease; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand img { height: 46px; width: auto; }
.nav-toggle {
  display: none; background: none; border: 2px solid rgba(255,255,255,.4); color: var(--white);
  border-radius: 8px; padding: 6px 12px; font-size: 1rem; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 10px 12px; color: var(--white); text-decoration: none; font-size: .92rem; font-weight: 500;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 20px 16px; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* Hero */
.hero {
  position: relative; color: var(--white); text-align: center;
  background: var(--navy) center/cover no-repeat;
  padding: clamp(90px, 16vw, 170px) 0 clamp(80px, 12vw, 140px);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,51,.72), rgba(15,30,51,.6)); }
.hero > * { position: relative; }
.hero h1 { color: var(--white); text-transform: uppercase; letter-spacing: .04em; }
.hero .ref { color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; font-weight: 700; }
.page-hero { padding: clamp(70px, 10vw, 110px) 0; }
.page-hero h1 { margin-bottom: .2em; }
.page-hero p { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; font-weight: 700; margin: 0; }

/* Prayer strip */
.prayer-strip { margin-top: -60px; position: relative; z-index: 2; }
.prayer-strip .card {
  background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden;
}
.prayer-strip a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 8px; text-decoration: none;
  color: var(--white); border-right: 1px solid rgba(255,255,255,.08); transition: background .2s;
}
.prayer-strip a:last-child { border-right: 0; }
.prayer-strip a:hover { background: var(--navy-deep); }
.prayer-strip img { width: 64px; }
.prayer-strip strong { font-family: "Playfair Display", serif; font-size: 1.1rem; }
.prayer-strip span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.prayer-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 12px; }
@media (max-width: 640px) {
  .prayer-strip .card { grid-template-columns: repeat(5, 1fr); }
  .prayer-strip a { padding: 14px 2px; }
  .prayer-strip img { width: 42px; }
  .prayer-strip strong { font-size: .9rem; }
  .prayer-strip span { display: none; }
}

/* Sections */
.section { padding: clamp(60px, 9vw, 100px) 0; }
.section.alt { background: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img.photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.arch { border-radius: 200px 200px var(--radius) var(--radius) !important; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature img { width: 52px; flex: 0 0 52px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .2em; }
.feature p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px;
  text-align: center; transition: .2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile img { width: 72px; margin: 0 auto 14px; }
.tile h3 { font-size: 1.15rem; }
.tile p { color: var(--muted); font-size: .95rem; margin: 0; }

.goal-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.goal-card img { aspect-ratio: 5/3; object-fit: cover; width: 100%; }
.goal-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.goal-card p { color: var(--muted); font-size: .95rem; flex: 1; }

.progress { background: #E9E4DA; border-radius: 999px; height: 12px; overflow: hidden; margin: 10px 0 6px; }
.progress span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.progress-label { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }

/* Banners */
.banner { position: relative; color: var(--white); text-align: center; background: var(--navy) center/cover no-repeat; padding: clamp(70px, 10vw, 110px) 0; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(15,30,51,.75); }
.banner > * { position: relative; }
.banner h2 { color: var(--white); }
.banner .ref { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; font-weight: 700; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--white); border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--gold); box-shadow: 0 4px 16px rgba(15,30,51,.06); }
.quote p { font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy); font-size: .92rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .quotes { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 4px; color: var(--navy); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #CFC8BA; border-radius: 8px; font: inherit; background: var(--white);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; }
.info-list .k { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; display: block; }

.embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.embed iframe { display: block; width: 100%; border: 0; }

.notice { background: var(--cream); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 6px; margin-bottom: 26px; }

.donate-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow); }
.donate-box img { max-width: 280px; margin: 0 auto 14px; }
.donate-box .email { font-family: "Playfair Display", serif; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--navy); word-break: break-all; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9D1DC; padding: 60px 0 0; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: var(--gold); font-family: "Roboto", sans-serif; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.site-footer a { color: #E7ECF2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .logo { width: 150px; margin-bottom: 12px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding: 18px 0; font-size: .82rem; color: #8F9BAB; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.goal-card .btn { align-self: flex-start; }
