/* site.css - quranschoolsaskatoon.com
   Style: Serene and minimal
   Palette: Parchment #F5EFE2, green-ink #1B3A35, sage #8FA89A, clay #B86F52
   Typography: EB Garamond (headings), Karla (body), Amiri (Arabic)
*/

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/karla-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/karla-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/karla-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/karla-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/amiri-arabic-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/amiri-arabic-700-normal.woff2') format('woff2');
}

:root {
  --color-parchment: #F5EFE2;
  --color-parchment-card: #FFFFFF;
  --color-parchment-warm: #EDE5D5;
  --color-border: #DFD5C2;
  --color-green-ink: #1B3A35;
  --color-green-ink-dark: #112622;
  --color-green-ink-light: #E6EEEB;
  --color-sage: #8FA89A;
  --color-sage-light: #EFF4F1;
  --color-clay: #B86F52;
  --color-clay-hover: #A05B40;
  --color-clay-light: #F8ECE8;
  --color-ink: #172A26;
  --color-ink-muted: #455853;

  --font-display: 'EB Garamond', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-parchment);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--color-green-ink);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 99999;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}
.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--color-clay);
  outline-offset: 3px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background-color: var(--color-parchment);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-green-ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-logo-img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-green-ink);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--color-clay);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-green-ink);
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--color-parchment);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 10px 24px rgba(27, 58, 53, 0.06);
  }
  .site-nav.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 0.65rem 0;
    font-size: 1.05rem;
  }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-green-ink);
  line-height: 1.25;
}

.arabic-subhead {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  color: var(--color-clay);
  display: block;
  margin-bottom: 0.5rem;
}

.decorative-quran {
  font-family: var(--font-arabic);
  font-size: 5rem;
  line-height: 1;
  color: rgba(27, 58, 53, 0.08);
  user-select: none;
  text-align: center;
  margin: 1.5rem 0;
}

.star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
  color: var(--color-sage);
}
.star-divider::before,
.star-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background-color: var(--color-border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-green {
  background-color: var(--color-green-ink);
  color: #fff;
}
.btn-green:hover {
  background-color: var(--color-green-ink-dark);
}

.btn-clay {
  background-color: var(--color-clay);
  color: #fff;
}
.btn-clay:hover {
  background-color: var(--color-clay-hover);
}

.btn-outline {
  border-color: var(--color-green-ink);
  color: var(--color-green-ink);
  background: transparent;
}
.btn-outline:hover {
  background-color: var(--color-green-ink-light);
}

/* Hero Section */
.hero-serene {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.3rem;
  }
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--color-ink-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-image-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(27, 58, 53, 0.08);
  border: 1px solid var(--color-border);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
  content: '·';
  margin-left: 0.5rem;
  color: var(--color-border);
}
.breadcrumbs a {
  color: var(--color-green-ink);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--color-ink-muted);
}

/* Cards & Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 860px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.card-serene {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(27, 58, 53, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-serene:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27, 58, 53, 0.06);
}

.card-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-clay);
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 1rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

/* Two Column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-green-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
  color: var(--color-clay);
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 1rem;
  color: var(--color-ink-muted);
  line-height: 1.7;
}

.faq-answer.open {
  display: block;
}

/* Destination Band */
.destination-band {
  background-color: var(--color-parchment-warm);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 4.5rem 0;
}

.destination-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .destination-grid {
    grid-template-columns: 1fr;
  }
}

.dest-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dest-badge {
  display: inline-block;
  background: var(--color-green-ink-light);
  color: var(--color-green-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.dest-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.dest-text {
  font-size: 1rem;
  color: var(--color-ink-muted);
  margin-bottom: 1.25rem;
}

.dest-meta {
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  margin-bottom: 1.5rem;
}

.dest-meta p {
  margin-bottom: 0.35rem;
}

.dest-meta a {
  color: var(--color-green-ink);
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background-color: var(--color-green-ink);
  color: var(--color-parchment);
  padding: 4.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-org-title {
  font-size: 1.6rem;
  color: var(--color-parchment);
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.95rem;
  color: rgba(245, 239, 226, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-links-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.footer-list a {
  color: rgba(245, 239, 226, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--color-clay-light);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 239, 226, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(245, 239, 226, 0.7);
}

.empathy-credit a {
  color: var(--color-parchment);
  text-decoration: underline;
}

/* Review fixes 2026-11-30 (Claude): hero crop, tap targets, label sizes */
.hero-image-wrap img, img.hero-img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% 50%; height: auto; }
.btn { min-height: 44px; }
.faq-question { min-height: 44px; }
