/* ===== Khuzama Tourism Association — editorial redesign (tmaa-inspired) ===== */
:root {
  --plum: #6b3fa0;
  --plum-dark: #3d2a8a;
  --violet: #9b6fbf;
  --ink: #241a4e;          /* deep violet-navy for dark sections + text */
  --ink-soft: #4a3f74;
  --gold: #c9a24b;         /* warm accent, editorial two-tone */
  --gold-soft: #e6cd8f;
  --muted: #6f6790;
  --paper: #f6f2fb;
  --white: #ffffff;
  --grad: linear-gradient(135deg, #3d2a8a 0%, #9b6fbf 100%);
  --shadow: 0 18px 44px -22px rgba(36, 26, 78, .32);
  --shadow-lg: 0 30px 70px -26px rgba(36, 26, 78, .42);
  --container: 1200px;
  --display: "El Messiri", "Cairo", serif;
  --body: "Cairo", "Tajawal", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 26px; }
.center { text-align: center; margin-top: 52px; }
.center-flex { justify-content: center; }

/* ===== Typography ===== */
.display-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -.5px;
}
.display-title.light { color: #fff; }

.eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 600;
  font-size: 15px; letter-spacing: 2px; color: var(--plum);
  margin-bottom: 16px; position: relative; padding-inline-start: 34px;
}
.eyebrow::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 50%;
  width: 24px; height: 2px; background: var(--plum); transform: translateY(-50%);
}
.eyebrow-gold { color: var(--gold-soft); }
.eyebrow-gold::before { background: var(--gold); }

.section-lead { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 18px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .section-lead { margin-inline: auto; }
.section-head-light .section-lead { color: rgba(255,255,255,.85); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  padding: 14px 34px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s, background .25s, color .25s;
}
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 12px 26px -12px var(--plum); }
.btn-primary:hover { background: var(--plum-dark); }
.btn-light { background: #fff; color: var(--plum-dark); box-shadow: var(--shadow); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); }
.btn-outline { background: transparent; color: var(--plum); border-color: var(--violet); }
.btn-outline:hover { background: var(--plum); color: #fff; }

/* ===== Header ===== */
#site-header {
  position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 60;
  transition: background .35s ease, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
#site-header.over-hero { background: transparent; }
#site-header.over-hero .nav-desktop a,
#site-header.over-hero .logo-mark { color: #fff; }
#site-header.over-hero .logo-sub { color: var(--gold-soft); }
#site-header.scrolled {
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-color: rgba(36,26,78,.08); box-shadow: 0 8px 30px -18px rgba(36,26,78,.4);
}
#site-header.scrolled .nav-desktop a { color: var(--ink); }
#site-header.scrolled .logo-mark { color: var(--plum-dark); }
#site-header.scrolled .logo-sub { color: var(--violet); }
#site-header.scrolled .menu-toggle span { background: var(--plum-dark); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo-img {
  height: 60px; width: auto; flex: 0 0 auto; display: block; border-radius: 12px;
  object-fit: contain;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
#site-header.over-hero .logo-img {
  background: #fff; padding: 5px 12px;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.45);
}
#site-header.scrolled .logo-img { height: 56px; background: transparent; padding: 0; box-shadow: none; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  font-family: var(--display); padding: 8px 15px; font-size: 15.5px; font-weight: 500;
  color: #fff; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-desktop a:hover { color: var(--gold-soft); }
#site-header.scrolled .nav-desktop a:hover { color: var(--plum); background: var(--paper); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, background .35s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 16px 26px 26px; background: #fff; border-bottom: 1px solid rgba(36,26,78,.08); }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: var(--display); padding: 12px 14px; font-weight: 500; color: var(--ink); border-radius: 12px; }
.nav-mobile a:hover { background: var(--paper); }
.nav-mobile .btn { margin-top: 8px; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(155,111,191,.55), transparent 52%),
    radial-gradient(circle at 12% 82%, rgba(61,42,138,.6), transparent 55%),
    var(--grad);
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36,26,78,.55), transparent 45%),
              linear-gradient(to left, rgba(36,26,78,.25), transparent 60%);
}
@keyframes kenburns { from { transform: scale(1);} to { transform: scale(1.09);} }

