/* ========== Winter Weekend in the Woods ========== */

:root {
  --night: #1d2b4f;
  --night-deep: #131e3a;
  --night-soft: #2a3a63;
  --parchment: #f5eedb;
  --cream: #fdf9ee;
  --ink: #2b2417;
  --red: #b23b2a;
  --red-dark: #93301f;
  --gold: #e9b54c;
  --gold-soft: #f3d28f;
  --pine: #41593f;
  --shadow: 0 10px 30px rgba(19, 30, 58, 0.25);
}

@font-face {
  font-family: "LD Kracken";
  src: url("fonts/ld-kracken.ttf") format("truetype");
  font-display: swap;
}

* { box-sizing: border-box; }

/* --nav-h is set from the sticky nav's real height in script.js, so nav
   links land with the section heading visible just below the nav. */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h, 60px); }

body {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "LD Kracken", "Alfa Slab One", "Lora", serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ---------- Nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
  background: var(--night-deep);
  color: var(--parchment);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.navlinks { display: flex; align-items: center; gap: 18px; }

.navlinks a {
  color: var(--parchment);
  text-decoration: none;
  font-size: 1rem;
}

.navlinks a:hover { color: var(--gold-soft); }

.nav-cta {
  background: var(--red);
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--red-dark); color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  /* The image's cream snow line sits 51px from its bottom (at natural 1983px
     width), so the background's blue/cream split scales with the displayed
     image width to stay aligned with it. */
  --strip: calc(min(1983px, 100vw) * 51 / 1983);
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom,
    #131e3a 0,
    #131e3a calc(100% - var(--strip)),
    #fdf9ee calc(100% - var(--strip)),
    #fdf9ee 100%);
  color: var(--parchment);
  padding: 0;
}

/* Title block overlaid on the hero image's sky */
.hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0.6% 20px 0;
  text-align: center;
}

.hero-kicker {
  font-family: "Caveat", cursive;
  font-size: clamp(1.425rem, 2.4vw, 3rem);
  color: #e07a5f;
  margin: 0 0 2px;
}

.hero-title {
  font-family: "LD Kracken", "Alfa Slab One", serif;
  font-size: clamp(2.7rem, 7.5vw, 9rem);
  line-height: 0.95;
  margin: 0;
  color: var(--parchment);
  text-shadow: 3px 3px 0 rgba(0,0,0,0.35);
}

.hero-title-small {
  font-size: 0.45em;
  display: inline-block;
  transform: translateY(-0.35em);
  color: var(--gold-soft);
}


/* Hero art: a wide banner (1983x793) whose sides and top fade to the page's
   #131e3a, shown at up to natural size, title text overlaid on its sky. */
.hero-art {
  position: relative;
  z-index: 1;
  max-width: 1983px;
  margin: 0 auto;
}

.hero-art img {
  width: 100%;
  display: block;
}

/* ---------- Sections ---------- */
.section { padding: 70px 20px; }

.section-cream { background: var(--cream); }

.section-parchment { background: var(--parchment); }

/* ---------- Who we are ---------- */
.section-who { padding-top: 0; }

.who-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.who-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  box-shadow:
    0 0 0 3px rgba(233, 181, 76, 0.6),
    0 14px 34px rgba(43, 36, 23, 0.25);
}

.who-text { font-size: 1.15rem; }

.who-text p { margin: 0 0 16px; }

.who-fun {
  font-family: "Caveat", cursive;
  font-size: 2rem;
  color: var(--red);
}

.section-night {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
  color: var(--parchment);
}

.container { max-width: 980px; margin: 0 auto; }
.container-narrow { max-width: 760px; }

.section-title {
  text-align: center;
  font-size: clamp(2.85rem, 6vw, 3.9rem);
  line-height: 1.05;
  color: var(--red);
  margin: 0 0 28px;
}

.section-title-light { color: var(--gold-soft); }

.section-intro {
  text-align: center;
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 36px;
}

