:root {
  --nsac-navy: #22438e;
  --nsac-navy-dark: #1a3470;
  --nsac-blue: #0085ca;
  --nsac-green: #2fb457;
  --nsac-grey: #6b7280;
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --error: #c0392b;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--nsac-navy);
  color: white;
}

.site-header .logo {
  height: 44px;
  width: auto;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.85rem;
  opacity: 0.85;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--border);
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery img {
    height: 150px;
  }
}

h1 {
  color: var(--nsac-navy);
  margin-top: 0;
}

h2 {
  color: var(--nsac-navy);
}

.facilities {
  padding-left: 1.25rem;
}

.facilities li {
  margin-bottom: 0.35rem;
}

/* --- Form --- */

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--nsac-blue);
  outline-offset: 1px;
}

.form-row-split {
  flex-direction: row;
  gap: 1rem;
}

.form-row-split > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (max-width: 480px) {
  .form-row-split {
    flex-direction: column;
  }
}

.form-row-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.form-row-checkbox input {
  width: auto;
}

.form-row-checkbox label {
  font-weight: 400;
}

/* Honeypot field: visually hidden, but present in the DOM and tab order
   excluded, so real users never see or fill it. Bots that fill every field
   blindly will trip it. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

button[type="submit"] {
  background: var(--nsac-blue);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}

button[type="submit"]:hover {
  background: var(--nsac-navy);
}

button[type="submit"]:disabled {
  background: var(--nsac-grey);
  cursor: not-allowed;
}

#form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
}

#form-status.status-success {
  color: var(--nsac-green);
  font-weight: 600;
}

#form-status.status-error {
  color: var(--error);
  font-weight: 600;
}

.field-error {
  color: var(--error);
  font-size: 0.8rem;
}

.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--nsac-blue);
}
