/* ==========================================================
   contact-r.css
   Styling tuned to replicate contact-new.jpg:
   - dark blue/black page background
   - gold title centered
   - deep green rounded card
   - darker green inputs
   - blue submit button
   ========================================================== */

/* Page background + spacing under fixed header */
.contact-r-page{
  min-height: calc(100vh - 140px);
  padding-top: 40px; /* keeps content below the topbar */
  padding-bottom: 60px;
  background: radial-gradient(circle at top, rgba(20,60,70,0.55), rgba(0,0,0,0.95));
}

/* Title */
.contact-r-title{
  text-align: center;
  font-size: clamp(34px, 4vw, 44px);
  color: #f5c400; /* gold */
  margin: 0 0 22px 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

/* Main wrapper */
.contact-r-section{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

/* Card */
.contact-r-card{
  width: min(860px, 100%);
  background: rgba(9, 84, 27, 0.95);
  border-radius: 18px;
  padding: 34px 30px 30px 30px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  border: 1px solid rgba(0,0,0,0.25);
}

/* Success/error message */
.contact-r-message{
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 700;

  /* Blue notice panel (requested) */
  background: rgba(31, 107, 255, 0.20);
  border: 1px solid rgba(31, 107, 255, 0.55);
  color: #eef4ff;
}

/* Keep a subtle type cue without changing the blue background */
.contact-r-message.success{
  border-left: 6px solid rgba(0, 255, 140, 0.85);
  color: #0F5FFF;
}
  color: #0F5FFF;
}
.contact-r-message.error{
  border-left: 6px solid rgba(255, 80, 80, 0.90);
}

/* Grid layout like the screenshot */
.contact-r-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  margin-bottom: 18px;
}

.form-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label{
  color: #e7ffe7;
  font-weight: 700;
  font-size: 16px;
}

/* Inputs + textarea */
.form-group input,
.form-group textarea{
  background: rgba(7, 40, 16, 0.95);
  border: 1px solid rgba(70, 130, 85, 0.75);
  border-radius: 10px;
  padding: 12px 12px;
  color: #eaffea;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-group textarea{
  resize: vertical;
  min-height: 170px; /* matches the tall box in the screenshot */
}

.form-group input::placeholder{
  color: rgba(230, 255, 230, 0.55);
}

/* Focus glow (subtle) */
.form-group input:focus,
.form-group textarea:focus{
  border-color: rgba(0, 255, 140, 0.75);
  box-shadow: 0 0 0 3px rgba(0, 255, 140, 0.16);
}

/* Submit button centered */
.contact-r-actions{
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.contact-r-submit{
  background: #1f6bff;
  color: #ffffff;
  border: 1px solid rgba(0,0,0,0.35);
  border-radius: 8px;
  padding: 10px 26px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  transition: transform 120ms ease, filter 120ms ease;
}

.contact-r-submit:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.contact-r-submit:active{
  transform: translateY(0);
  filter: brightness(0.98);
}

/* Honeypot is visually hidden but remains in the DOM for bots */
.hp-field{
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Highlight current nav link (contact) without breaking your existing nav styling */
.nav-links a.nav-active{
  text-decoration: underline;
  text-underline-offset: 6px;
  font-weight: 800;
}

/* Responsive: stack fields on small screens */
@media (max-width: 720px){
  .contact-r-card{
    padding: 26px 18px 22px 18px;
  }
  .contact-r-grid{
    grid-template-columns: 1fr;
  }
}
