/* Marlinton Motor Inn — sales mockup by Boojee Estate
   Local sample only. Not a live site. */
:root {
  --pine: #1c2a22;
  --pine-2: #24362c;
  --pine-3: #2f4639;
  --moss: #4a6a55;
  --gold: #c4a36a;
  --gold-2: #e0c48a;
  --cream: #f4eee3;
  --paper: #fbf8f2;
  --ink: #1a1b18;
  --stone: #5e5a52;
  --line: rgba(28, 42, 34, 0.12);
  --white: #fff;
  --shadow: 0 18px 40px rgba(28, 42, 34, 0.12);
  --max: 1120px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine-3); }
a:hover { color: var(--moss); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--pine);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Banner */
.sample-banner {
  background: #111a16;
  color: var(--gold-2);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 1rem;
}
.sample-banner strong { color: #fff; font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pine);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}
.header-book { padding: 0.5rem 0.9rem; font-size: 0.95rem; }
.nav-call { font-weight: 700; }
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  line-height: 1.15;
  margin-right: auto;
}
.logo .name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.logo .place {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 238, 227, 0.3);
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  order: 5;
  padding: 0 0 0.85rem;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(244,238,227,0.1);
}
.site-nav a:hover { color: var(--gold-2); }
.header-actions { display: none; }
body.nav-open .site-nav { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-gold {
  background: var(--gold);
  color: var(--pine);
}
.btn-gold:hover { background: var(--gold-2); color: var(--pine); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244,238,227,0.45);
}
.btn-outline:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-dark {
  background: var(--pine);
  color: var(--cream);
}
.btn-dark:hover { background: var(--pine-3); color: #fff; }
.btn-line {
  background: transparent;
  color: var(--pine);
  border-color: var(--pine);
}
.btn-line:hover { background: var(--pine); color: var(--cream); }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(30rem, 86vh, 46rem);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: #1a1b18 url("images/mmi-hero.jpg") center 40% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16, 24, 20, 0.88) 0%,
    rgba(16, 24, 20, 0.45) 45%,
    rgba(16, 24, 20, 0.15) 70%,
    rgba(16, 24, 20, 0.2) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 14ch;
  letter-spacing: -0.02em;
}
.hero .lede {
  max-width: 38rem;
  font-size: 1.12rem;
  color: #ece6da;
  margin: 0 0 1.5rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.facts {
  background: var(--pine-2);
  color: var(--cream);
}
.facts-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.fact strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-2);
}
.fact span { font-size: 0.88rem; color: #d7d1c6; }

/* Sections */
.section {
  padding: 3.5rem 1.25rem;
}
.section-inner { max-width: var(--max); margin: 0 auto; }
.section h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--moss);
  margin: 0 0 0.4rem;
}
.intro {
  max-width: 40rem;
  color: var(--stone);
  margin: 0 0 2rem;
}
.note {
  font-size: 0.92rem;
  color: var(--stone);
  background: #efe8d8;
  border-left: 3px solid var(--gold);
  padding: 0.8rem 1rem;
  margin: 1.25rem 0 0;
}

/* Rooms */
#rooms { background: var(--cream); }
.room-grid {
  display: grid;
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img, .photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  background:
    linear-gradient(180deg, #d7e0d4 0%, #c9c3b2 100%);
  color: var(--pine);
  min-height: 200px;
}
.photo-placeholder span {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
}
.photo-placeholder small { color: var(--stone); max-width: 16rem; }
.card-body { padding: 1.1rem 1.15rem 1.3rem; }
.card h3 {
  font-family: Fraunces, Georgia, serif;
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 600;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--pine);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-weight: 700;
}
.card p { margin: 0.5rem 0 0; color: var(--stone); font-size: 0.98rem; }
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}
.gallery figcaption {
  font-size: 0.8rem;
  color: var(--stone);
  margin-top: 0.3rem;
}

/* Pool */
#pool { background: var(--paper); }
.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  max-height: 28rem;
}

/* Lounge */
#lounge { background: var(--pine); color: var(--cream); }
#lounge .kicker { color: var(--gold-2); }
#lounge .intro { color: #d7d1c6; }
.status-pill {
  display: inline-block;
  background: #7a3b2e;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
}
.lounge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.lounge-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}
.lounge-grid figcaption, .lounge-grid .cap {
  font-size: 0.78rem;
  color: #c9c3b6;
  margin: 0.25rem 0 0.4rem;
}

/* Explore */
#explore {
  background:
    linear-gradient(180deg, rgba(28,42,34,0.55), rgba(28,42,34,0.7)),
    url("images/mmi-sunset.jpg") center / cover no-repeat;
  color: var(--cream);
}
#explore .kicker { color: var(--gold-2); }
#explore .intro { color: #e8e2d6; }
.attr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.attr-grid li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(244,238,227,0.18);
  font-weight: 600;
}

/* Contact */
#contact { background: var(--cream); }
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
.contact-card {
  background: var(--white);
  padding: 1.35rem 1.4rem;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-family: Fraunces, Georgia, serif;
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
}
.contact-card dl { margin: 0; }
.contact-card dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 700;
  margin-top: 0.85rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0.15rem 0 0; }
.contact-card a { color: var(--pine); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card a.btn { text-decoration: none; }
.contact-card a.btn-dark,
.contact-card a.btn-dark:hover { color: var(--cream); text-decoration: none; }
.contact-card a.btn-line,
.contact-card a.btn-line:hover { color: var(--pine); text-decoration: none; }
.contact-card a.btn-line:hover { background: var(--pine); color: var(--cream); }
.placeholder-fact {
  font-style: italic;
  color: var(--stone);
}

/* Footer */
.site-footer {
  background: #111a16;
  color: #c9c3b6;
  padding: 2rem 1.25rem;
  font-size: 0.92rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.site-footer a { color: var(--gold-2); }
.credit {
  border-top: 1px solid rgba(244,238,227,0.12);
  padding-top: 1rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .header-book { display: none; }
  .nav-call { display: none; }
  .header-inner { padding: 0 1.5rem; flex-wrap: nowrap; }
  .site-nav {
    display: flex;
    flex-direction: row;
    width: auto;
    order: 0;
    padding: 0;
    gap: 1.15rem;
    margin-left: auto;
    margin-right: 0.4rem;
  }
  .site-nav a {
    padding: 0;
    border: 0;
    font-size: 0.95rem;
  }
  .header-actions { display: flex; gap: 0.5rem; align-items: center; }
  .facts-inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.4rem 1.5rem;
  }
  .section { padding: 4.5rem 1.5rem; }
  .room-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
  .lounge-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
  }
  .lounge-grid { grid-template-columns: 1fr 1fr; }
  .attr-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .hero-inner { padding: 6rem 1.5rem 3.5rem; }
}
