/* A Walk Through Time Museum — rebuilt from the old DNN "polo" skin look */

:root {
  --blue: #2b3a8f;
  --blue-dark: #1e2a66;
  --text: #555;
  --heading-serif: "Times New Roman", Georgia, serif;
  --sans: "Open Sans", Arial, Helvetica, sans-serif;
  --band-gray: #f5f5f5;
  --footer-bg: #191c22;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

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

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ---------- Top bar ---------- */
.top-bar {
  background: #fff;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}
.top-bar-inner {
  display: flex;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.top-bar a { color: var(--text); text-decoration: none; }
.top-bar a:hover { color: var(--blue); }

/* ---------- Hero + header ---------- */
.hero {
  position: relative;
  background-color: var(--blue-dark);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 22, 40, 0.35) 0%, rgba(20, 22, 40, 0.62) 100%);
}
.hero > * { position: relative; }

.site-header { padding: 18px 0; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-logo {
  width: 150px;
  display: block;
  border-radius: 4px;
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}
.site-nav a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}
.site-nav > .nav-list > li > a:hover,
.site-nav > .nav-list > li.active > a {
  background: rgba(255, 255, 255, 0.14);
}
.caret { font-size: 10px; }

.site-nav li { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  z-index: 50;
}
.dropdown a {
  color: var(--text);
  text-transform: none;
  font-size: 14px;
  letter-spacing: 0;
  padding: 9px 18px;
}
.dropdown a:hover { color: var(--blue); background: #f4f5fb; }
.has-dropdown:hover > .dropdown,
.has-dropdown.open > .dropdown { display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  padding: 9px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
}

.hero-content {
  padding: 55px 0 70px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9);
}
.hero-tall .hero-content { padding: 90px 0 110px; }
.hero-kicker {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 600;
}
.hero-heading {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.15;
  color: #fff;
}
.hero-buttons {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-ghost:hover { background: #fff; color: var(--blue-dark); }
.btn-solid {
  border: 2px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
}
.btn-solid:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-gray { background: var(--band-gray); }

h1, h2, h3, h4 {
  font-family: var(--heading-serif);
  font-weight: 400;
  color: var(--blue);
  line-height: 1.25;
  margin: 0 0 18px;
}
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

.text-center { text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card { text-align: center; }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 10px; }

.figure-card { margin: 0; }
.figure-card img { width: 100%; }
.figure-card figcaption {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

/* Video / iframe embeds */
.embed-16x9 {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.embed-16x9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(rgba(20, 22, 40, 0.55), rgba(20, 22, 40, 0.55)),
    url("../images/theme/CustomParallaxBackground3.jpg") center / cover fixed;
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta-band .cta-heading {
  color: #fff;
  font-size: 34px;
  margin-bottom: 8px;
}
.cta-band .hero-buttons { justify-content: center; }

/* ---------- Gallery (Scrapbook, Family Fun) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid a { display: block; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.gallery-grid a:hover img { opacity: 0.85; }

/* ---------- Business listings (Dine, Shop and Stay) ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.biz-card {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}
.biz-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.biz-card .biz-body { padding: 18px 20px 22px; }
.biz-card h4 { font-size: 19px; margin-bottom: 8px; }
.biz-card p { font-size: 14px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-item { margin-bottom: 28px; }
.faq-item h3 { margin-bottom: 6px; }
.faq-item p { margin-top: 0; }

/* ---------- Forms ---------- */
.form-msg {
  padding: 14px 18px;
  margin-bottom: 20px;
}
.form-msg.ok { background: #e6f4e6; color: #256425; border: 1px solid #b7dcb7; }
.form-msg.err { background: #fbe9e9; color: #8f2626; border: 1px solid #ecc4c4; }

.hp-field { position: absolute; left: -9999px; }

.form-grid .form-field { margin-bottom: 16px; }
.form-grid label { display: block; font-weight: 600; margin-bottom: 4px; }
.form-grid input,
.form-grid textarea,
.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #ccc;
  font-family: var(--sans);
  font-size: 15px;
}
.form-grid input:focus,
.form-grid textarea:focus,
.footer-form input:focus,
.footer-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #b9bcc4;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-top: 55px;
  padding-bottom: 45px;
}
.site-footer h3 {
  color: #fff;
  font-size: 20px;
  margin: 22px 0 8px;
}
.site-footer h3:first-child { margin-top: 0; }
.site-footer a { color: #dfe2ea; }
.site-footer a:hover { color: #fff; }

.footer-form input,
.footer-form textarea {
  background: #22262f;
  border-color: #343947;
  color: #eee;
  margin-bottom: 12px;
}
.footer-form ::placeholder { color: #8a8f9c; }

.footer-bottom {
  border-top: 1px solid #2a2e38;
  padding: 16px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b9bcc4; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    display: none;
    z-index: 60;
  }
  .site-nav.open { display: block; }
  .site-nav .nav-list { flex-direction: column; gap: 0; }
  .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.07);
  }
  .dropdown a { color: #dfe2ea; }
  .dropdown a:hover { background: none; color: #fff; }
  .site-header { position: relative; }

  .hero-heading { font-size: 30px; }
  .hero-content { padding: 40px 0 55px; }
  .hero-tall .hero-content { padding: 55px 0 70px; }

  h1 { font-size: 31px; }
  h2 { font-size: 26px; }

  .two-col, .three-col, .footer-grid { grid-template-columns: 1fr; }
  .four-col, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-band { background-attachment: scroll; }
}

@media (max-width: 560px) {
  .biz-grid { grid-template-columns: 1fr; }
  .top-bar-inner { flex-direction: column; gap: 2px; }
}