.prose {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.prose p { margin: 0 0 18px; }

/* ---------- Fun grid ---------- */
.fun-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.fun-card {
  background: rgba(253, 249, 238, 0.07);
  border: 1px solid rgba(243, 210, 143, 0.35);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.fun-emoji { font-size: 2.2rem; margin-bottom: 8px; }

.fun-card h3 {
  margin: 0 0 8px;
  font-size: 1.725rem;
  line-height: 1.1;
  color: var(--gold-soft);
}

.fun-card p { margin: 0; font-size: 0.98rem; color: #dfe4f2; }

.fun-wide { grid-column: 1 / -1; }

.detail-heading.fun-heading { color: var(--gold-soft); margin-bottom: 22px; }

.detail-heading.fun-heading-adult { margin-top: 64px; }

.fun-grid-adult {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.fun-grid-adult .fun-card h3:last-child { margin: 0; }

.glass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.glass-card {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #0e1730;
  box-shadow:
    0 0 0 3px rgba(233, 181, 76, 0.6),
    0 0 50px rgba(243, 210, 143, 0.15),
    0 18px 44px rgba(0, 0, 0, 0.5);
}

.glass-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.activity-card {
  max-width: 900px;
  margin: 36px auto 0;
}

.glass-card.activity-card img { aspect-ratio: auto; }

/* Trims the product shots' empty white above and below the glass. */
.glass-card-white img { object-position: 50% 77%; }

.glass-card figcaption {
  padding: 8px 0 6px;
  text-align: center;
  font-family: "LD Kracken", "Alfa Slab One", serif;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--gold-soft);
}

.fun-ps {
  text-align: center;
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  color: var(--gold-soft);
  margin: 30px 0 0;
}

.sms-fallback a { color: var(--red-dark); white-space: nowrap; }

/* ---------- Lodge grid ---------- */
.lodge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.lodge-card {
  background: var(--cream);
  border: 1.5px solid #e0d3ab;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(43, 36, 23, 0.08);
}

.lodge-emoji { font-size: 2.2rem; margin-bottom: 8px; }

.lodge-card h3 {
  margin: 0 0 8px;
  font-size: 1.725rem;
  line-height: 1.1;
  color: var(--pine);
}

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

.lodge-grid { margin-bottom: 52px; }

/* ---------- Details ---------- */
.details-block {
  max-width: 720px;
  margin: 0 auto 52px;
  font-size: 1.1rem;
}

.details-block:last-child { margin-bottom: 0; }

.details-block p { margin: 0 0 14px; }

.detail-heading {
  text-align: center;
  font-size: 2.4rem;
  line-height: 1.05;
  color: var(--pine);
  margin: 0 0 14px;
}

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

.details-block a { color: var(--red-dark); }

.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 6px 0 20px;
}

.cost-card {
  background: var(--cream);
  border: 1.5px solid #e0d3ab;
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(43, 36, 23, 0.08);
}

.cost-amount {
  font-family: "LD Kracken", "Alfa Slab One", serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
}

.cost-label {
  font-family: "Caveat", cursive;
  font-size: 1.4rem;
  color: var(--pine);
  margin-bottom: 8px;
}

.cost-card p { margin: 0; font-size: 1rem; }

.details-block p.cost-includes { text-align: center; font-weight: 600; margin-bottom: 18px; }

.details-wide { max-width: none; }

.details-block .lodge-grid { margin: 24px 0 18px; }

/* ---------- Photo carousel ---------- */
.carousel { position: relative; margin-top: 26px; }

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
}

.carousel-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  background: #e9dfc4;
  box-shadow: 0 6px 20px rgba(43, 36, 23, 0.18);
}

.carousel-slide figcaption {
  text-align: center;
  font-style: italic;
  font-size: 1.05rem;
  padding: 12px 8px 0;
}

/* --img-h is the rendered photo height, set in script.js, so the arrows
   center on the photo rather than on photo + caption. */
.carousel-btn {
  position: absolute;
  top: calc(var(--img-h, 280px) / 2);
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(19, 30, 58, 0.72);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 0 0 4px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.carousel-btn:hover { background: rgba(19, 30, 58, 0.92); }

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-count {
  text-align: center;
  font-size: 0.9rem;
  color: #7a6d4f;
  margin: 4px 0 0;
}

.details-block p.carousel-info { text-align: center; margin-top: 14px; }

/* Phone photos are a mix of portrait and landscape: show each one whole. */
.carousel-contain { max-width: 760px; margin: 0 auto; }

.carousel-contain .carousel-slide img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.28);
}

.section-night .carousel-slide figcaption { color: var(--parchment); }

.section-night .carousel-count { color: #aab4cf; }

.location-name {
  display: block;
  font-family: "LD Kracken", "Alfa Slab One", serif;
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--red);
  margin-bottom: 8px;
}

/* ---------- Cabin details ---------- */
.cabin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.cabin-stat {
  background: var(--cream);
  border: 1.5px solid #e0d3ab;
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
}

.cabin-stat-num {
  display: block;
  font-family: "LD Kracken", "Alfa Slab One", serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--red);
}

.cabin-stat-label {
  font-family: "Caveat", cursive;
  font-size: 1.69rem;
  color: var(--pine);
}