.hero-inner { position: relative; z-index: 3; text-align: center; padding: 130px 0 90px; }
.hero-eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 500; font-size: 15px;
  letter-spacing: 1px; color: #fff; padding: 9px 22px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); margin-bottom: 28px;
}
.hero-display {
  font-family: var(--display); font-weight: 700; color: #fff;
  font-size: clamp(40px, 8vw, 92px); line-height: 1.15; letter-spacing: -1px;
  text-shadow: 0 6px 40px rgba(36,26,78,.4);
}
.hero-display-2 { display: block; color: var(--gold-soft); }
.hero-display .dot { color: #fff; }
.hero-text { font-size: clamp(17px, 2.2vw, 21px); color: rgba(255,255,255,.92); max-width: 720px; margin: 30px auto 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-inner .hero-actions { justify-content: center; }

.scroll-cue { position: absolute; inset-block-end: 30px; inset-inline-start: 50%; transform: translateX(50%); z-index: 3; }
.scroll-cue span {
  display: block; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; position: relative;
}
.scroll-cue span::before {
  content: ""; position: absolute; inset-block-start: 8px; inset-inline-start: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot { 0%,100%{opacity:0;transform:translate(-50%,0);} 50%{opacity:1;transform:translate(-50%,10px);} }

/* ===== License strip ===== */
.license-strip { background: var(--ink); }
.license-strip-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.ls-item { padding: 30px 20px; text-align: center; border-inline-start: 1px solid rgba(255,255,255,.09); }
.ls-item:first-child { border-inline-start: none; }
.ls-num { display: block; font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff; }
.ls-lbl { display: block; font-size: 14px; color: var(--gold-soft); margin-top: 4px; }

/* ===== About band (solid violet, tmaa "من نحن") ===== */
.about-band { position: relative; background: var(--grad); color: #fff; padding: 110px 0; overflow: hidden; }
.about-band::before {
  content: "خُزامى"; position: absolute; inset-block-start: -20px; inset-inline-end: 30px;
  font-family: var(--display); font-weight: 700; font-size: 220px; color: rgba(255,255,255,.06);
  pointer-events: none; line-height: 1; white-space: nowrap;
}
.about-band-inner { position: relative; z-index: 2; display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.about-band-body p { color: rgba(255,255,255,.9); font-size: 18px; margin-bottom: 20px; }
.about-band-body .btn { margin-top: 12px; }

/* ===== Vision & Mission ===== */
.section { padding: 110px 0; }
.section-alt { background: var(--paper); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vm-card {
  background: #fff; border: 1px solid rgba(36,26,78,.08); border-radius: 24px;
  padding: 46px 40px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.vm-card::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 0;
  width: 120px; height: 120px; background: radial-gradient(circle at top right, rgba(155,111,191,.16), transparent 70%);
}
.vm-card-dark { background: var(--ink); color: #fff; }
.vm-card-dark::after { background: radial-gradient(circle at top right, rgba(201,162,75,.22), transparent 70%); }
.vm-badge {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 1px;
  color: var(--plum); background: rgba(107,63,160,.1); padding: 6px 18px; border-radius: 999px; margin-bottom: 22px;
}
.vm-card-dark .vm-badge { color: var(--gold-soft); background: rgba(201,162,75,.16); }
.vm-card h3 { font-family: var(--display); font-weight: 700; font-size: 26px; margin-bottom: 16px; }
.vm-card p { color: var(--muted); font-size: 17px; }
.vm-card-dark p { color: rgba(255,255,255,.82); }

/* ===== Scope / Programs ===== */
.scope-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.scope-card {
  background: #fff; border: 1px solid rgba(36,26,78,.08); border-radius: 22px; padding: 38px 34px;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; position: relative;
}
.scope-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.scope-index {
  font-family: var(--display); font-weight: 700; font-size: 40px;
  color: transparent; -webkit-text-stroke: 1.5px var(--violet); margin-bottom: 18px; line-height: 1;
}
.badge { font-size: 12.5px; font-weight: 800; padding: 5px 15px; border-radius: 999px; display: inline-block; margin-bottom: 14px; }
.badge-active { color: #1f8a5b; background: rgba(31,138,91,.12); }
.badge-soon { color: var(--plum-dark); background: rgba(61,42,138,.12); }
.scope-body h3 { font-family: var(--display); font-weight: 700; font-size: 23px; margin-bottom: 12px; }
.scope-body p { color: var(--muted); font-size: 16px; }

/* ===== Values ===== */
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.value-item { text-align: center; padding: 30px 20px; }
.value-line { display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--gold); margin: 0 auto 22px; }
.value-item h3 { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--plum-dark); margin-bottom: 12px; letter-spacing: 1px; }
.value-item p { color: var(--muted); font-size: 16px; }

/* ===== Vision 2030 band ===== */
.v2030 { position: relative; color: #fff; overflow: hidden; padding: 110px 0; }
.v2030-bg { position: absolute; inset: 0; background: radial-gradient(circle at 85% 12%, rgba(155,111,191,.5), transparent 50%), var(--ink); }
.v2030-inner { position: relative; z-index: 2; }
.v2030-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.v2030-item {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px;
  padding: 34px 26px; transition: background .3s, transform .3s;
}
.v2030-item:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); }
.v2030-icon { font-size: 34px; margin-bottom: 16px; }
.v2030-item h4 { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.v2030-item p { color: rgba(255,255,255,.8); font-size: 15px; }

/* ===== Leadership ===== */
.leadership { position: relative; }
.leaders { display: flex; flex-direction: column; gap: 70px; max-width: 980px; margin-inline: auto; }
.leader { display: flex; align-items: center; gap: 54px; }
.leader-rev { flex-direction: row-reverse; }
.leader-photo {
  width: 190px; height: 190px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid #fff; position: relative;
}
.leader-photo::after {
  content: "♛"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 60px; color: rgba(255,255,255,.9);
}
.leader-photo:has(img)::after { content: none; }
.leader-photo img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.leader-quote { position: relative; text-align: center; flex: 1; }
.leader-rev .leader-quote { }
.q-mark {
  font-family: var(--display); font-size: 70px; line-height: 0; color: var(--violet);
  opacity: .55; display: block; height: 30px;
}
.leader-quote p {
  font-family: var(--display); font-size: clamp(20px, 2.4vw, 27px); font-weight: 600;
  line-height: 1.7; color: var(--ink); margin-bottom: 22px;
}
.leader-name { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--plum-dark); }
.leader-title { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.news-card {
  background: #fff; border: 1px solid rgba(36,26,78,.08); border-radius: 22px; padding: 34px 30px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-tag { align-self: flex-start; font-size: 12.5px; font-weight: 800; padding: 6px 15px; border-radius: 999px; background: rgba(107,63,160,.12); color: var(--plum); margin-bottom: 18px; }
.news-tag-2 { background: rgba(61,42,138,.12); color: var(--plum-dark); }
.news-tag-3 { background: rgba(31,138,91,.12); color: #1f8a5b; }
.news-card time { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.news-card h3 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.5; margin-bottom: 12px; }
.news-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.link-more { font-family: var(--display); color: var(--plum); font-weight: 600; font-size: 15px; margin-top: auto; }
.link-more:hover { color: var(--plum-dark); }

/* ===== CTA ===== */
.cta { padding: 120px 0; text-align: center; background: var(--paper); }
.cta-inner { max-width: 780px; margin-inline: auto; }
.cta .eyebrow-gold { color: var(--gold); }
.cta .eyebrow-gold::before { background: var(--gold); }
.cta h2 { margin: 12px 0 22px; }
.cta p { font-size: 19px; color: var(--muted); margin-bottom: 36px; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 78px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 50px; }
.footer-logo { height: 96px; width: auto; background: #fff; border-radius: 16px; padding: 12px 16px; margin-bottom: 20px; box-shadow: 0 14px 34px -18px rgba(0,0,0,.5); }
.footer-brand p { font-size: 15px; line-height: 1.95; margin-bottom: 18px; }
.footer-supervisor { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--gold-soft); }
.footer-col h4 { font-family: var(--display); color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 12px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-meta { font-size: 13.5px !important; color: rgba(255,255,255,.48) !important; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.5); }
.credit-link { color: var(--gold-soft); font-weight: 700; transition: color .2s; }
.credit-link:hover { color: #fff; text-decoration: underline; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .about-band-inner { grid-template-columns: 1fr; gap: 36px; }
  .scope-grid, .v2030-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .license-strip-inner { grid-template-columns: 1fr 1fr; }
  .ls-item:nth-child(-n+2) { border-block-end: 1px solid rgba(255,255,255,.09); }
  .ls-item:nth-child(odd) { border-inline-start: none; }
}
@media (max-width: 680px) {
  .section, .about-band, .v2030, .cta { padding: 72px 0; }
  .vm-grid, .scope-grid, .news-grid, .v2030-grid, .values-grid { grid-template-columns: 1fr; }
  .license-strip-inner { grid-template-columns: 1fr; }
  .ls-item { border-inline-start: none; border-block-end: 1px solid rgba(255,255,255,.09); }
  .about-band::before { font-size: 130px; }
  .leader, .leader-rev { flex-direction: column; gap: 26px; text-align: center; }
  .leaders { gap: 54px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
