/* =========================
   GLOBAL
========================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s ease;
}

.navbar.transparent {
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
}

/* =========================
   FULL-SCREEN SLIDES
========================= */
.full-screen-section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* navbar offset */
  box-sizing: border-box;
}

.full-screen-section img {
  max-width: 100%;
  max-height: calc(100vh - 100px);
  object-fit: contain;
  display: block;
}

/* Poster background color */
#poster {
  background-color: #B6FDC9;
}

/* =========================
   IMAGE BACKGROUND SECTIONS
========================= */
.image-background-section {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 100px 20px 40px;
  box-sizing: border-box;
}

/* Individual backgrounds */
#register {
  background-image: url("images/Afni_Directions.png");
}

#symposia {
  background-image: url("images/Afni_Events.png");
}

/* =========================
   OVERLAY TEXT BOX
========================= */
.overlay-text {
  background-color: rgba(255, 255, 255, 0.85);
  color: #000;
  font-weight: bold;

  width: 90%;
  max-width: 1000px;

  padding: 40px 50px;
  border-radius: 8px;
  text-align: center;

  font-size: 1.25rem;
  line-height: 1.6;
}

/* Paragraph spacing */
.overlay-text p {
  margin-bottom: 20px;
}

/* Easy font-size control per section */
#register .overlay-text {
  font-size: 1.15rem;
}

#symposia .overlay-text {
  font-size: 1.25rem;
}

/* =========================
   REGISTER BUTTON
========================= */
.register-button {
  display: inline-block;
  background-color: #c62828;
  color: #fff;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.register-button:hover {
  background-color: #a61e1e;
  color: #fff;
  text-decoration: none;
}

/* =========================
   CONTACT LINE
========================= */
.contact-line {
  text-align: center;
  padding: 40px 20px;
  background-color: #e9f7ef; /* soft, academic highlight */
  border-top: 2px solid #cfd8dc;
  border-bottom: 2px solid #cfd8dc;

  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
}

.contact-line a {
  color: #000;
  text-decoration: underline;
  font-weight: bold;
}

.contact-line a:hover {
  color: #c62828; /* subtle tie-in with Register button */
}


/* =========================
   MAP SECTION
========================= */
#map {
  padding: 40px 20px;
}

#map iframe {
  width: 100%;
  height: 80vh;
  max-height: 800px;
  border: 0;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* =========================
   FOOTER
========================= */
footer {
  margin-top: 0;
}
