/* 308 North Street — shared styles
   Replace hero background URL in .hero with images/hero-building.jpg when ready */

:root {
  --color-bg: #f7f5f0;
  --color-surface: #ffffff;
  --color-text: #1c1b19;
  --color-text-muted: #5c5854;
  --color-border: #e8e4dc;
  --color-primary: #1a2f4a;
  --color-accent: #b8860b;
  --color-accent-soft: #e8d9a8;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(26, 47, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 47, 74, 0.1);
  --radius: 12px;
  --max-width: 1100px;
  --header-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.logo span {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 1px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }
}

main {
  min-height: 50vh;
}

.hero {
  position: relative;
  min-height: min(85vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 3rem 1.25rem 4rem;
  background-color: var(--color-primary);
  background-image: linear-gradient(
      to top,
      rgba(26, 47, 74, 0.92) 0%,
      rgba(26, 47, 74, 0.45) 45%,
      rgba(26, 47, 74, 0.25) 100%
    ),
    url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c50?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

/* Local hero image: uncomment and add images/hero-building.jpg
.hero {
  background-image: linear-gradient(
      to top,
      rgba(26, 47, 74, 0.92) 0%,
      rgba(26, 47, 74, 0.45) 45%,
      rgba(26, 47, 74, 0.25) 100%
    ),
    url("../images/hero-building.jpg");
}
*/

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero .tagline {
  font-size: 1.2rem;
  max-width: 36ch;
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--color-accent);
  color: #1a1508;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #d4a017;
  color: #1a1508;
  border-color: #d4a017;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section {
  padding: 3.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 0 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
}

.card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.card a {
  font-weight: 600;
}

.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d4a6e 100%);
  color: #fff;
  padding: 2.75rem 1.25rem 2.5rem;
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  opacity: 0.92;
  max-width: 55ch;
}

.content-block {
  padding: 2.5rem 1.25rem 3.5rem;
}

.content-block .section-inner {
  max-width: 720px;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: var(--color-text-muted);
}

.content-block ul {
  padding-left: 1.25rem;
}

.content-block li + li {
  margin-top: 0.35rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 700px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.amenity-list {
  display: grid;
  gap: 1.5rem;
}

.amenity-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.amenity-item h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
}

.amenity-item p {
  margin: 0;
  color: var(--color-text-muted);
}

.amenity-item p + p {
  margin-top: 0.75rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 1rem;
  color: var(--color-primary);
}

.contact-card dl {
  margin: 0;
}

.contact-card dt {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.contact-card dt:first-child {
  margin-top: 0;
}

.contact-card dd {
  margin: 0.25rem 0 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

.form-note-spaced {
  margin-top: 1.25rem;
}

.form-note-before-form {
  margin-bottom: 1rem;
}

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

.map-embed {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 280px;
  background: var(--color-border);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.policy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.policy-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.policy-section h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

.callout {
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
  color: var(--color-text);
}

.callout p {
  margin: 0;
  font-size: 0.98rem;
}

.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 1.25rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
