/* === SocialLLM Workshop — PersonaLLM-inspired style === */

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

html { scroll-behavior: smooth; }

body {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 1.1rem;
  color: #111;
  background: #F0F8FF;
  line-height: 1.6;
}

a { color: #1e5a99; text-decoration: none; transition: color 0.2s; }
a:hover { color: #0d3d6b; }

strong { font-weight: 600; }

/* ---- Navbar ---- */
.navbar {
  background: #E6F3FF;
  border-bottom: 1px solid #B8D9F5;
  padding: 0.6rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
.navbar-brand:hover { color: #1e5a99; }

.navbar-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.navbar-links a {
  color: #111;
  font-size: 1.1rem;
  text-decoration: none;
}
.navbar-links a:hover { color: #444; }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: #1a2a3a url('./data/images/Los_Angeles_with_Mount_Baldy.jpg') center 50% / cover no-repeat;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.50);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 3rem 1.5rem;
  max-width: 850px;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.hero-content .hero-sub {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 0.3rem;
}

/* ---- Main container ---- */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Sections ---- */
section {
  padding: 1.8rem 0;
}

section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid #B8D9F5;
  padding-bottom: 0.4rem;
}

section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

section p {
  margin-bottom: 0.8rem;
}

section ul {
  margin: 0.4rem 0 0.8rem 1.4rem;
}

section li {
  margin-bottom: 0.3rem;
}

/* ---- Table ---- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th, td {
  text-align: left;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid #d4e6f5;
}

th {
  background: #E6F3FF;
  font-weight: 600;
}

tr:hover { background: #f5faff; }

/* ---- People cards (flex row) ---- */
.people-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.8rem;
}

.person-card {
  width: 200px;
  text-align: center;
}

.person-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  transition: filter 0.25s;
}

.person-card img:hover {
  filter: brightness(1.15);
}

.person-card .name {
  font-weight: 600;
  margin-top: 0.5rem;
  font-size: 0.98rem;
  white-space: nowrap;
}

.person-card .affil {
  font-size: 0.85rem;
  color: #555;
}

/* ---- Tutorial reference list ---- */
.reading-refs {
  margin: 0.4rem 0 0 1.4rem;
}

.reading-refs li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

/* ---- Section title row (title + button inline) ---- */
.section-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid #B8D9F5;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.section-title-row h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.btn-tutorial {
  display: inline-block;
  background: #1e5a99;
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-tutorial:hover {
  background: #0d3d6b;
  color: #fff;
}

/* ---- Keynote speaker entries ---- */
.speaker-entry {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #d4e6f5;
}

.speaker-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.speaker-left {
  flex: 0 0 270px;
  text-align: left;
}

.speaker-left img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: filter 0.25s;
}

.speaker-left img:hover { filter: brightness(1.15); }

.speaker-left .name {
  font-weight: 600;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.speaker-left .affil {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.7rem;
}

.speaker-left .bio {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
}

.speaker-right {
  flex: 1;
}

.speaker-right .talk-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #1e5a99;
}

.speaker-right .talk-abstract {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.speaker-right .reading-header {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.speaker-right .reading-list {
  font-size: 0.9rem;
  margin: 0 0 0 1.2rem;
}

.speaker-right .reading-list li {
  margin-bottom: 0.25rem;
}

.talk-stay-tuned {
  color: #555;
  font-size: 1rem;
}

@media screen and (max-width: 700px) {
  .speaker-entry { flex-direction: column; }
  .speaker-left { flex: none; }
}

/* ---- Footer ---- */
.footer {
  background: #B8D9F5;
  color: #111;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ---- Mobile ---- */
@media screen and (max-width: 700px) {
  .navbar { justify-content: center; text-align: center; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero { min-height: 280px; }
  .people-row { justify-content: center; }
  .person-card { width: 160px; }
  .person-card img { width: 110px; height: 110px; }
}
