/* Base layout */
body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  color: #222;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

header {
  position: static;
  background: #1f2937;
  color: #ffffff;
  padding: 1.5rem 2rem;
}

/* Header */
/* header {
  background: #1f2937;
  color: #ffffff;
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
} */

header h1 {
  margin: 0;
  font-size: 1.8rem;
  text-align: center;
}

header p {
  margin: 0.25rem 0 0;
  color: #d1d5db;
  text-align: center;
}

header p a {
  color: #d1d5db;
}
/* Navigation */

nav {
  position: static;
  background: #111827;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0 2rem;
}

nav a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
}

nav a::before {
  font-family: "Raleway", sans-serif;
}

nav a[href="#abstract"]::before { content: "📘"; }
nav a[href="#goals"]::before { content: "🎯"; }
nav a[href="#materials"]::before { content: "📂"; }
nav a[href="#programme"]::before { content: "🗓️"; }
nav a[href="#organisers"]::before { content: "👤"; }

nav a:hover,
nav a.active {
  color: #ffffff;
  border-bottom-color: #3b82f6;
}

/* Main content */
main {
  padding: 2rem;
  max-width: 1100px;
  margin: auto;
}

section {
  margin-bottom: 3rem;
  scroll-margin-top: 180px; /* sticky header + nav offset */
}

section h2 {
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

/* Materials */
#materials ul {
  list-style: none;
  padding-left: 0;
}

#materials li {
  margin-bottom: 0.5rem;
}

#materials a {
  text-decoration: none;
  font-weight: 500;
  color: #2563eb;
}

#materials a::before {
  content: "⬇️";
  margin-right: 0.4rem;
}

#materials a:hover {
  text-decoration: underline;
}

/* Programme table */
table.schedule {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

table.schedule thead {
  background: #f9fafb;
}

table.schedule th,
 table.schedule td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

table.schedule tbody tr:hover {
  background: #f3f4f6;
}

/* Speaker profiles 
.profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}*/

.profiles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profiles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.profiles-row.center {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.profile-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
  max-width: 320px;
  width: 100%;
}

.profile-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.profile-card h3 {
  margin: 0.5rem 0 0.25rem;
}

.profile-card p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* Profile action buttons */
.profile-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.profile-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.profile-actions a:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.profile-actions a:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}


/* Footer */
footer {
  background: #f3f4f6;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #4b5563;
}

footer h4 {
  margin-top: 1rem;
  color: #1f2937;
}
