/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0b0b0b; /* Black background */
  color: #f1f5f9; /* Light text for contrast */
  line-height: 1.6;
}

/* Header */
header {
  background-color: #111827;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
}

header h1 {
  font-size: 2rem;
  font-weight: bold;
}

nav button {
  background-color: #1f2937;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  margin-left: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

nav button:hover {
  background-color: #374151;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  border-bottom: 4px solid #dc2626;
  box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.6);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(90%);
}

/* Main Content */
main {
  padding: 2rem;
}

/* Form */
form {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

form input,
form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #475569;
  background-color: #0f172a;
  color: #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  width: 100%;
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #1d4ed8;
}

/* Table */
table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  background-color: #1f2937;
  color: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

table thead {
  background-color: #991b1b;
  color: white;
}

table th,
table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #374151;
}

table tr:last-child td {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav button {
    margin: 0.5rem 0;
  }

  form {
    padding: 1.5rem;
  }

  table th,
  table td {
    font-size: 0.9rem;
  }
}
