/* Global */
body {
  background-color: #0c0c0c;
  color: #f5f5f5;
  font-family: 'Playfair Display', serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-image: linear-gradient(145deg, #0c0c0c 0%, #1a1a1a 100%);
}

header {
  background-color: #000;
  color: #d4af37;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 2.5rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  border-bottom: 1px solid #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* Main Container */
main {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2.5rem;
  background-color: #121212;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
  border: 1px solid #2c2c2c;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

label {
  font-size: 1rem;
  font-weight: 600;
  color: #e0e0e0;
}

input, select, textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #444;
  background-color: #1c1c1c;
  color: #f5f5f5;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus, textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
  outline: none;
}

textarea {
  resize: vertical;
}

/* Checkbox */
input[type="checkbox"] {
  accent-color: #d4af37;
  transform: scale(1.2);
  margin-right: 8px;
}

/* Button */
button {
  padding: 0.85rem 1.5rem;
  background-color: #d4af37;
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

button:hover {
  background-color: #f5d76e;
  transform: scale(1.02);
}

/* Recap Section */
.recap {
  margin-top: 2.5rem;
  background-color: #1e1e1e;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #2c2c2c;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.recap h3 {
  color: #d4af37;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #444;
  padding-bottom: 0.5rem;
}

#resume {
  white-space: pre-line;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 600px) {
  main {
    padding: 1.5rem;
    margin: 1.5rem;
  }

  header {
    font-size: 2rem;
  }
}

.home-button {
  position: absolute;
  top: 35px;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
}
.home-button svg {
  width: 28px;
  height: 28px;
  fill: #D4AF37; /* Or doré */
  transition: transform 0.2s;
}
.home-button:hover svg {
  transform: scale(1.1);
}