/* =========================================================
   ATAA NorCal Turkish American Youth Council — styles
   Palette drawn from the council seal: deep navy, flag red,
   steel blue, and warm white.
   ========================================================= */

:root {
  --navy-950: #0d1b36;
  --navy-900: #12234a;
  --navy-800: #1a2f5e;
  --navy-700: #22417e;
  --navy-100: #dce5f2;
  --steel: #8ba3c7;
  --red: #c8102e;
  --red-dark: #a50d26;
  --paper: #ffffff;
  --cream: #f5f8fc;
  --ink: #1c2333;
  --muted: #55617a;
  --line: #e2e8f2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(13, 27, 54, 0.08);
  --shadow-lg: 0 18px 50px rgba(13, 27, 54, 0.14);
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-900);
  text-wrap: balance;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--navy-700); }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(200, 16, 46, 0.35);
}
.btn-red:hover { background: var(--red-dark); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Ghost buttons on light sections */
.section .btn-ghost:not(.section-join .btn-ghost, .hero .btn-ghost) {
  color: var(--navy-800);
  border-color: var(--navy-100);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy-900);
  min-width: 0;
}

.brand-logo { width: 46px; height: 46px; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-text strong { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.01em; }
.brand-text span:last-child { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: var(--red); border-color: var(--red); }

.btn-nav { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(200, 16, 46, 0.28), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(34, 65, 126, 0.55), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3rem;
  padding: 5.5rem 0 8.5rem;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.1rem;
}
.hero-kicker a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(139, 163, 199, 0.5);
}
.hero-kicker a:hover { color: #fff; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero .accent { color: #ff5a6e; }

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
}
.hero-facts li {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.hero-logo { display: flex; justify-content: center; }
.hero-logo img {
  width: min(340px, 80%);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.07), 0 30px 70px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.hero-bridge {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-tint { background: var(--cream); }

.section-head { max-width: 46rem; margin-bottom: 2.6rem; }
.section-sub { color: var(--muted); font-size: 1.02rem; }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.kicker-light { color: #ff8b9a; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.4rem;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: var(--red);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center / 60% no-repeat, linear-gradient(#000 0 0);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center / 60% no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.about-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 1.2rem; }
.chip {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy-800);
  background: #fff;
  border: 1px solid var(--navy-100);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.note-light { color: rgba(255, 255, 255, 0.75); margin-top: 1.2rem; }

/* ---------- Mission / Vision ---------- */
.section-navy {
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(200, 16, 46, 0.2), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, 0.88);
}
.section-navy h2 { color: #fff; }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.mv-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.mv-card h3 { color: #fff; font-size: 1.3rem; }
.mv-card p { margin: 0; color: rgba(255, 255, 255, 0.82); }

.mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  color: #ff8b9a;
  background: rgba(200, 16, 46, 0.18);
  border: 1px solid rgba(255, 138, 154, 0.25);
}
.mv-icon svg { width: 26px; height: 26px; }

.values { margin-top: 2.8rem; }
.values-title {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.values-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.value-chip {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- Programs ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
}

.program-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.program-card h3 { font-size: 1.05rem; }
.program-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.program-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--red);
  background: rgba(200, 16, 46, 0.09);
}
.program-icon svg { width: 26px; height: 26px; }

/* ---------- Leadership ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-100);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* Per-portrait crop tuning so all faces sit on the same line */
.team-photo img.photo-deniz { object-position: center 55%; }
.team-photo img.photo-destan { object-position: center 48%; }

.team-initials {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
}
.team-initials span {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
}

.team-body { padding: 1.4rem 1.5rem 1.6rem; }
.team-body h3 { margin-bottom: 0.15rem; }

.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
}

.team-bio { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Governance ---------- */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.gov-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow);
}
.gov-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- Join ---------- */
.section-join {
  background:
    radial-gradient(900px 500px at -5% 0%, rgba(200, 16, 46, 0.25), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, 0.88);
}
.section-join h2 { color: #fff; }

.join-panel { max-width: 46rem; }
.join-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.7rem;
}
.join-list li {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
}
.join-list strong { color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo { width: 74px; margin-bottom: 1rem; border-radius: 50%; background: #fff; }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-weight: 600; }
.footer-fine { font-size: 0.83rem; color: rgba(255, 255, 255, 0.55); }
.footer-fine a { color: rgba(255, 255, 255, 0.75); }
.footer-fine a:hover { color: #fff; }

.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact p { margin: 0 0 0.5rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin: 0; max-width: 40rem; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .program-card, .team-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 4%;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 0.55rem 0; width: 100%; }
  .btn-nav { margin-top: 0.4rem; }

  .hero-inner { grid-template-columns: 1fr; padding: 3.5rem 0 7rem; text-align: left; }
  .hero-logo { order: -1; }
  .hero-logo img { width: min(220px, 60%); }
  .about-grid, .mv-grid, .gov-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .brand-text span:last-child { display: none; }

  .section { padding: 3.5rem 0; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
