/* ===========================================================
   Noor Academy — Base styles, design tokens, typography
   Palette grounded in the campus's own architecture & uniform:
   deep green + gold trim + stone cream + khaki
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color */
  --green-deep:   #1D4F3F;   /* primary — uniform sweaters, door trim */
  --green-dark:   #123328;   /* nav / footer background */
  --gold:         #C08A28;   /* signage lettering, arch trim */
  --gold-light:   #E4B85C;   /* hover / highlight */
  --cream:        #FAF6EC;   /* stone facade tone — page background */
  --cream-deep:   #F1E9D8;   /* card / section backgrounds */
  --khaki:        #C7B48E;   /* uniform trousers — secondary accent */
  --ink:          #232620;   /* body text */
  --ink-soft:     #565A4E;   /* secondary text */
  --white:        #FFFFFF;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, Segoe UI, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { max-width: 62ch; color: var(--ink-soft); }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  border-color: rgba(250, 246, 236, 0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); }

.btn-dark {
  background: var(--green-deep);
  color: var(--white);
}
.btn-dark:hover { background: var(--green-dark); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
