/* Contact Page */
.contact-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.contact-heading {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 1rem 0 0.5rem;
}
.contact-lead {
  color: var(--text-muted, #888);
  margin-bottom: 2rem;
}

/* Breadcrumb */
.contact-page .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted, #888);
}
.contact-page .breadcrumb a {
  color: var(--color-gold, #c8a961);
  text-decoration: none;
}
.contact-page .breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb-sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* Form */
.contact-form {
  background: var(--card-bg, #1a1a1a);
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 12px;
  padding: 2rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.form-required {
  color: #ef4444;
  margin-left: 0.25rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 8px;
  background: var(--bg, #111);
  color: var(--text, #eee);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold, #c8a961);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem;
  margin-top: 0.5rem;
  background: var(--color-gold, #c8a961);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-submit:hover {
  opacity: 0.85;
}
.btn-submit svg {
  width: 18px;
  height: 18px;
}

/* Error */
.contact-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

/* Success */
.contact-success {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--card-bg, #1a1a1a);
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 12px;
}
.contact-success-icon {
  width: 48px;
  height: 48px;
  color: #22c55e;
  margin-bottom: 1rem;
}
.contact-success-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.contact-success-text {
  color: var(--text-muted, #888);
  margin-bottom: 1.5rem;
}
.btn-back {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--color-gold, #c8a961);
  color: #000;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-back:hover {
  opacity: 0.85;
}

/* Contact Info */
.contact-info {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card-bg, #1a1a1a);
  border: 1px solid var(--border, #2a2a2a);
  border-radius: 8px;
  flex: 1;
  min-width: 200px;
}
.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold, #c8a961);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-label {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Light theme overrides */
[data-theme="light"] .contact-form,
[data-theme="light"] .contact-success,
[data-theme="light"] .contact-info-item {
  background: #fff;
  border-color: #e5e5e5;
}
[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #f9f9f9;
  border-color: #ddd;
  color: #111;
}
