/* Local Eyes Project - Simple Modern Style updated with Brand Palette */

/* Reset basic margins */
body, h1, h2, h3, h4, p, ul, ol {
  margin: 0;
  padding: 0;
}

/* Base font and spacing */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  color: #333; /* Keep body text neutral for readability */
  background-color: #fafafa;
  padding: 1rem;
  max-width: 800px;
  margin: auto;
}

b {
  color: #1B3B6F;  /* Updated to Brand Deep Blue */
  font-weight: 600;
}

/* Headings */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1B3B6F; /* Updated to Brand Deep Blue for strong presence */
}

h1 { font-size: 2rem; padding-bottom: 0.3rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; color: #2c4a7c; } /* Slightly lighter deep blue */

/* Paragraphs */
p { margin-bottom: 1rem; }

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
ul li { list-style-type: disc; }
ol li { list-style-type: decimal; }

/* Horizontal rule */
hr {
  border: none;
  border-top: 2px solid #cfd8dc; /* Subtle cool grey to match palette */
  margin: 0.75rem 0;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  body { padding: 0.60rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
}

/* Links */
a {
  color: #1B3B6F; /* Brand Deep Blue */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 1px solid transparent;
}
a:hover, a:focus {
  color: #00C2B2; /* Brand Bright Teal on hover for clarity */
  border-bottom: 1px solid #00C2B2;
  outline: none;
}
a:active { color: #132a50; }

/* Page header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.page-header h1 {
  margin: 0;
  font-size: 1.8rem;
}
.header-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.header-logo {
  width: 32px;
  height: 32px;
}
/* Sign In link (top-right) */
.signin-link {
  font-weight: 600;
  color: #1B3B6F; /* Brand Deep Blue */
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.signin-link:hover,
.signin-link:focus {
  color: #00C2B2; /* Brand Bright Teal accents */
  border-bottom: 1px solid #00C2B2;
  outline: none;
}
/* Stack title and sign-in on small screens */
@media (max-width: 600px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* Form Styles */
form {
  max-width: 500px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
}
form label {
  display: block;
  margin: 12px 0 6px;
  font-weight: bold;
  color: #1B3B6F; /* Brand Deep Blue */
}
form input,
form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
form input:focus,
form textarea:focus {
  border-color: #00C2B2; /* Brand Bright Teal focus */
  outline: none;
  box-shadow: 0 0 4px rgba(0, 194, 178, 0.4); /* Teal shadow */
}
form button {
  margin-top: 15px;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  background-color: #1B3B6F; /* Brand Deep Blue main action button */
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}
form button:hover {
  background-color: #132a50; /* Darker deep blue on hover */
}