/* RESET E CONFIGURAÇÕES GERAIS */
* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #f5f6fa;
  border-bottom: 1px solid #e0e0e0;
}

.hero-section {
  padding-top: 80px; /* altura da navbar */
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 30px;
  width: 30px;
}

.logo span {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

/* NAVIGATION LINKS */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  position: relative;
}

.nav-links a::after {
  content: "▼";
  font-size: 10px;
  margin-left: 5px;
  display: inline-block;
}

.nav-links a.no-arrow::after {
  content: none;
}

/* BOTÕES */
.button-group {
  display: flex;
  gap: 10px;
}

.action-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-btn {
  background-color: #000;
  color: white;
}

.login-btn:hover {
  background-color: #333;
}

.start-btn {
  background-color: #000;
  color: white;
}

.start-btn:hover {
  background-color: #333;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    margin: 15px 0;
  }

  .footer-title span {
    font-size: 14px;
  }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  height: 80vh;
  background-image: url('/static/img/backgroun2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* INFO SECTION */
.info-section {
  display: flex;
  justify-content: space-around;
  padding: 60px 40px;
  background-color: white;
  gap: 40px;
  flex-wrap: wrap;
}

.info-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.info-block h2 {
  font-size: 24px;
  color: #050505;
  margin-bottom: 20px;
}

.info-block p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

/* FOOTER */
.site-footer {
  background-color: #000;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  height: 40px;
  width: 40px;
}

.footer-title span {
  display: block;
  font-size: 18px;
  font-weight: 500;
}

.footer-center {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
}

.footer-center a {
  color: #fff;
  text-decoration: none;
}

.footer-center a:hover {
  text-decoration: underline;
}

.footer-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-right img {
  height: 30px;
  width: 30px;
  cursor: pointer;
  object-fit: contain;
}

/* VENUE SECTION */
.venue-section {
  background-color: white;
  padding: 60px 40px;
  text-align: center;
}

.venue-section h2 {
  font-size: 28px;
  color: #050505;
  margin-bottom: 20px;
}

.venue-description {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.venue-image-container img {
  max-width: 60%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.section-divider {
  border: none;
  height: 1px;
  background-color: #ccc;
  width: 100%;
}

.section-title,
.section-title-center {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

/* IMAGENS */
.left-image {
  display: block;
  margin-left: 44%;
  max-width: 80%;
  height: auto;
}

.smooth-border {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.center-image {
  display: block;
  margin: 20px auto;
  max-width: 13%;
  height: auto;
}

.clickable-image {
  cursor: pointer;
}

/* COMITÊ */
.committee-list li {
  margin-bottom: 8px;
  color: #1a1a1a;
  font-size: 1rem;
}

/* SPEAKERS */
.speakers-section {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
}

.speaker-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: inline-block;
  width: 180px;
  margin: 20px;
  transition: transform 0.3s ease;
}

.speaker-card:hover {
  transform: translateY(-5px);
}

.speaker-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.speaker-name {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin: 10px 0 5px;
}

.speaker-info {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.white-background {
  background-color: white;
  padding: 40px 0;
}

/* INFO DATES */
.info-dates-section {
  background-color: #ffffff;
  padding: 60px 20px;
}

.info-dates-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.important-info,
.important-dates {
  flex: 1 1 450px;
  min-width: 320px;
}

.important-info h2,
.important-dates h2 {
  font-size: 24px;
  color: #000000;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.important-info p {
  font-size: 15px;
  color: #333;
  margin-bottom: 18px;
  line-height: 1.7;
  text-align: justify;
}

.button-group-info {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.info-button {
  background-color: #000000;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.info-button:hover {
  background-color: #000000;
}

.dates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dates-table th,
.dates-table td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  text-align: left;
}

.dates-table th {
  background-color: #f2f2f2;
  color: #000;
  font-weight: 600;
}

/* PUBLICAÇÕES */
.publication-container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.publication-container h2 {
  text-align: center;
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.invitation {
  font-size: 18px;
  margin-bottom: 40px;
  text-align: center;
  color: #555;
}

.publications {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1;
  min-width: 300px;
  max-width: 480px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card h3 {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.card ul {
  list-style: none;
  padding-left: 0;
}

.card ul li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  color: #444;
  line-height: 1.5;
}

.card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #3498db;
  font-size: 16px;
}

.card a {
  color: #3498db;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* REGISTRATION & FEES */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.registration, .fees {
  flex: 1 1 500px;
}

.registration {
  line-height: 1.7;
  font-size: 1rem;
  color: #333;
}

.registration ul {
  margin-top: 15px;
  margin-bottom: 15px;
}

.registration ul li {
  margin-bottom: 8px;
}

.registration .note {
  margin-top: 25px;
  font-size: 0.95rem;
  color: #666;
  text-align: justify;
  max-width: 90%;
}

.register-btn {
  margin-top: 30px;
  padding: 12px 24px;
  background-color: #000000;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.register-btn:hover {
  background-color: #000000;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: inherit;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: center;
}

table th {
  background-color: #f2f2f2;
}

table td small {
  display: block;
  font-size: 0.85em;
  color: #777;
}

/* IMAGEM ENIDH */
.imagem-enidh img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* PROGRAMME TABLE */
.programme-table {
  width: 90%;
  max-width: 900px;
  margin: 30px auto;
  border-collapse: collapse;
  background-color: transparent;
  font-size: 16px;
  text-align: center;
}

.programme-table th,
.programme-table td {
  border: 1px solid #ccc;
  padding: 12px;
}

.programme-table th {
  background-color: #eaeaea;
  font-weight: bold;
}

/* Container do menu de utilizador */
.user-menu {
  position: relative;
  display: inline-block;
}

/* Ícone redondo e responsivo */
.user-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ccc;
  transition: border 0.3s ease;
}

.user-icon:hover {
  border-color: #999;
}

/* Dropdown oculto por padrão */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 140px;
  z-index: 999;
}

/* Estilo dos botões dentro do dropdown */
.dropdown-item {
  padding: 10px 15px;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.dropdown-menu.show {
  display: block;
}

.register-btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  border-radius: 5px;
  padding: 12px 24px;
}