/* ============================================================
   page-contact.css
   Styles for the Contact page only.
   Shared styles live in shared.css
   ============================================================ */


/* ============================================================
   TWO-COLUMN LAYOUT
   Left column:  contact form
   Right column: social links + newsletter signup
   Stacks to single column on mobile.
   ============================================================ */
.contact-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           start;
  margin-top:            48px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}


/* ============================================================
   FORM FIELD GROUPS
   Label above, input / textarea below.
   ============================================================ */
.form-group { margin-bottom: 22px; }

/* gold uppercase label */
.form-group label {
  display:        block;
  font-family:    'Orbitron', sans-serif;
  font-size:      10px;
  font-weight:    600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  8px;
}

/* input and textarea share the same base styles */
.form-group input,
.form-group textarea {
  width:       100%;
  background:  #111;
  border:      1px solid rgba(201, 168, 76, 0.25);
  color:       var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size:   15px;
  padding:     12px 16px;
  outline:     none;
  transition:  border-color 0.2s, background 0.2s;
  resize:      vertical;   /* lets user resize textarea height only */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 237, 232, 0.2);
}

/* gold border on focus */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background:   #141414;
}

/* success message — hidden until form is submitted */
.form-success {
  display:     none;
  margin-top:  20px;
  font-family: 'EB Garamond', serif;
  font-style:  italic;
  font-size:   18px;
  color:       var(--gold);
}


/* ============================================================
   SOCIAL LINKS SIDEBAR
   Each link slides right on hover and shows an arrow.
   ============================================================ */
.social-link {
  display:         flex;
  align-items:     center;
  gap:             16px;
  padding:         18px 0;
  border-bottom:   1px solid rgba(201, 168, 76, 0.1);
  text-decoration: none;
  color:           rgba(240, 237, 232, 0.55);
  font-family:     'Orbitron', sans-serif;
  font-size:       12px;
  font-weight:     600;
  letter-spacing:  2px;
  text-transform:  uppercase;
  transition:      color 0.2s, padding-left 0.2s;
}
.social-link:hover {
  color:        var(--gold);
  padding-left: 8px;
}

/* arrow fades in on hover */
.social-link::after {
  content:     '→';
  margin-left: auto;
  color:       var(--gold);
  opacity:     0;
  transition:  opacity 0.2s;
}
.social-link:hover::after { opacity: 1; }

/* SVG icon beside the label */
.social-link svg {
  width:       18px;
  height:      18px;
  fill:        currentColor;
  flex-shrink: 0;
}


/* ============================================================
   NEWSLETTER SIGNUP
   Inline form: email input + subscribe button side by side.
   ============================================================ */
.newsletter-wrap { margin-top: 48px; }

.newsletter-row {
  display:    flex;
  gap:        0;
  margin-top: 16px;
}

.newsletter-row input {
  flex:        1;
  background:  #111;
  border:      1px solid rgba(201, 168, 76, 0.3);
  border-right: none;    /* prevents double border where input meets button */
  color:       var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size:   14px;
  padding:     12px 16px;
  outline:     none;
  transition:  border-color 0.2s;
}
.newsletter-row input::placeholder { color: rgba(240, 237, 232, 0.25); }
.newsletter-row input:focus        { border-color: var(--gold); }

/* confirmation or error message shown after submit */
.newsletter-msg {
  margin-top:     10px;
  font-family:    'Orbitron', sans-serif;
  font-size:      10px;
  font-weight:    600;
  letter-spacing: 2px;
  color:          var(--gold);
  min-height:     16px;
}
/* ============================================================
   MOBILE NAV CLEARANCE
   On tall/narrow screens the section needs extra top padding
   to push the Biography label clear of the fixed nav bar.
   ============================================================ */
@media (max-width: 900px) {
  section {
    padding-top: calc(var(--nav-height) + 24px);
  }
}
