/* JTOB - shared site styles
   Native CSS, no framework. Mobile-first, responsive. */

:root {
  --red: #c8102e;          /* deep red (Turkey flag red) */
  --red-dark: #9d0c24;
  --red-soft: #fbe9ec;
  --ink: #1a1a1a;
  --muted: #5b5b5b;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-alt: #fbfaf7;
  --maxw: 1100px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.brand img { width: 34px; height: 34px; }
.brand:hover { text-decoration: none; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
}
.lang-toggle button.active {
  background: var(--red);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 42px; height: 42px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-toggle span {
  width: 20px; height: 2px; background: var(--ink); display: block;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0; padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.main-nav a:hover { background: var(--red-soft); text-decoration: none; }
.main-nav a.active { background: var(--red); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--red-dark); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: #fff; }

/* ---------- Main ---------- */
.main { padding: 56px 0 72px; }
.section-alt { background: var(--bg-alt); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 64px 0 48px;
  background:
    radial-gradient(1200px 400px at 50% -10%, var(--red-soft), transparent 70%);
}
.hero img.logo {
  width: 200px; height: 200px;
  margin: 0 auto 28px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero h1 { margin-bottom: 10px; }
.hero .ja {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero .lead { max-width: 640px; margin: 0 auto 28px; color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Cards / features ---------- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head p { color: var(--muted); margin-bottom: 0; }

/* ---------- Meeting minutes list ---------- */
.minutes-list { list-style: none; margin: 0; padding: 0; }
.minutes-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.minutes-list li:hover { border-color: transparent; box-shadow: var(--shadow); }
.minutes-list .meta { display: flex; flex-direction: column; }
.minutes-list .date { font-weight: 700; font-size: 1.02rem; }
.minutes-list .title { color: var(--muted); font-size: 0.92rem; }
.minutes-list .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--red-soft);
  color: var(--red);
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: 4px;
  width: fit-content;
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 40px;
  text-align: center;
}
.page-head p { color: var(--muted); margin: 0; }

/* ---------- About / contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.contact-card .icon {
  width: 50px; height: 50px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card a.word-break { word-break: break-all; }

.socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
}
.socials a:hover { border-color: var(--red); color: var(--red); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 36px 0;
  margin-top: 0;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer img { width: 46px; height: 46px; border-radius: 10px; }
.site-footer .copy { color: var(--muted); font-size: 0.92rem; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 16px; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; width: 100%; padding: 12px 14px; }
  .minutes-list li { flex-direction: column; align-items: flex-start; }
  .minutes-list .btn { width: 100%; text-align: center; }
}
