/* Közös stíluslap a két oldalhoz. A színvilágot a <html data-theme="..."> dönti el. */

:root {
  --ink: #1f2937;
  --muted: #5b6474;
  --line: #e6e8ec;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* editsalamon.com – AI szemlélet: mély indigó + menta */
[data-theme="com"] {
  --brand: #1e1b4b;
  --brand-2: #2c2870;
  --accent: #7cf5cf;
  --accent-ink: #0f2e2a;
  --tint: #f4f4fb;
}

/* editsalamon.eu – BA szemlélet: mély tengerészkék + arany */
[data-theme="eu"] {
  --brand: #0f2a47;
  --brand-2: #183b61;
  --accent: #ffd257;
  --accent-ink: #33270a;
  --tint: #f3f6fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--brand); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Fejléc */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; color: var(--brand); font-size: 18px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 6px;
  background: var(--brand); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px; font-weight: 700;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 4px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
button.btn { font-family: inherit; cursor: pointer; }
.btn-pill { background: var(--brand); color: #fff; border-radius: 999px; padding: 11px 22px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-outline:hover { border-color: #fff; }

/* Hero */
.hero { padding: 120px 0 110px; text-align: center; }
.hero h1 { font-size: clamp(52px, 11vw, 132px); font-weight: 700; letter-spacing: -0.02em; }
.hero .role {
  margin-top: 26px; color: var(--muted);
  font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase;
}
.hero-body {
  margin: 64px auto 0; max-width: 940px;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  text-align: left;
}
.hero-body p { border-left: 4px solid var(--accent); padding-left: 22px; font-size: 19px; color: #3b4453; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-shrink: 0; }

/* Sötét sáv */
.band { background: var(--brand); color: #fff; padding: 84px 0; }
.band .wrap { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 64px; align-items: center; }
.band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.band h2 em { font-style: normal; color: var(--accent); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillars h3 { color: var(--accent); font-size: 24px; margin-bottom: 8px; }
.pillars p { color: rgba(255, 255, 255, 0.82); font-size: 15px; }

/* Szakaszok */
section { padding: 104px 0; }
.eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 5px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand);
}
.section-title { font-size: clamp(34px, 4.4vw, 52px); }
.lead { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 620px; }

/* Rólam */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-text p { margin-top: 22px; color: #3b4453; font-size: 17px; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 20px; }
.facts li { display: flex; gap: 16px; align-items: flex-start; }
.facts .dot {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--tint); color: var(--brand);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 14px;
}
.facts strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--brand); }
.facts span { color: var(--muted); font-size: 15px; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, var(--brand-2), var(--brand));
  display: grid; place-items: center; position: relative;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { font-family: var(--serif); font-size: clamp(90px, 14vw, 170px); font-weight: 700; color: var(--accent); opacity: .9; }
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px;
  color: #fff; font-size: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
}
figure { margin: 0; }

/* Szakterületek */
.areas { background: var(--tint); }
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 32px 28px; }
.card .num { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--brand); opacity: .45; }
.card .tag { margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin-top: 8px; font-size: 24px; }
.card p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.chips { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips b { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-right: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: #3b4453; }

/* Pályafutás */
.timeline { margin-top: 56px; border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.job .years { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.job h3 { font-size: 22px; }
.job p { color: var(--muted); font-size: 15px; }

/* Képzések, nyelvek */
.study { background: var(--tint); }
.study .wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 72px; }
.study h2 { font-size: 34px; margin-bottom: 28px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.list .y { color: var(--muted); font-variant-numeric: tabular-nums; }
.list small { display: block; color: var(--muted); font-size: 14px; }

/* Kapcsolat */
.contact { background: var(--brand); color: #fff; text-align: center; padding: 110px 0 96px; }
.contact h2 { color: #fff; font-size: clamp(36px, 5vw, 58px); }
.contact p { margin: 22px auto 0; max-width: 520px; color: rgba(255, 255, 255, 0.82); font-size: 18px; }
.contact .mail { margin-top: 30px; color: #fff; font-size: 17px; }
.contact .hero-cta { justify-content: center; margin-top: 36px; }
.footer { background: var(--brand); color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer a { text-decoration: none; margin-left: 22px; }
.footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 72px 0 72px; }
  .hero-body { flex-direction: column; align-items: flex-start; margin-top: 44px; gap: 28px; }
  .band .wrap, .about .wrap, .study .wrap { grid-template-columns: 1fr; gap: 44px; }
  .pillars, .cards { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .job { grid-template-columns: 1fr; gap: 4px; }
  .footer .wrap { flex-direction: column; }
  .footer a { margin: 0 22px 0 0; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { justify-content: center; }
  .logo span:last-child { font-size: 16px; }
}

/* Nyelvváltó */
.nav-end { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 600; }
.lang a { padding: 6px 11px; text-decoration: none; color: var(--muted); }
.lang a:hover { color: var(--brand); }
.lang a[aria-current] { background: var(--brand); color: #fff; }

/* Kiegészítések */
.portrait { aspect-ratio: 3 / 4; }
.portrait img { object-position: center top; }
.job small { display: block; margin-top: 4px; font-size: 13px; opacity: .85; }
.list.plain li { grid-template-columns: 1fr; }
.study h2.gap { margin-top: 48px; }
.chips + .chips { margin-top: 18px; }
.contact .mail a { color: var(--accent); text-decoration: none; }
.contact .mail a:hover { text-decoration: underline; }
.footer span a:first-child { margin-left: 0; }
@media (max-width: 480px) {
  .nav .wrap { gap: 10px; }
  .nav-end { gap: 8px; }
  .logo span:last-child { display: none; }
}
