/* =========================================================
   The Lodge Inn — Laurens, IA
   Static rebuild of lodgeinnlaurens.com (off GoDaddy WSB)
   Fonts: Sacramento (display script) + Quicksand (body)
   Brand accent: #2e3199 (carried over from original theme)
   ========================================================= */

/* ---- Design tokens ---- */
:root {
  --indigo:      #2e3199;  /* primary brand accent (original theme color) */
  --indigo-dark: #23266f;  /* darker shade for hovers */
  --ink:         #2a2a2a;  /* primary body text */
  --muted:       #5a5a5a;  /* secondary text */
  --line:        #e3e3ea;  /* hairline dividers */
  --bg:          #ffffff;  /* page background */
  --bg-alt:      #f6f6fa;  /* alternating section background */
  --maxw:        1140px;   /* content container max width */
}

/* ---- Base reset ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-dark); }

/* ---- Layout helpers ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }

/* Section title block: Sacramento script heading + short rule
   (mirrors the "Title ---" pattern from the original site) */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-family: 'Sacramento', cursive;
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1;
  color: var(--indigo);
}
.section-title .rule {
  width: 70px;
  height: 3px;
  background: var(--indigo);
  border: 0;
  margin: 14px auto 0;
  opacity: .85;
}

/* ---- Header / navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(4px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .5px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--indigo);
  border-bottom-color: var(--indigo);
}

/* Mobile hamburger toggle (hidden checkbox controls the menu) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1;
  user-select: none;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(20,20,40,.45), rgba(20,20,40,.55)),
              url('../images/home/home-hero.webp') center/cover no-repeat;
}
.hero-inner { max-width: 760px; padding: 40px 24px; }
.hero h1 {
  font-family: 'Sacramento', cursive;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto 28px;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .3px;
  color: #fff;
  background: var(--indigo);
  padding: 14px 30px;
  border-radius: 4px;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--indigo-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border: 2px solid var(--indigo);
  color: var(--indigo);
}
.btn--ghost:hover { background: var(--indigo); color: #fff; }

/* ---- Generic intro paragraph under a heading ---- */
.lead {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---- About: 3 circular-image cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.card { text-align: center; }
.card-photo {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 22px;
  box-shadow: 0 8px 26px rgba(0,0,0,.14);
}

.card h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--indigo);
  margin-bottom: 12px;
}
.card p { color: var(--muted); }
.card ul {
  list-style: none;
  text-align: left;
  max-width: 280px;
  margin: 0 auto;
}
.card ul li {
  position: relative;
  padding: 4px 0 4px 22px;
  color: var(--muted);
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--indigo);
}
.card .note { font-style: italic; font-size: .95rem; margin-top: 8px; }
.card .price { font-weight: 600; color: var(--ink); }

/* ---- Suite description cards (2-up, wide image on top) ---- */
.suites {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 920px;
  margin: 0 auto;
}
.suite-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,.06);
}
.suite-card img { width: 100%; height: 240px; object-fit: cover; }
.suite-card .body { padding: 26px 28px 30px; }
.suite-card h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--indigo);
  margin-bottom: 14px;
}

.suite-card ul { list-style: none; }
.suite-card ul li {
  position: relative;
  padding: 5px 0 5px 22px;
  color: var(--muted);
}
.suite-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--indigo);
}
.suite-card ul li.price { color: var(--ink); font-weight: 700; }

/* ---- Contact section ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}
.contact-grid h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--indigo);
  margin-bottom: 14px;
}
.contact-grid p { margin-bottom: 12px; color: var(--muted); }
.contact-grid strong { color: var(--ink); }
.map-embed {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 10px;
  margin-top: 10px;
}

/* ---- Photo galleries (Tour / Get To Know) ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.gallery img:hover { transform: scale(1.02); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.gallery-heading {
  font-family: 'Sacramento', cursive;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--indigo);
  text-align: center;
  margin: 10px 0 30px;
}

/* ---- Lightbox (vanilla, controlled by js/lightbox.js) ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  user-select: none;
  padding: 10px 18px;
  line-height: 1;
}
.lightbox .lb-close { top: 14px; right: 22px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover,
.lightbox .lb-close:hover { color: var(--indigo); }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: #cfcfd8;
  text-align: center;
  padding: 40px 24px;
  font-size: .92rem;
}
.site-footer a { color: #fff; font-weight: 600; }
.site-footer .foot-brand {
  font-family: 'Sacramento', cursive;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 6px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; gap: 48px; }
  .suites { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  /* Collapse nav into a hamburger menu */
  .nav-toggle-label { display: block; }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-toggle:checked ~ .nav-links { max-height: 320px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 220px; }
}
