/* Bawsala: shared styles. Colours and fonts follow the isalam.net homepage. */
:root {
  --paper: #FAF9F4;
  --card: #FFFFFF;
  --ink: #0F3836;
  --ink-soft: #2F4B48;
  --muted: #5B716E;
  --teal: #135656;
  --gold: #C99744;
  --olive: #64712F;
  --line: #E4E2D6;
  --tint: #EEF3EF;
  --gold-tint: #F6EEDF;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--teal); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label:focus-within {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
h1, h2, h3 { text-wrap: balance; font-family: "Bricolage Grotesque", ui-sans-serif, sans-serif; letter-spacing: -0.03em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* header */
.site-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 18px var(--gutter); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Quicksand", ui-rounded, sans-serif; font-weight: 700; font-size: 24px; line-height: 1; }
.brand img { width: 40px; height: auto; display: block; }
.brand .a { color: var(--teal); } .brand .b { color: var(--gold); }
.head-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-weight: 500; font-size: 16px; }
.head-links a { color: var(--ink); text-decoration: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 17px; line-height: 1.2;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; min-height: 48px;
}
.btn-primary { background: var(--teal); color: #FFFFFF; }
.btn-primary:hover { background: var(--ink); color: #FFFFFF; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #B88536; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-link { background: none; border: 0; padding: 8px 4px; color: var(--teal); text-decoration: underline; min-height: 0; font-weight: 500; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--gold-tint); color: #7A5718; }

.foot { background: var(--ink); color: #C4D6D2; padding: 32px var(--gutter); font-size: 15px; }
.foot a { color: #FAF9F4; }
.foot .wrap { padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
