/* Worry'B'Gone Cruises
   Layout modeled on the original Shapely-based site: full-screen lake hero with
   four buttons, then alternating image/text sections, contact, and local logos.
   Palette from the old theme settings: near-black buttons, grey hover, white/#f5f5f5 sections. */

:root {
  --ink: #0a0303;
  --grey: #a8a8a8;
  --heading: #0e1015;
  --text: #555d63;
  --band: #f5f5f5;
  --line: #e4e6e8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0 0 .5em; color: var(--heading); font-weight: 300; line-height: 1.15; }
h2 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
p { margin: 0 0 1.4em; }
a { color: var(--ink); }
img { max-width: 100%; height: auto; }

.container { width: min(960px, 100% - 2.5rem); margin-inline: auto; }

/* Buttons (Shapely style: square, uppercase, outlined) */
.btn {
  display: inline-block;
  min-width: 200px;
  padding: 13px 26px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 700 12px/24px "Raleway", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-white:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-filled { background: var(--ink); color: #fff; }
.btn-filled:hover { background: var(--grey); border-color: var(--grey); color: var(--ink); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid #4a7bd0; outline-offset: 3px;
}

/* Top bar */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: flex-end; align-items: center; gap: 1.2rem;
  padding: 14px 24px;
}
.topbar a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .5px; }
.topbar a:hover { color: #000; text-decoration: underline; }
.topbar-icon { display: inline-flex; }

/* Hero: the photo carries its own lettering, so no text is laid over it.
   (The h1 is visually hidden but stays for screen readers and search engines.) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 1.25rem clamp(36px, 10vh, 110px);
  background: #2b2118;
}
.hero-photo {
  position: absolute; inset: 0;
  background: #2b2118 url("images/hero.jpg") 100% 30% / cover no-repeat;
}
.hero-inner { position: relative; z-index: 1; width: min(1000px, 100%); }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.hero-buttons .btn { background: rgba(255, 255, 255, .78); }
.hero-buttons .btn:hover { background: #fff; }

/* Phones, small tablets and portrait screens: show the whole photo (so the lettering is never cropped)
   with the buttons on a white strip underneath. */
@media (max-width: 860px), (max-aspect-ratio: 1/1) {
  .hero { display: block; min-height: 0; padding: 0; background: #fff; }
  .hero-photo { position: relative; inset: auto; height: 104vw; background-size: auto 100%; background-position: 100% 50%; }
  .hero-inner { width: auto; padding: 22px 12px 26px; }
}

/* Split sections: image on one half, text on the other */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.split.white { background: #fff; }
.split.grey { background: var(--band); }
.split-image { margin: 0; position: relative; min-height: 320px; }
.split-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-content { display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(24px, 7vw, 110px); }
.split-content p { max-width: 520px; }

.price-list { list-style: none; margin: 0 0 1.2em; padding: 0; max-width: 420px; }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 12px 0; border-bottom: 1px solid #d9dcde; color: var(--heading); }
.price-list li:first-child { border-top: 1px solid #d9dcde; }
.price-list strong { font-weight: 700; }
.fine { font-size: 14px; }

/* Contact */
.contact { background: var(--band); padding: 96px 0; text-align: center; }
.contact-lead { font-size: 1.15rem; margin-bottom: .6em; }
.contact-lines { margin-bottom: 2.4rem; }
.contact-lines a { font-weight: 600; }
.contact-lines .sep { margin: 0 .6rem; }

form { max-width: 560px; margin: 0 auto; text-align: left; }
form label { display: block; margin-bottom: 1.2rem; font-size: 14px; font-weight: 600; color: var(--heading); }
input[type="text"], input[type="email"], textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .75rem .85rem;
  font: inherit; font-weight: 400; color: var(--heading);
  background: #fff; border: 1px solid #c4c9cd; border-radius: 0;
}
input.invalid { border-color: #b3261e; }
form .btn { display: block; margin: 1.6rem auto 0; min-width: 160px; }
.form-status { padding: .8rem 1rem; margin: 0; border-left: 4px solid var(--ink); background: var(--band); color: var(--heading); font-weight: 500; }
.form-status.error { border-color: #b3261e; }

/* Reviews */
.reviews { background: #fff; padding: 88px 0; text-align: center; }
.reviews p { max-width: 520px; margin-inline: auto; }
.reviews .btn { margin-top: .4rem; }

/* PayPal deposit form */
.paypal { margin: 1.4rem 0 0; max-width: none; align-self: flex-start; }
.paypal .btn { display: inline-block; margin: 0; }
.paypal .terms { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: 14px; font-weight: 600; color: var(--heading); }
.paypal .terms input { width: 18px; height: 18px; accent-color: var(--ink); }

/* Local businesses: sliding carousel */
.container.wide { width: min(1180px, 100% - 2.5rem); }
.local { background: #fff; text-align: center; padding: 90px 0 100px; border-top: 1px solid var(--line); }
.logo-slider { position: relative; margin-top: 2.4rem; padding: 0 60px; }
.ls-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.ls-viewport.dragging { cursor: grabbing; }
.ls-track { display: flex; list-style: none; margin: 0; padding: 0; will-change: transform; }
.ls-item { flex: 0 0 25%; display: flex; align-items: center; justify-content: center; height: 150px; padding: 0 18px; }
.ls-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.ls-link img { display: block; max-width: 100%; max-height: 120px; width: auto; height: auto; object-fit: contain; opacity: .92; transition: opacity .2s ease; -webkit-user-drag: none; }
.ls-link:hover img { opacity: 1; }
.ls-name { display: none; width: 100%; padding: 18px 12px; border: 2px solid #d9dcde; color: var(--heading); font-weight: 600; font-size: 1.05rem; line-height: 1.3; transition: border-color .2s ease; }
.ls-link:hover .ls-name { border-color: var(--ink); }
.ls-link.no-logo img { display: none; }
.ls-link.no-logo .ls-name { display: block; }
.ls-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 56px; border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font-size: 1.1rem; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.ls-btn:hover { background: var(--ink); color: #fff; }
.ls-prev { left: 0; }
.ls-next { right: 0; }
.ls-toggle {
  margin-top: 1.4rem; padding: 6px 16px; border: 0; background: none; color: var(--text);
  font: 600 12px/1.4 "Raleway", sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
}
.ls-toggle:hover { color: var(--ink); text-decoration: underline; }

/* Footer */
.site-footer { background: var(--heading); color: #cfd3d6; text-align: center; padding: 36px 1rem; font-size: 14px; }
.site-footer p { margin: 0 0 .4rem; }
.site-footer a { color: #fff; }

/* Photo carousel (lightbox) */
dialog#lightbox {
  width: min(1100px, 96vw); max-width: none; max-height: 96vh;
  padding: 0; border: 0; background: #0b0d10; color: #fff; overflow: hidden;
}
dialog#lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.lb-close {
  position: absolute; top: 6px; right: 12px; z-index: 3;
  background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; padding: 4px 10px;
}
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 44px 0 8px; }
.lb-figure { margin: 0; width: 100%; text-align: center; }
.lb-figure img { display: block; margin: 0 auto; max-width: 100%; max-height: calc(96vh - 210px); object-fit: contain; }
.lb-figure figcaption { padding: 10px 56px 4px; font-size: 14px; color: #dfe4e8; min-height: 3.2em; }
.lb-figure figcaption #lb-caption { display: block; }
.lb-figure figcaption #lb-count { display: block; margin-top: 2px; font-size: 12px; letter-spacing: 1px; color: #9aa4ab; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-60%); z-index: 2;
  width: 46px; height: 64px; border: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 1.4rem; cursor: pointer;
}
.lb-nav:hover { background: rgba(0, 0, 0, .8); }
.lb-prev { left: 0; }
.lb-next { right: 0; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px 12px; scrollbar-width: thin; }
.lb-thumbs button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; }
.lb-thumbs button[aria-current="true"] { border-color: #fff; opacity: 1; }
.lb-thumbs img { display: block; height: 56px; width: auto; }

/* Tablet and phone */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-image { min-height: 0; aspect-ratio: 4 / 3; }
  .split.grey .split-image { order: 0; }
  .split-content { padding: 56px 24px 64px; }
  .contact { padding: 72px 0; }
  .reviews { padding: 64px 0; }
  .logo-slider { padding: 0 44px; }
  .ls-btn { width: 36px; height: 48px; }
  .ls-item { height: 130px; padding: 0 10px; }
  .btn { min-width: 0; }
  .hero-buttons .btn { flex: 1 1 140px; }
  .topbar { padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
