/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #121212;
  color: #f5f5f5;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e1e;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

nav a {
  color: #f5f5f5;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
  color: #FF6F00;
  transform: scale(1.05);
}

nav i {
  margin-right: 0.5rem;
}

/* SOBRE MIM */
.sobremim {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -20px;
  padding: 3.02rem 2rem;
  background: linear-gradient(180deg, #1e1e1e 0%, #2c2c2c 100%);
}

.sobremim img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.sobre-p {
  max-width: 600px;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* IMAGEM DE PERFIL */
.francis {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #7b2cbf;
  box-shadow: 0 0 20px rgba(123, 44, 191, 0.6);
  transition: transform 0.3s ease;
}

.francis:hover {
  transform: scale(1.05);
}

/* BOTÃO */
.button {
  background-color: #FF6F00;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #e65c00;
  transform: scale(1.05);
}

/* CURRÍCULO */
.curriculo {
  background-color: #1e1e1e;
  padding: 1.5rem 1rem 3rem 1rem; /* Reduz o espaçamento superior */
  margin-top: -2rem; /* Faz a seção subir */
}

.curriculo h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.curriculo .button {
  background-color: #FF6F00;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none; /* Remove o sublinhado */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
  display: inline-block;
}

.curriculo .button:hover {
  background-color: #e65c00;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(255, 111, 0, 0.4);
}

/* SEÇÕES GERAIS */
#projetos, #contato {
  padding: 2rem;
  background-color: #1e1e1e;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
}

/* MODAL */
.modal {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.modal.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  max-width: 600px;
  margin: 5% auto;
  padding: 2rem;
  background-color: #2c2c2c;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
  background-color: #3a3a3a;
  color: #fff;
}

input::placeholder, textarea::placeholder {
  color: #aaa;
}

form {
  display: flex;
  flex-direction: column;
}

.close {
  float: right;
  font-size: 1.5rem;
  color: #f5f5f5;
}

.close:hover {
  cursor: pointer;
  color: #ff6b6b;
  transform: scale(1.1);
  transition: 0.2s ease;
}
