/* ==========================================================
   NetSysAI 2026 — styles (poster look, BGU orange palette)
   ========================================================== */
:root {
  --orange: #E1701F;       /* BGU / poster orange */
  --orange-dark: #9E4B08;  /* accent text */
  --orange-soft: #FBE3CF;
  --teal: #2C6E72;
  --ink: #1C1C1A;
  --ink-2: #3C3C40;
  --muted: #6B655C;
  --paper: #F7F4EF;        /* poster header / card fill */
  --line: #E3DED4;
  --white: #FFFFFF;
  --radius: 14px;
  --maxw: 1160px;
  --shadow: 0 1px 2px rgba(28,28,26,.04), 0 8px 24px rgba(28,28,26,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--ink-2);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.nowrap { white-space: nowrap; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav ul a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav ul a:hover { color: var(--orange); }
.nav .btn { padding: 8px 16px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; padding: 4px 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--white);
  border: 2px solid var(--orange);
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 16px;
  transition: background .15s, color .15s, transform .15s;
  cursor: pointer;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.disabled { background: var(--line); border-color: var(--line); color: var(--muted); pointer-events: none; }

/* ---------- Hero (poster header band) ---------- */
.hero { background: var(--paper); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 40px; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange-dark); margin: 0 0 8px;
}
.hero h1 {
  font-size: clamp(56px, 10vw, 128px); line-height: .95; margin: 0;
  color: var(--ink); font-weight: 800; letter-spacing: -.035em;
}
.hero .subtitle { font-size: clamp(22px, 3vw, 32px); color: #55555A; margin: 16px 0 28px; font-weight: 400; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark { width: 100%; max-width: 440px; justify-self: end; }
.hero-mark .pulse circle { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out infinite; }
.hero-mark .pulse circle:nth-child(2) { animation-delay: .6s; }
.hero-mark .pulse circle:nth-child(3) { animation-delay: 1.2s; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .hero-mark .pulse circle { animation: none; } html { scroll-behavior: auto; } }

.factbar { border-top: 3px solid var(--orange); background: var(--white); }
.factbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-top: 18px; padding-bottom: 18px; font-weight: 700; color: var(--ink); font-size: 19px; }
.factbar span { display: inline-flex; align-items: center; gap: 10px; }
.factbar svg { width: 20px; height: 20px; stroke: var(--orange); flex: none; }

/* "Speakers from" logo band below the fact bar, in full colour */
.logobar { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.speakers-from { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 30px; padding-top: 22px; padding-bottom: 22px; }
.speakers-from .label { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-dark); }
.speakers-from .row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 30px; }
.speakers-from img { height: 30px; width: auto; }
.speakers-from img.lg-tu, .speakers-from img.lg-bgu, .speakers-from img.lg-technion { height: 40px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--paper); }
.section-head { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }
.section-head h2 {
  margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange-dark); white-space: nowrap;
}
.section-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
h3 { color: var(--ink); font-size: 22px; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { font-size: 20px; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.note { font-size: 14px; color: var(--muted); }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--orange-soft); color: var(--orange-dark); padding: 3px 10px; border-radius: 999px; vertical-align: middle;
}

/* Topics */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; padding: 0; list-style: none; }
.topics li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 16px 20px; font-weight: 600; color: var(--ink); font-size: 16px;
  border-left: 4px solid var(--orange);
}

/* ---------- Speakers ---------- */
.speakers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.speaker {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 16px 20px; text-align: center; display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
section:not(.alt) .speaker { background: var(--paper); box-shadow: none; }
.speaker:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(28,28,26,.10); }
.avatar {
  width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--orange);
  object-fit: cover; background: var(--paper); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; color: #55555A;
}
.speaker .name { font-weight: 700; color: var(--ink); font-size: 18px; margin: 0; }
.speaker .role { font-size: 14px; color: #55555A; margin: 6px 0 2px; line-height: 1.35; min-height: 38px; display: flex; align-items: center; }
.speaker .aff { font-size: 14px; font-weight: 700; color: var(--orange-dark); }
.speaker .talk { font-size: 13px; color: var(--ink-2); margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); width: 100%; font-style: italic; }
.speaker { position: relative; }
.speaker .badge { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); background: var(--teal); padding: 3px 8px; border-radius: 999px; }

