/* Base layout & typography */

body {
  margin: 0;
  background-color: #FEF4EA;
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #314147;
  font-size: 18px;
  line-height: 1.7;
}

/* Center content column */
header,
main,
footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Headings */

h1,
h2,
h3,
h4 {
  font-family: 'Nunito', system-ui, sans-serif;
  color: #175C63;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 28px;
  margin: 0;
}

h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

/* Section spacing */

main section {
  margin: 32px 0;
}

/* Text sizing */

p,
li {
  font-size: 18px;
  line-height: 1.7;
}

/* Header & nav bar */

header {
  padding: 24px 16px 16px;
  border-bottom: 1px solid rgba(199, 180, 150, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* nav */

nav {
  display: flex;
  gap: 16px;
  font-size: 15px;
}

nav a {
  text-decoration: none;
  color: #175C63;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  border-bottom-color: #EE725F;
}

/* Links & CTA buttons */

a {
  color: #EE725F;
}

a:hover {
  color: #d25b48;
}

/* CTA-style links */
.cta-button {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background-color: #EE725F;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.cta-button:hover {
  background-color: #d25b48;
}

/* Hero section */

.hero {
  padding: 40px 0 32px;
}

.hero {
  padding-bottom: 24px;
}

.hero h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #175C63;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
}

/* Forms */

form {
  max-width: 640px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  max-width: 400px;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #d5c3af;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

button,
input[type="submit"] {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background-color: #175C63;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
}

button:hover,
input[type="submit"]:hover {
  background-color: #12474d;
}

/* Footer */

footer {
  padding: 24px 16px 32px;
  font-size: 14px;
  color: #6b7a80;
}

/* Legacy helper classes you may still use */

.section {
  padding: 90px 20px;
}

.panel {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Old button styles kept for reuse if needed */

.btn-primary {
  background: #E7786B;
  color: white;
  border-radius: 999px;
  padding: 12px 22px;
  border: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: #d46b5f;
}

.btn-secondary {
  background: white;
  border: 1px solid #E5E1DB;
  color: #1E4F50;
  border-radius: 999px;
  padding: 12px 22px;
}

/* Layout container already set: header/main/footer max-width 960px */

/* Brand/logo */
.brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 34px;
}

/* Page title inside main (optional) */
.page-title {
  font-size: 26px;
  margin: 24px 0 8px;
}

/* Hero layout */
.hero {
  padding: 32px 0 24px;
}

.hero-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.hero-copy h2 {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 12px;
  color: #175C63;
}

.hero-copy p {
  max-width: 640px;
}

.hero-subtext {
  font-size: 14px;
  color: #6c7a7f;
  margin-top: 8px;
}

/* Hero image */
.hero-photo img {
  width: 360px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
/*  filter: saturate(0.95) brightness(0.99) sepia(0.03);*/
}

/* Responsive: stack hero on small screens */
@media (max-width: 800px) {
  .hero-layout {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .hero-photo img {
    max-width: 100%;
  }
}

/* Footer polish */
footer {
  max-width: 960px;
  margin: 40px auto 24px;
  padding: 16px;
  font-size: 13px;
  color: #7a858a;
  text-align: left;
  border-top: 1px solid #f0dfcc;
}

/* Footer layout */
footer {
  max-width: 960px;
  margin: 40px auto 24px;
  padding: 16px;
  font-size: 13px;
  color: #7a858a;
  border-top: 1px solid rgba(199, 180, 150, 0.35);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Tiny logo – never stretch */
.footer-logo {
  height: 22px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
}

/* Copyright text */
.footer-copy {
  font-size: 12px;
  color: #8a979c;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 16px;
  background-color: #175C63;
  color: #FFFFFF;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 16px;
}

/* Make nav links comfortably tappable */
header nav a {
  display: inline-block;
  padding: 10px 14px;
  margin-inline: 2px;
  min-height: 44px;
  line-height: 1.3;
}

/* Ensure CTA buttons meet size + focus targets */
.cta-button {
  min-height: 44px;
  padding: 12px 22px;
  font-size: 18px;
}

/* Strong, visible keyboard focus outline */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #175C63;
  outline-offset: 2px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.footer-links a {
  color: #6b7a80;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

/* Mobile nav toggle button – hidden on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(199, 180, 150, 0.8);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 15px;
  color: #175C63;
  cursor: pointer;
}

/* Mobile nav behavior — overlay dropdown */
@media (max-width: 720px) {

  header {
    position: relative;      /* anchor the dropdown to the header */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;       /* keep logo + Menu on one line */
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  header nav {
    display: none;
    position: absolute;   /* <-- key change */
    top: 100%;            /* sits directly under header */
    right: 0;
    left: 0;
    background: #FEF4EA;  /* match your site background */
    border-bottom: 1px solid rgba(199, 180, 150, 0.35);
    padding: 8px 12px;
    z-index: 1000;        /* sits above page content */
    flex-direction: column;
    gap: 6px;
  }

  header nav.nav-open {
    display: flex;        /* toggle visibility */
  }

  header nav a {
    padding: 10px 4px;
    border-radius: 6px;
  }

  header nav a:hover {
    background: rgba(199,180,150,0.15);
  }
}


