/* ------------------------------
   ESTILO GLOBAL
------------------------------ */

body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f6fa;
  color: #333;
  line-height: 1.6;
}

header {
  background: #2c3e50;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1, header h2 {
  color: #FFFFFF;
}



/* ------------------------------
   HEADER COM LOGOTIPO À ESQUERDA
------------------------------ */

.header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* logo à esquerda */
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 100px;
  width: auto;
}

/* Para garantir que o título fica centrado visualmente */
header h1 {
  flex: 1;
  text-align: center;
  margin-right: 60px; /* compensa a largura do logo */
}

/*---------------------------------------*/

nav {
  background: #34495e;
  padding: 10px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: 30px auto;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ------------------------------
   TÍTULOS
------------------------------ */
h1, h2, h3 {
  color: #2c3e50;
}

/* ------------------------------
   TABELAS
------------------------------ */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th {
  background: #ecf0f1;
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

table td {
  padding: 10px;
  border: 1px solid #ccc;
}

table tr:nth-child(even) {
  background: #fafafa;
}

/* ------------------------------
   CARTÕES DAS EQUIPAS
------------------------------ */

/* Estilo para as fotos dos membros da equipa */
.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--accent-color, #4a90e2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.card h2 {
  margin-top: 0;
}

/* ------------------------------
   LINKS
------------------------------ */

a {
  color: #2980b9;
}

a:hover {
  text-decoration: underline;
}
