/* ═══════════════════════════════════════
   ULAK DÜŞÜNCE KULÜBÜ — Ortak Stil Sistemi
   ulakglobal.org
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --ink:        #1e2646;
  --ink-soft:   #3a4260;
  --ink-muted:  #7a82a0;
  --parchment:  #f0f7f8;
  --cream:      #f8fcfc;
  --gold:       #2d7d8a;
  --gold-light: #4a9daa;
  --rule:       #cde3e6;
  --red-accent: #c4d400;
  --lime:       #c4d400;
  --teal:       #2d7d8a;
  --teal-dark:  #1e5c66;
  --navy:       #1e2646;
  --serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule);
}
.nav-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo {
  height: 32px;
  width: auto;
  display: block;
  max-width: 180px;
  object-fit: contain;
}
.nav-brand span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold-light); }

/* Hamburger — masaüstünde gizli */
.nav-check { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
  z-index: 200;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

/* ── PAGE HEADER (iç sayfalar) ── */
.page-header {
  padding: 140px 80px 80px;
  border-bottom: 1px solid var(--rule);
  background: var(--parchment);
}
.page-header-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.page-header-eyebrow-line { width: 32px; height: 1px; background: var(--gold); }
.page-header-eyebrow span {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  max-width: 700px;
}
.page-header p {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.8;
}

/* ── BUTONLAR ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--rule);
  transition: border-color 0.25s, color 0.25s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── ETİKETLER ── */
.tag {
  display: inline-block;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
}
.tag-red   { color: var(--red-accent); background: rgba(139,44,44,0.07); }
.tag-gold  { color: #7a5f2a; background: rgba(184,150,90,0.12); }
.tag-ink   { color: var(--ink-soft); background: rgba(26,24,20,0.07); }

/* ── SECTION RULE ── */
.section-rule {
  display: flex; align-items: center; gap: 24px;
  padding: 64px 80px 0;
}
.section-rule-line { flex: 1; height: 1px; background: var(--rule); }
.section-rule-text {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); white-space: nowrap;
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 64px 0 48px;
}
.section-title {
  font-family: var(--serif);
  font-size: 32px; font-weight: 600;
}
.section-link {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.section-link:hover { color: var(--ink); border-color: var(--ink); }

/* ── KART IZGARA ── */
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: var(--rule); }
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--rule); }

.card {
  background: var(--cream);
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: background 0.2s;
}
.card:hover { background: var(--parchment); }
.card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.card-date { font-size: 12px; color: var(--ink-muted); }
.card-title {
  font-family: var(--serif);
  font-size: 20px; font-weight: 600;
  line-height: 1.35; margin-bottom: 12px; flex: 1;
}
.card-excerpt {
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.8; margin-bottom: 20px;
}
.card-read {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 8px;
}

.hero-right-inner {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 60px 48px;
  overflow: hidden;
}
.hero-logo-ul {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 80px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  border-top: 3px solid var(--gold);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 20px; margin-bottom: 8px;
}
.footer-tagline-tag {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(250,248,243,0.5);
  line-height: 1.8; max-width: 260px;
}
.footer-col-title {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(250,248,243,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  background: var(--ink);
  border-top: 1px solid rgba(250,248,243,0.08);
  padding: 20px 80px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 12px; color: rgba(250,248,243,0.3); }

/* ── ANİMASYON ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: block;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--rule);
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 99;
  }
  /* Checkbox işaretlenince menü açılır — JS yok, her cihazda çalışır */
  #nav-check:checked ~ .nav-links {
    max-height: 500px;
  }
  /* X animasyonu */
  #nav-check:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  #nav-check:checked ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  #nav-check:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
  .nav-links li { border-bottom: 1px solid var(--rule); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 14px;
    border-bottom: none;
  }
  .page-header { padding: 120px 24px 60px; }
  .section-rule { padding: 48px 24px 0; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; padding: 48px 24px; gap: 40px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; gap: 8px; }
}
@media (max-width: 600px) {
  footer { grid-template-columns: 1fr; }
}
