/* ===============================
   Shared 2026 Style (Minimal & Consistent)
================================= */

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f7f9;
  color: #6b6b6b; /* base text color – can be overridden */
}

.status-alert {
  background: #dff0d8;
  color: #3c763d;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  border-bottom: 1px solid #d6e9c6;
  font-weight: 600;
}

/* ===============================
   Header
================================= */

header {
  background: linear-gradient(#fff, #f1f1f1);
  border-bottom: 1px solid #ccc;
  padding: 12px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.container {
  width: 960px;
  max-width: 96%;
  margin: 0 auto;
  overflow: hidden;
}

.logo-area {
  float: left;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-area img {
  height: 44px;
}

nav {
  float: right;
  margin-top: 10px;
}

nav a {
  margin-left: 18px;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: 14px;
}

/* ===============================
   Hero Section
================================= */

.hero {
  background: linear-gradient(135deg, #2c3e50 0%, #0056b3 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
  border-bottom: 4px solid #004494;
}

.hero h2 {
  font-size: 34px;
  margin: 0 0 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.hero p {
  margin: 0;
}

.btn-container {
  margin-top: 18px;
}

.btn-main {
  display: inline-block;
  background: linear-gradient(#ffb347, #ff9800);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 0 #cc7a00;
  border: 1px solid #e68a00;
}

/* ===============================
   Content
================================= */

.content-block {
  background: #fff;
  margin-top: 18px;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  color: #333; /* darker text for better readability inside blocks */
}

h3 {
  color: #0056b3;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.card {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 14px;
  border-radius: 8px;
  color: #333;
}

.muted {
  color: #6b6b6b;
  font-size: 13px;
}

/* ===============================
   Forms
================================= */

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fafafa;
  box-sizing: border-box;
  color: #333;
}

::placeholder {
  color: #999;
  opacity: 1;
}

/* ===============================
   Modal
================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: #fff;
  padding: 20px;
  width: 520px;
  max-width: 94%;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #333;
}

.modal h4 {
  margin: 0 0 8px;
  color: #0056b3;
}

.row {
  display: flex;
  gap: 10px;
}

.row > * {
  flex: 1;
}

/* ===============================
   Footer
================================= */

footer {
  background: #222;
  color: #ccc; /* lighter text for contrast */
  padding: 26px 0;
  text-align: center;
  font-size: 13px;
  margin-top: 28px;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

/* ===============================
   Responsive
================================= */

@media (max-width: 600px) {
  nav {
    display: none;
  }

  .hero {
    padding: 36px;
  }

  .hero h2 {
    font-size: 26px;
  }

  .status-alert {
    font-size: 12px;
    padding: 8px;
  }
}

/* ===============================
   Dark Theme Overrides
================================= */

.dark-theme {
  background: #0f1720;
  color: #dfe7ee;
}

.dark-theme .status-alert {
  background: #0b2a2b;
  color: #bff0e8;
  border-bottom-color: #073636;
}

.dark-theme header {
  background: linear-gradient(#0b1220, #071019);
  border-bottom-color: #08131a;
}

.dark-theme .content-block {
  background: #07101a;
  border-color: #0b1620;
  box-shadow: none;
  color: #d6e6f0;
}

.dark-theme .hero {
  background: linear-gradient(135deg, #071027 0%, #003152 100%);
  color: #e6f6ff;
  border-bottom-color: #00283f;
}

.dark-theme footer {
  background: #05060a;
  color: #9fb0c2;
}

.dark-theme footer a {
  color: #c0d0e0;
}

.dark-theme input,
.dark-theme textarea,
.dark-theme select {
  background: #07101a;
  color: #d6e6f0;
  border-color: #123040;
}

.dark-theme .card {
  background: #07101a;
  border-color: #0b1620;
  color: #d6e6f0;
}

.dark-theme .muted {
  color: #9fb0c2;
}

.dark-theme .btn-main {
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
}

/* Dark toggle button */
.dark-toggle {
  background: transparent;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  color: #333;
}

.dark-theme .dark-toggle {
  color: #dfe7ee;
}