details.bio { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
details.bio summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details.bio p { margin: 12px 0 0; font-size: 15px; }

/* ---------- Program ---------- */
.program { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.program td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.program tr:last-child td { border-bottom: 0; }
.program td.time { width: 110px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.program .title { font-weight: 700; color: var(--ink); }
.program .who { font-size: 15px; color: #55555A; }
.program tr.break td { background: var(--paper); color: var(--muted); }
.program tr.break .title { color: var(--muted); font-weight: 600; }
.program tr.key td.time { color: var(--orange-dark); }
.program tr.key td:first-child { box-shadow: inset 4px 0 0 var(--orange); }

/* ---------- Callout cards (poster bottom boxes) ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 28px;
}
section:not(.alt) .card { background: var(--paper); }
.card p { margin: 6px 0 0; }
.dates { list-style: none; padding: 0; margin: 12px 0 0; }
.dates li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.dates li:last-child { border-bottom: 0; }
.dates b { color: var(--ink); }

/* ---------- Venue ---------- */
.venue-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.map { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--line); }
.travel { display: grid; gap: 14px; }
.travel .item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.travel .ico {
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft);
  display: flex; align-items: center; justify-content: center;
}
.travel .ico svg { width: 22px; height: 22px; stroke: var(--orange-dark); }
.travel h4 { margin: 2px 0 4px; color: var(--ink); font-size: 17px; }
.travel p { margin: 0; font-size: 15px; }

/* ---------- Organizers ---------- */
.orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 56px; }
/* Logo organizer: its orange circle is the full image height, so 72px matches the photo circles */
.org-logo { height: 72px; width: auto; }
.org { display: flex; gap: 16px; align-items: center; }
.org .avatar { width: 72px; height: 72px; margin: 0; font-size: 22px; border-width: 2px; flex: none; }
.org .name { font-weight: 700; color: var(--ink); }
.org .aff { font-size: 15px; color: #55555A; }

/* ---------- Logo strip ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 44px; }
.logos .logo { height: 56px; display: flex; align-items: center; justify-content: center; }
.logos .logo img { max-height: 52px; max-width: 150px; width: auto; height: auto; }
/* Text placeholder until an official logo file is added */
.logos .wordmark { font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.support { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.support .label { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.support img { height: 72px; width: 72px; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #BDB8AE; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--white); }
footer strong { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .speakers { grid-template-columns: repeat(3, 1fr); }
  .topics { grid-template-columns: repeat(2, 1fr); }
}
/* Nav collapses into the menu button while the seven links don't fit on one line */
@media (max-width: 1080px) {
  .nav ul { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 12px 24px; }
  .menu-toggle { display: block; }
  .nav .brand { margin-right: auto; }
  .nav .btn { order: 2; }
  .menu-toggle { order: 3; }
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-mark { max-width: 220px; justify-self: start; order: -1; }
  .two-col, .cards, .venue-grid { grid-template-columns: 1fr; }
  .orgs { flex-direction: column; align-items: flex-start; }
  .speakers { grid-template-columns: repeat(2, 1fr); }
  .factbar .wrap { font-size: 17px; }
  section { padding: 56px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topics { grid-template-columns: 1fr; }
  .speakers { gap: 12px; }
  .avatar { width: 96px; height: 96px; }
  .program td { padding: 12px 14px; }
  .program td.time { width: 70px; font-size: 15px; }
}

@media (max-width: 820px) {
  .speakers-from { flex-direction: column; gap: 14px; padding-top: 18px; padding-bottom: 20px; }
  .speakers-from .row { gap: 14px 26px; }
  .speakers-from img { height: 26px; }
  .speakers-from img.lg-tu, .speakers-from img.lg-bgu, .speakers-from img.lg-technion { height: 34px; }
}
