/* ═══════════════════════════════════════════════════════════
   CONTACT.CSS — Styles for the contact page only
   ═══════════════════════════════════════════════════════════ */

/* ── CONTACT SECTION ───────────────────────────────────── */
#contact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 60px;
  text-align: center;
}

.contact-heading {
  font-size: clamp(52px, 7vw, 96px);
  clip-path: inset(0 0% 0 0);
}

.contact-sub {
  color: var(--grey);
  font-size: 13px;
  margin: 20px 0 48px;
  font-family: 'Space Mono', monospace;
}

.contact-card {
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 56px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  margin-bottom: 16px;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}

.contact-card select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  border-color: rgba(147, 51, 234, 0.6);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15),
              0 8px 32px rgba(147, 51, 234, 0.1);
  outline: none;
  background: rgba(10, 10, 10, 0.8);
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.contact-info {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  justify-content: center;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--grey);
  font-family: 'Space Mono', monospace;
  font-size: 14px;
}

.contact-info-icon {
  font-size: 20px;
}

/* ── SUCCESS MESSAGE ──────────────────────────────────── */
.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  border-radius: 10px;
  padding: 20px;
  color: #22c55e;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  margin-top: 20px;
  display: none;
}

.success-message.show {
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — contact page
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  #contact {
    padding: 100px 24px 60px;
  }

  .contact-card {
    padding: 32px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact-info {
    flex-direction: column;
    gap: 24px;
  }
}
