:root {
  --accent: #ff8a00;
  --panel-bg: rgba(48,57,86,0.95);
  --card-bg: #ffffff;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.85);
  --hero-image: url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1400&q=60');
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: #111;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(90deg, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.65)), var(--hero-image);
  background-size: cover;
  background-position: center;
  padding: 24px;
}

/* ---------- Top Navigation ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
}
.logo {
  color: var(--accent);
  font-weight: 800;
  font-size: 22px;
}
.nav {
  display: flex;
  gap: 18px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
}
.nav a.active {
  background: var(--accent);
  color: #222;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}

/* --- Mobile hamburger --- */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 26px;
  color: var(--text);
  cursor: pointer;
}

/* Mobile nav layout (dropdown) */
@media (max-width: 768px) {
  .menu-toggle { display: inline-block; }

  /* Stack header items with space */
  .topbar { gap: 12px; }
  .nav {
    position: absolute;
    top: 64px;           /* just below the header */
    right: 16px;
    left: 16px;
    display: none;       /* hidden by default on mobile */
    flex-direction: column;
    gap: 10px;
    background: rgba(0,0,0,0.75);
    padding: 12px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    z-index: 20;
  }
  .nav.open { display: flex; }

  .nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
  }
}


/* ---------- Main Section ---------- */
.main {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 16px;
}

.left {
  flex: 1 1 60%;
  max-width: 900px;
}
h1 {
  font-size: 80px;
  line-height: 0.95;
  margin: 0 0 18px;
  font-weight: 800;
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
p.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 640px;
}

/* ---------- Right Panel ---------- */
.right {
  width: 420px;
  background: var(--panel-bg);
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.panel-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}
.panel-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}

/* ---------- Form Elements ---------- */
.toggle {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  margin-bottom: 14px;
}
.toggle button {
  flex: 1;
  padding: 12px;
  background: transparent;
  color: var(--muted);
  border: 0;
  font-weight: 700;
  cursor: pointer;
}
.toggle button.active {
  background: #ffffff;
  color: #222;
  box-shadow: inset 0 -3px 0 var(--accent);
}

label {
  display: block;
  font-size: 13px;
  margin: 8px 0 6px;
  color: rgba(255,255,255,0.9);
}
input[type="text"],
input[type="date"],
textarea {
  width: 100%;
  padding: 12px 10px;
  border-radius: 6px;
  border: 0;
  outline: 0;
  font-weight: 600;
}

.radio-row {
  display: flex;
  gap: 12px;
  margin: 8px 0 14px;
}
.radio {
  background: #fff;
  color: #222;
  padding: 8px 12px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.radio.inactive { opacity: 0.5; }

.btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 0;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), #ffb86b);
  color: #222;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.meta {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
}

.hidden { display: none; }

textarea {
  width: 100%;
  padding: 12px 10px;
  border-radius: 6px;
  border: 0;
  outline: 0;
  font-weight: 600;
  resize: vertical;
}


/* ---------- Responsive ---------- */
/* Tablet and down */
@media (max-width: 1000px) {
  h1 { font-size: 48px; line-height: 1.05; }
  .main { flex-direction: column; align-items: stretch; padding: 28px 16px; }
  .right { width: 100%; max-width: 560px; margin: 0 auto; }
  .left { flex: 1 1 auto; max-width: 100%; }
  p.lead { font-size: 18px; }
}

/* Phones */
@media (max-width: 520px) {
  h1 { font-size: 34px; }
  .hero { padding: 16px; }
  .topbar { padding: 8px 0; }
  /* DO NOT hide .nav on phones – we use .menu-toggle + .nav.open instead */
  .right { padding: 18px; }
  .toggle button { padding: 12px 10px; }
  label { font-size: 13px; }
  input[type="text"], input[type="date"], textarea { font-size: 16px; } /* better mobile keyboard */
  .btn { padding: 14px; font-size: 16px; }
}

