* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: #14532d; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo { text-decoration: none; line-height: 1.2; }
.logo-mark {
  display: block;
  color: #14532d;
  font-size: 24px;
  font-weight: bold;
}
.logo-sub {
  display: block;
  color: #666;
  font-size: 12px;
  letter-spacing: 2px;
}

.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: #222; font-weight: bold; font-size: 15px; }
.nav a:hover { color: #14532d; }

.donate-pill {
  background: #d9a441;
  color: #222 !important;
  padding: 8px 20px;
  border-radius: 999px;
}

/* Hero */
.hero {
  background: #0f3d21;
  color: #fff;
  text-align: center;
  padding: 64px 16px 56px;
  border-bottom: 5px solid #d9a441;
}

.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-eyebrow { color: #d9a441; font-weight: bold; letter-spacing: 2px; margin: 0 0 10px; }
.hero h1 { margin: 0 0 12px; font-size: 44px; line-height: 1.1; }
.hero-text { font-size: 19px; margin: 0 0 24px; opacity: 0.95; }
.hero-buttons { margin: 0 0 16px; }
.hero-note { font-size: 14px; opacity: 0.85; margin: 0; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  margin: 4px;
}
.btn-gold { background: #d9a441; color: #222; }
.btn-light { background: #fff; color: #0f3d21; }
.btn-dark { background: #111; color: #fff; }

/* Sections */
.section { padding: 48px 16px; }
.section-grey { background: #f2f2f2; }
.wrap { max-width: 1080px; margin: 0 auto; }
.wrap.narrow { max-width: 760px; }
.section h2 {
  text-align: center;
  font-size: 32px;
  margin: 0 0 8px;
  color: #111;
}
.section-sub { text-align: center; color: #555; margin: 0 0 28px; }
.center { text-align: center; }
.small { font-size: 14px; color: #666; }

/* Prayer cards */
.prayer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.prayer-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.prayer-name { display: block; font-size: 18px; font-weight: bold; color: #14532d; }
.prayer-time { display: block; font-size: 28px; font-weight: bold; margin: 6px 0; }
.prayer-adhan { display: block; font-size: 14px; color: #666; }
.prayer-jummah { background: #14532d; border-color: #14532d; color: #fff; }
.prayer-jummah .prayer-name, .prayer-jummah .prayer-adhan { color: #fff; }
.sunrise { font-weight: bold; }

/* About chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.chips span {
  background: #f2f2f2;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-tile {
  background: #f2f2f2;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  text-align: center;
  padding: 12px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-info p { margin: 0 0 18px; }
.contact-form {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 24px;
}
.contact-form h3 { margin: 0 0 16px; font-size: 20px; }
.contact-form label { display: block; font-weight: bold; font-size: 14px; margin-bottom: 12px; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
}
.contact-form button {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* Support */
.quote {
  text-align: center;
  font-size: 18px;
  font-style: italic;
  color: #444;
  max-width: 720px;
  margin: 0 auto 28px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.support-card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}
.support-card h3 { margin: 0 0 8px; font-size: 19px; }

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 28px 16px;
  font-size: 14px;
}
footer p { margin: 4px 0; }

@media (max-width: 720px) {
  .hero h1 { font-size: 32px; }
  .prayer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .header-inner { justify-content: center; text-align: center; }
  .nav { justify-content: center; }
}
