/* 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 1.5rem;
  max-width: 925px;
  margin: auto;
}


/* 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; }

/* Images - Responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Bold text */
b, strong {
  font-weight: 600;
}

/* 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: 965px) {
  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;
}
/* Navigation */
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}
.nav-menu a {
  white-space: nowrap;
}

/* Hamburger menu button - hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #1B3B6F;
  border-radius: 4px;
  font-size: 1.5rem;
  color: #1B3B6F;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Mobile styles */
@media (max-width: 965px) {
  .page-header {
    /* Keep row layout so Sign In stays on right */
    flex-wrap: wrap;
  }
  .page-header h1 {
    font-size: 1.4rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding: 0.5rem 0;
  }

  .nav-menu.active {
    display: flex;
  }
}

/* Pilot Note */
.pilot-note {
  background: #e8f4f3;
  border-left: 4px solid #00C2B2;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

/* Yellow Note */
.yellow-note {
  background: #ffffe0;
  border-left: 4px solid #ffd700;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

/* Red Note */
.red-note {
  background: #ffe6e6;
  border-left: 4px solid #ff0000;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

/* Warning Icon */
.warning-icon {
  font-size: 1.5em;
}



/* Form Styles */
form {
  max-width: 600px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
}
form h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1B3B6F;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}
form h3:first-child {
  margin-top: 0;
}
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 */
}
form .field-hint {
  font-size: 13px;
  color: #666;
  margin: 6px 0 0 0;
  font-style: italic;
}

/* Contact Info Partial */
.contact-info {
  background: #f0f7f6;
  border-left: 4px solid #00C2B2;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}
.contact-info p {
  margin: 5px 0;
}
.contact-info a {
  color: #1B3B6F;
}

/* Footer */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.footer-nav a::after {
  content: " |";
  color: #999;
  margin-left: 1rem;
}
.footer-nav a:last-child::after {
  content: "";
}

@media (max-width: 965px) {
  .footer-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-nav a::after {
    content: "";
    margin-left: 0;
  }
}

/* Notify Callout */
.notify-callout {
  background: #f0f4f8;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 2rem 0 1rem;
  text-align: center;
}
.notify-callout p {
  margin: 0;
  color: #2c4a7c;
}
.notify-callout a {
  font-weight: 600;
}

/* Notify Options */
.notify-option {
  background: #f9f9f9;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.notify-option h4 {
  margin-top: 0;
  color: #1B3B6F;
}
.notify-option p:last-child {
  margin-bottom: 0;
}

/* Primary Button Style */
.btn-primary {
  display: inline-block;
  padding: 10px 18px;
  background-color: #1B3B6F;
  color: white !important;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none !important;
  transition: background 0.2s ease;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #132a50;
  color: white !important;
  border-bottom: none !important;
}

/* Dropdown Navigation */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: transparent;
  color: #1B3B6F;
  padding: 0;
  font-size: inherit;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 1px solid transparent;
  font-family: inherit;
}

.dropbtn:hover,
.dropbtn:focus {
  color: #00C2B2;
  border-bottom: 1px solid #00C2B2;
  outline: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 4px;
}

.dropdown-content a {
  color: #1B3B6F;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #f0f7f6;
  color: #1B3B6F;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  color: #00C2B2;
  border-bottom: 1px solid #00C2B2;
}
