/* ========================
   RESET & BASE
   ======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  color: #333;
  background: #fff;
  line-height: 1.7;
}

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

/* Global link reset — NO text-decoration globally so we control it per-component */
a {
  color: inherit;
  text-decoration: none;
}

/* ========================
   NAVIGATION
   ======================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid #e8e8e8;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links li a {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: #888;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: 0.3s;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 16px 32px 24px;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile ul li a {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
}

.nav-mobile.open {
  display: block;
}

/* ========================
   MAIN OFFSET
   ======================== */
main {
  padding-top: 72px;
}

/* ========================
   HERO
   ======================== */
.hero {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
}

/* ========================
   CONTAINER
   ======================== */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========================
   WELCOME
   ======================== */
.welcome {
  padding: 72px 0 64px;
  text-align: center;
}

.welcome-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 20px;
  font-style: italic;
}

.welcome h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #222;
  margin-bottom: 28px;
  line-height: 1.4;
}

.welcome-body {
  font-size: 16px;
  color: #555;
  font-weight: 300;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* ========================
   GALLERY GRID
   ======================== */
.gallery {
  padding: 0 0 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 6px;
}

.grid-item {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f0f0f0;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.grid-item:hover img {
  transform: scale(1.04);
}

/* ========================
   DIVIDER
   ======================== */
.divider {
  width: 60px;
  height: 1px;
  background: #ccc;
  margin: 56px auto;
}

/* ========================
   GOVERNING DOCUMENTS
   ======================== */
.documents {
  padding: 0 0 72px;
  text-align: center;
}

.documents h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 32px;
}

.doc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* DOCUMENT LINKS — explicitly underlined */
.doc-list li a {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.02em;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-color: #888 !important;
  transition: color 0.2s;
}

.doc-list li a:hover {
  color: #000;
  text-decoration-color: #000 !important;
}

/* ========================
   CONTACT SECTION
   ======================== */
.contact-section {
  background: #9e9489;
  padding: 64px 48px;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Title spans full width above the two columns */
.contact-title {
  grid-column: 1 / -1;
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
}

/* Form column */
.contact-form-col {
  display: flex;
  flex-direction: column;
}

/* Fieldset reset */
.contact-form-col fieldset {
  border: none;
  padding: 0;
  margin: 0 0 4px;
}

.contact-form-col legend {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
  padding: 0;
  float: left;
  width: 100%;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  clear: both;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.field-wrap label {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 5px;
}

.field-wrap .req {
  font-size: 11px;
  font-weight: 300;
  opacity: 0.8;
}

.field-wrap input[type="text"],
.field-wrap input[type="email"],
.field-wrap textarea {
  background: #fff;
  border: none;
  padding: 10px 12px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #333;
  outline: none;
  resize: vertical;
  width: 100%;
  transition: box-shadow 0.2s;
}

.field-wrap input[type="text"]:focus,
.field-wrap input[type="email"]:focus,
.field-wrap textarea:focus {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}

.submit-btn {
  background: #fff;
  color: #666;
  border: none;
  padding: 13px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
  margin-top: 6px;
}

.submit-btn:hover {
  background: #eee;
  color: #333;
}

/* Map column */
.contact-map-col {
  height: 460px;
  overflow: hidden;
}

.contact-map-col iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: #333;
  color: #ddd;
  text-align: center;
  padding: 64px 32px 48px;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 8px;
}

footer h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

footer p {
  font-size: 13px;
  font-weight: 300;
  color: #bbb;
  line-height: 1.6;
}

footer p a {
  color: #ccc;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-color: #888 !important;
  transition: color 0.2s;
}

footer p a:hover {
  color: #fff;
  text-decoration-color: #fff !important;
}

/* Form status messages */
.form-status {
  padding: 12px 16px;
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  margin-bottom: 12px;
}

.form-success {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-left: 3px solid #fff;
}

.form-error {
  background: rgba(0,0,0,0.15);
  color: #fff;
  border-left: 3px solid #ffcccc;
}

.copyright {
  margin-top: 8px;
  font-size: 11px;
  color: #888;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-title {
    grid-column: 1;
  }

  .contact-map-col {
    height: 320px;
  }

  .contact-section {
    padding: 48px 32px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .hero-img {
    height: 280px;
  }

  .welcome {
    padding: 48px 0 40px;
  }

  .welcome h2 {
    font-size: 22px;
  }

  .welcome-body {
    font-size: 15px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0 4px;
  }

  .documents h2 {
    font-size: 20px;
  }

  .container {
    padding: 0 20px;
  }

  .contact-section {
    padding: 40px 20px;
  }

  .name-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grid-item img {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
