body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1A1A2E;
  color: #EAEAEA;
}

.navbar {
  background-color: #16213E;
  border-bottom: 1px solid #0F3460;
  padding: 1rem;
  text-align: center;
}

.navbar a {
  color: #EAEAEA;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}

section {
  padding: 60px 20px;
  text-align: center;
}

#hero {
  background: linear-gradient(135deg, #0F3460 0%, #E94560 100%); /* Gradien dinamis */
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid rgba(255, 255, 255, 0.5);
}

.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.about-img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.project {
  margin: 20px auto;
  max-width: 300px;
  background-color: #16213E;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.project img {
  width: 100%;
  display: block;
}

#about, #projects {
  background-color: #1A1A2E;
  color: #EAEAEA;
}

/* Alert Custom */
#alertBox {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 600px;
  background: none;
}

.alert {
  padding: 15px 20px;
  margin: 10px auto;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(6px);
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.85);
  color: white;
  border: 1px solid rgba(40, 167, 69, 0.7);
}

.alert-error {
  background-color: rgba(220, 53, 69, 0.85);
  color: white;
  border: 1px solid rgba(220, 53, 69, 0.7);
}

.alert .close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-weight: bold;
  color: white;
}