/* Reset e fonte base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

/* Corpo */
body {
  background-color: #F5F7FA;
  color: #2C3E50;
  transition: background-color 0.3s ease, color 0.3s ease; /* transição suave */
}

/* Modo noturno */
body.dark-mode {
  background-color: #1C1C1C;
  color: #F5F5F5;
}

header {
  background-color: #34495E;
  color: #FFFFFF;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Botão de modo noturno */
.modo-noturno {
  background-color: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.modo-noturno:hover {
  transform: scale(1.2);
  color: #D4AF37;
}

header h1 {
  font-size: 2.5rem;
}

nav {
  background-color: #2C3E50;
  padding: 1rem;
  text-align: center;
}

nav a {
  color: #F5F7FA;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #D4AF37;
}

section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.1);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

body.dark-mode section {
  background-color: #2C3E50;
}

#sobre p {
  margin-bottom: 20px;
}

.projeto {
  background: #ECF0F1;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #2980B9;
  transition: background 0.3s ease;
}

body.dark-mode .projeto {
  background: #34495E;
}

footer {
  background: #34495E;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.tech-item {
  background-color: #DCE3EA;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  color: #2C3E50;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.tech-item:hover {
  transform: translateY(-3px);
  background-color: #B0C4DE;
}

.tech-item i {
  font-size: 1.3rem;
}
