/* Base layout */
body {
  font-family: Verdana, Geneva, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Contact info block */
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.1em;
  color: #01527C;
  margin: 20px auto 40px;
  padding: 12px 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-width: 400px;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-line {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 6px 0;
}

.contact-line .label {
  font-weight: bold;
  min-width: 60px;
  text-align: right;
}

.contact-line .value a {
  color: #01527C;
  text-decoration: none;
}

.contact-line .value a:hover {
  text-decoration: underline;
}

/* Site title */
.site-title {
  white-space: nowrap;
  font-size: 1.8em;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

/* Home header and checklist button */
.home-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  font-family: 'Segoe UI', sans-serif;
}

.home-header h2 {
  color: #333;
  font-size: 1.8em;
  margin: 0;
}

.checklist-button {
  font-size: 1em;
  color: #01527C;
  text-decoration: none;
  border: 1px solid #01527C;
  padding: 6px 12px;
  border-radius: 6px;
  background: #f0f8ff;
  transition: background 0.3s ease;
}

.checklist-button:hover {
  background: #e0f0ff;
}

.arrow {
  margin-left: 6px;
  font-weight: bold;
}

/* Header layout */
header {
  position: relative;
  background: #222;
  color: #fff;
  padding: 15px 25px;
  height: 160px;
  display: flex;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-left img {
  width: 150px;
  height: 148px;
}

.header-left h1 {
  font-size: 2em;
  margin: 0;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  height: 148px;
}

/* Login icon */
.login-icon {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  z-index: 10;
}

.login-icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* Main content */
main {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.yellow-section {
  background: #F0B501;
  padding: 40px;
  border-radius: 0 0 12px 12px;
}

main h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8em;
  color: #333;
}

.overview {
  font-size: 1em;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.5;
  color: #555;
}

/* Modal overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Waiver modal content */
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  font-size: 0.9em;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.modal-footer {
  text-align: center;
  margin-top: 20px;
}

.modal-footer button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: #01527C;
  color: white;
  cursor: pointer;
  font-size: 0.95em;
}

.modal-footer button:hover {
  background: #B20A2F;
}

/* Login modal content */
.modal-content.login {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  max-height: 80vh;
  overflow-y: auto;
  font-size: 0.9em;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.modal-content.login h3 {
  margin: 0 0 8px;
  font-size: 1.1em;
  text-align: center;
}

.modal-content.login form {
  display: block;
}

.modal-content.login label {
  margin-bottom: 2px;
  font-size: 0.95em;
  font-weight: bold;
}

.modal-content.login input {
  margin-bottom: 12px;
  padding: 8px 10px;
  font-size: 0.95em;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.modal-footer.login {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.modal-footer.login button[type="submit"] {
  padding: 8px 16px;
  font-size: 0.9em;
  border: none;
  border-radius: 6px;
  background: #28a745;
  color: white;
  cursor: pointer;
}

.modal-footer.login button[type="submit"]:hover {
  background: #218838;
}

.modal-footer.login button[type="button"] {
  padding: 8px 16px;
  font-size: 0.9em;
  border: none;
  border-radius: 6px;
  background: #ccc;
  color: #333;
  cursor: pointer;
}

.modal-footer.login button[type="button"]:hover {
  background: #bbb;
}

/* Waiver link */
.waiver-link {
  text-align: center;
  margin: 30px 0;
}

.waiver-link a:hover {
  color: #B20A2F;
}

/* Responsive header text */
@media (max-width: 768px) {
  .header-left h1 {
    font-size: 1.4em;
  }
}
