/* Reset básico e tipografia */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  background: url('../img/page-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #333;
  line-height: 1.6;
}

/* Destaque semântico */
strong {
  font-weight: bold;
  color: #111;
}

/* Layout principal: sidebar + conteúdo */
.layout {
  display: flex;
  justify-content: center;  /* centraliza horizontalmente */
  align-items: flex-start;
  padding: 40px 20px;
}

/* Conteúdo principal */
.content {
  width: 800px;
  padding: 5px;
  background: transparen;
  box-sizing: border-box;
}


/* Botão de alternância de tema (modo escuro) */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #1e5b5d;
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 1000;
  transition: background 0.3s ease;
}

.ver-mais {
  font-weight: bold;
  text-decoration: underline;
  margin-top: 12px;
  cursor: pointer;
  font-size: 1rem;
}

.theme-toggle:hover {
  background: #444;
}

.projeto-imagens {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.projeto-imagens img {
  width: 190px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: zoom-in; /* 🔍 ícone de lupa */
  transition: transform 0.2s ease;
}
.projeto-imagens img:hover {
  transform: scale(1.05);
}

/* Modal */
#imagem-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#imagem-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}

body.dark {
  background: #121212;
  color: #e0e0e0;
}

body.dark .section-header {
  background-color: #1a3c3e;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  outline-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

body.dark .apresentacao {
  background-color: #1e2a2e;
  color: #ddd;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
}

body.dark .experiencia-card {
  background-color: #1f2d30;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 1px 2px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #eee;
}

body.dark .experiencia-conteudo {
  color: #ddd;
}

body.dark .experiencia-titulo p {
  color: #aaa;
}

body.dark .sidebar {
  background: linear-gradient(to bottom, #0f2c2e, #1f4e50);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

body.dark .sidebar-nav a {
  background: rgba(255, 255, 255, 0.08);
  color: #ddd;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark .sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffd32a;
}

body.dark .sidebar-links p,
body.dark .sidebar-links a {
  color: #ccc;
}

body.dark .theme-toggle {
  background: #0f2c2e;
}

body.dark .projeto-imagens img {
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.2);
}

body.dark h1,
body.dark .apresentacao h1 {
  color: #ffffff;
}

body.dark strong {
  color: #50d4d1;
}

body.dark .apresentacao p:last-of-type {
  color: #fff;
}

/* Botão de abrir menu (visível só em mobile) */
.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1100;
  background: #1a5052;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

