/* ============================================
   TestSite — Simple Developer Test Stylesheet
   ============================================ */

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

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background: #fff;
}

a {
  color: #0055cc;
  text-decoration: underline;
}

a:hover {
  color: #003399;
}

/* ---- Layout ---- */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header / Nav ---- */

header {
  background: #222;
  color: #fff;
  padding: 14px 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 20px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

nav a:hover {
  color: #fff;
}

nav a.active {
  color: #fff;
  text-decoration: underline;
}

/* ---- Main Content ---- */

main {
  padding: 40px 0 60px;
}

.hero {
  border-bottom: 2px solid #222;
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.1rem;
  color: #555;
}

.content h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 10px;
  border-left: 4px solid #222;
  padding-left: 10px;
}

.content p {
  margin-bottom: 16px;
  color: #333;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 36px 0;
}

/* ---- Contact Form ---- */

.contact-form {
  margin-top: 28px;
  margin-bottom: 12px;
}

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

.form-group label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 6px;
  color: #222;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #aaa;
  font-size: 1rem;
  font-family: Georgia, serif;
  color: #222;
  background: #fafafa;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  outline: 2px solid #0055cc;
  border-color: #0055cc;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-check label {
  display: inline;
  font-weight: normal;
  margin-bottom: 0;
}

.required {
  color: #cc0000;
}

button[type="submit"] {
  background: #222;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #444;
}

/* ---- Footer ---- */

footer {
  background: #f2f2f2;
  border-top: 1px solid #ddd;
  padding: 20px 0;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: #777;
}
