/* ROOT VARIABLES */
:root {
  --bg: #0b0b0b;
  --bg-soft: #111;
  --text-main: #f5f5f5;
  --text-muted: #b3b3b3;
  --accent: #c9a74c;
  --border: #1e1e1e;
}

/* BASE STYLING */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  overflow: hidden;
}

/* CENTER ONLY THE FORM */
.contact-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 24px;
  min-height: calc(100vh - 80px); /* adjust for navbar height */
}

.contact-wrapper {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-wrapper h1 {
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin-bottom: 8px;
}

.contact-wrapper p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px;
  font-size: 1rem;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(201,167,76,0.25);
  outline: none;
}

/* BUTTON */
.contact-form button {
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--accent);
}

.contact-form button:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}

.contact-form button:active {
  transform: translateY(0);
}

/* STATUS MESSAGE */
#status {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* FADE-IN */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.9s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 480px) {
  .contact-page {
    padding: 80px 16px;
  }
}