.cabin-rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cabin-room {
  background: var(--cream);
  border: 1.5px solid #e0d3ab;
  border-radius: 12px;
  padding: 18px 20px;
}

.cabin-room h4 {
  font-family: "LD Kracken", "Alfa Slab One", serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--pine);
  margin: 0 0 6px;
}

.details-block .cabin-room p { margin: 0; font-size: 1rem; }

.details-block p.cabin-extras { margin-top: 20px; }

/* ---------- Form ---------- */
form {
  background: var(--parchment);
  border: 2px solid #e2d6b4;
  border-radius: 14px;
  padding: 10px 26px 26px;
  box-shadow: var(--shadow);
}

fieldset {
  border: none;
  border-top: 2px dashed #d9ca98;
  margin: 18px 0 0;
  padding: 18px 0 4px;
}

fieldset:first-of-type { border-top: none; }

legend {
  font-family: "LD Kracken", "Alfa Slab One", serif;
  font-size: 1.725rem;
  color: var(--pine);
  padding-right: 12px;
}

.fieldset-hint { margin: 0 0 14px; font-size: 0.95rem; font-style: italic; }

.field { margin-bottom: 14px; display: flex; flex-direction: column; }

.field label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font-family: "Lora", Georgia, serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid #c9ba8e;
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.input-big {
  font-size: 1.5rem !important;
  padding: 14px 16px !important;
  font-family: "Alfa Slab One", serif !important;
  letter-spacing: 1px;
}

.field-count { max-width: 220px; }

.child-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Date rows ---------- */
.date-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--cream);
  border: 1.5px solid #e0d3ab;
  border-radius: 10px;
  margin-bottom: 10px;
}

.date-label { display: flex; flex-direction: column; }

.date-main { font-weight: 600; font-size: 1.05rem; }

.date-extra {
  font-family: "Caveat", cursive;
  font-size: 1.05rem;
  color: var(--red);
}

.date-row select { width: 100%; }

.date-row select.missing { border-color: var(--red); outline: 1px solid var(--red); }

/* ---------- Honeypot ---------- */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ---------- Buttons / messages ---------- */
.btn {
  display: inline-block;
  font-family: "Alfa Slab One", serif;
  font-size: 1.1rem;
  color: var(--cream);
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(178, 59, 42, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(178, 59, 42, 0.5); }

.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.btn-submit { width: 100%; margin-top: 20px; }

.form-error {
  color: var(--red-dark);
  font-weight: 600;
  text-align: center;
  margin: 16px 0 0;
}

.thanks {
  text-align: center;
  background: var(--parchment);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 44px 26px;
  box-shadow: var(--shadow);
}

.thanks-crown { font-size: 3rem; }

.thanks h3 {
  font-size: 2.55rem;
  color: var(--red);
  margin: 10px 0;
}

.thanks-small { font-family: "Caveat", cursive; font-size: 1.3rem; color: var(--pine); }

/* ---------- Footer ---------- */
.footer {
  background: var(--night-deep);
  color: var(--parchment);
  text-align: center;
  padding: 34px 20px;
}

.footer p { margin: 4px 0; }

.footer-small {
  font-family: "Caveat", cursive;
  font-size: 1.2rem;
  color: var(--gold-soft);
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  /* Zoom into the center of the banner so there's enough sky for the
     overlaid title; the image is anchored at its bottom, so the cream strip
     tracks the snow line at the displayed (zoomed) image height. */
  .hero { --hero-h: 92vw; --strip: calc(var(--hero-h) * 51 / 793); }
  .hero-art img {
    height: var(--hero-h);
    object-fit: cover;
    object-position: center bottom;
  }
  .hero-text { padding: 10px 12px 0; }
  .hero-kicker { font-size: 1.95rem; line-height: 1.1; }
  .hero-title { font-size: 3.15rem; }
  .cost-grid { grid-template-columns: 1fr; }
  .cabin-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .glass-grid { gap: 14px; }
  .who-layout { grid-template-columns: 1fr; gap: 20px; }
  .who-text { text-align: center; }
  .glass-card { border-radius: 12px; }
  .glass-card figcaption { font-size: 1.3rem; padding: 6px 0 4px; }
  .cabin-rooms { grid-template-columns: 1fr; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.7rem; }
  .carousel-prev { left: 6px; }
  .carousel-next { right: 6px; }
}

@media (max-width: 560px) {
  .topnav { padding: 10px 12px; }
  .navlinks { gap: 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .child-row { grid-template-columns: 1.6fr 1fr; }
  .date-row { grid-template-columns: 1fr; }
  form { padding: 6px 16px 20px; }
  .section { padding: 54px 16px; }
}
