/* ============================================================
   iMakeMusic Inc. — style.css
   Dark & Gold · Single Hero · Restored Layout
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- Variables ---------- */
:root {
  --gold:         #C39E6D;
  --gold-dk:      #a5834f;
  --gold-dim:     rgba(195, 158, 109, 0.30);
  --white:        #ffffff;
  --text:         #ffffff;
  --text-mid:     rgba(255, 255, 255, 0.72);
  --text-muted:   rgba(255, 255, 255, 0.42);
  --input-bg:     rgba(255, 255, 255, 0.07);
  --input-border: rgba(195, 158, 109, 0.30);
  --input-focus:  rgba(195, 158, 109, 0.70);
  --font-display: 'Montserrat', sans-serif;
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Inter', sans-serif;
  --radius:       5px;
  --max-w:        1100px;
}

/* ---------- Base ---------- */
html, body {
  height: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #06030f;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}

.navbar.scrolled {
  background: rgba(6, 3, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(195, 158, 109, 0.15);
}

.navbar .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Two-tone logo: IMAKE (white) + MUSIC (gold) */
.nav-logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  line-height: 1;
}

.nav-logo span { color: var(--gold); }

/* ============================================================
   HERO — full-screen
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Background image + dark moody overlay
   ─────────────────────────────────────
   Image path: img/home-studio.png
   Replace with your own file to update the photo.
   ───────────────────────────────────────────────  */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      158deg,
      rgba(14,  6, 32, 0.86) 0%,
      rgba(22, 10, 46, 0.78) 40%,
      rgba(6,   2, 18, 0.90) 100%
    ),
    url('img/home-studio.png') center / cover no-repeat;
}

/* Subtle vignette around edges */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

/* ============================================================
   HERO BODY — all centered content
   ============================================================ */
.hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 680px;
}

/* Eyebrow label */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-dim);
}

/* Main headline */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6.5vw, 76px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

/* Gold rule between headline and form */
.hero-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin-bottom: 40px;
  border: none;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-wrap {
  width: 100%;
}

/* Feedback banner */
.form-feedback {
  display: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  padding: 11px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  text-align: left;
}

.form-feedback.success {
  display: block;
  background: rgba(74, 200, 130, 0.10);
  border: 1px solid rgba(74, 200, 130, 0.32);
  color: #7de8a8;
}

.form-feedback.error {
  display: block;
  background: rgba(220, 80, 80, 0.10);
  border: 1px solid rgba(220, 80, 80, 0.32);
  color: #f0a0a0;
}

/* Two-column row: name + email */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

/* Field group */
.field { display: flex; flex-direction: column; }

.field label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-align: left;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

.field input:focus,
.field textarea:focus {
  border-color: var(--input-focus);
  background: rgba(255, 255, 255, 0.10);
}

/* Message textarea — full width, below the row */
.field-message {
  margin-bottom: 12px;
}

.field-message textarea { height: 90px; }

/* Bottom row: CAPTCHA + submit side by side */
.form-bottom {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* ============================================================
   CAPTCHA
   ============================================================ */
.captcha {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  min-width: 0;
}

.captcha-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.captcha-icon svg {
  width: 14px; height: 14px;
  stroke: var(--gold); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.captcha-q {
  flex: 1;
  font-size: 12px;
  color: var(--text-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.captcha-q strong {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.captcha-answer {
  width: 52px;
  flex-shrink: 0;
  text-align: center;
  padding: 6px 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
  appearance: textfield;
  -moz-appearance: textfield;
}

.captcha-answer::-webkit-outer-spin-button,
.captcha-answer::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.captcha-answer:focus { border-color: var(--input-focus); }

.captcha-refresh {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(195, 158, 109, 0.20);
  border-radius: var(--radius);
  width: 28px; height: 28px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
  padding: 0;
}

.captcha-refresh:hover { border-color: var(--gold); color: var(--gold); }

.captcha-refresh svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
  stroke-width: 2.2; stroke-linecap: round;
}

/* Live verification feedback below the bottom row */
.captcha-status {
  display: none;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  margin-top: 6px;
}

.captcha-status.ok  { display: block; color: #7de8a8; }
.captcha-status.err { display: block; color: #f0a0a0; }

/* ============================================================
   SUBMIT BUTTON
   ============================================================ */
.btn-submit {
  flex-shrink: 0;
  padding: 0 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
}

.btn-submit:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(195, 158, 109, 0.28);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   LEGAL
   ============================================================ */
.legal {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .navbar .inner { padding: 0 20px; }

  .hero { padding: 100px 20px 60px; }

  .form-row { grid-template-columns: 1fr; }

  .form-bottom { flex-direction: column; }

  .captcha { padding: 12px 14px; }

  .btn-submit { padding: 13px; width: 100%; }
}

@media (max-height: 700px) {
  .hero { justify-content: flex-start; }
  .field-message textarea { height: 68px; }
}
