/* BlackGlide theme — the black / champagne-gold / cream look of the easygo
   /blackglide/ page, applied site-wide on top of the Tailwind build.
   Colours and fonts come from tailwind.config.js; these unlayered rules only
   cover what a palette swap can't (button text colour, heading weight,
   uppercase micro-type). Loaded after base.css so they win over utilities. */

:root {
  --bg-gold: #c9a84c;
  --bg-gold-light: #e8d5a3;
  --bg-gold-text: #8a6a00;   /* gold dark enough to read on cream */
  --bg-cream: #e8e6df;
  --bg-paper: #f4f2ec;
  --bg-black: #0a0a0a;
}

body { font-family: 'Montserrat', system-ui, sans-serif; }
html:not(.dark) body { background-color: var(--bg-cream); }

/* Light surfaces: paper instead of stark white. Scoped to light mode —
   unlayered rules beat Tailwind's layered dark: utilities otherwise. */
html:not(.dark) .bg-white { background-color: var(--bg-paper); }
.dark .dark\:bg-gray-950 { background-color: var(--bg-black); }

/* ── Headings: Cormorant, light, generous ── */
h1, h2, h3, .font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
}
h1.font-bold, h2.font-bold, h3.font-serif.font-bold,
h1.font-semibold, h2.font-semibold, h3.font-semibold,
.font-serif.font-bold, .font-serif.font-semibold {
  font-weight: 500;
}
h1, h2 { letter-spacing: 0.01em; }
h1 em, h2 em, .bg-em { font-style: italic; color: var(--bg-gold); font-weight: 400; }

/* Sans-serif sub-headings (card titles etc.) stay Montserrat. */
h3:not(.font-serif), h4, h5, h6 { font-family: 'Montserrat', system-ui, sans-serif; }

/* ── Gold accents ── */
.text-primary-600, .text-primary-700,
.hover\:text-primary-600:hover, .hover\:text-primary-700:hover {
  color: var(--bg-gold-text);
}
.text-primary-500, .text-primary-400,
.dark .text-primary-600, .dark .dark\:text-primary-400, .dark .dark\:text-primary-500,
.dark .dark\:hover\:text-primary-500:hover, .dark .hover\:text-primary-600:hover {
  color: var(--bg-gold);
}

/* ── Buttons: solid gold, black uppercase micro-type (easygo .btn-gold) ── */
.bg-primary-600 {
  background-color: var(--bg-gold);
  color: var(--bg-black);
}
.bg-primary-600.text-white, .bg-primary-600 .text-white { color: var(--bg-black); }
.hover\:bg-primary-700:hover, .hover\:bg-primary-600:hover { background-color: var(--bg-gold-light); color: var(--bg-black); }
.hover\:bg-primary-600.hover\:text-white:hover { color: var(--bg-black); }
a.bg-primary-600, button.bg-primary-600, input[type="submit"].bg-primary-600 {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6875rem;
  font-weight: 700;
}
.shadow-primary-600\/30, .hover\:shadow-primary-600\/40:hover { --tw-shadow-color: rgb(201 168 76 / 0.25); }

/* Outline buttons (easygo .btn-line) */
.btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgb(201 168 76 / 0.7);
  color: var(--bg-gold);
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  padding: 15px 36px; transition: border-color .3s, background-color .3s;
}
.btn-line:hover { border-color: var(--bg-gold); background: rgb(201 168 76 / 0.08); }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-gold); color: var(--bg-black);
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  padding: 15px 36px; transition: background-color .3s;
}
.btn-gold:hover { background: var(--bg-gold-light); }

/* Small spaced-capital label above section titles (easygo .eyebrow / .sec-eye) */
.bg-eyebrow {
  display: inline-flex; align-items: center; gap: 1.2rem;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--bg-gold); font-weight: 600;
}
.bg-eyebrow.is-centered::before, .bg-eyebrow.is-centered::after,
.bg-eyebrow:not(.is-centered)::after {
  content: ''; width: 32px; height: 1px; background: #a07830;
}

/* Form fields: hairline gold border like easygo .bf-input */
input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus, textarea:focus {
  border-color: var(--bg-gold);
}

/* ── Header (easygo nav) ── */
.site-header {
  background: rgb(216 214 207 / 0.97);
  border-bottom: 1px solid rgb(201 168 76 / 0.3);
  box-shadow: 0 1px 8px rgb(0 0 0 / 0.1);
}
.dark .site-header { background: rgb(17 17 17 / 0.97); }
.site-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: #111;
}
.site-logo span { color: #a88600; font-style: italic; }
.dark .site-logo span, .site-footer .site-logo span { color: #c8a000; }
/* Tapered gold "glide line" under the wordmark, as in logo.svg. right
   offsets the trailing letter-spacing so it ends under the final E. */
.site-logo { display: inline-block; position: relative; line-height: 1; }
.site-logo::after {
  content: ""; position: absolute; left: 0; right: 0.16em; bottom: -0.2em;
  height: 0.1em; background: #a88600;
  clip-path: polygon(0 0, 100% 40%, 100% 60%, 0 100%);
}
.dark .site-logo::after, .site-footer .site-logo::after { background: #c8a000; }
.dark .site-logo, .site-footer .site-logo { color: #f3ead8; }
.site-nav a {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: #111;
}
.dark .site-nav a { color: #d8d6cf; }
/* Generous spacing between menu items (also set here so it holds even if
   base.css is an older build). */
.site-nav-desktop { column-gap: 2rem; }
@media (min-width: 1280px) { .site-nav-desktop { column-gap: 3rem; } }
@media (min-width: 1536px) { .site-nav-desktop { column-gap: 4rem; } }
.site-nav a:hover, .site-nav a.is-active { color: var(--bg-gold-text); }
.dark .site-nav a:hover, .dark .site-nav a.is-active { color: var(--bg-gold); }
/* Nav dropdowns (About, Cities) - same behaviour as the home nav;
   toggled by nav-dropdown.js, desktop also opens on hover. */
.site-nav .nav-dd { position: relative; }
.site-nav .nav-dd-btn {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: #111; background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem; transition: color .3s;
}
.dark .site-nav .nav-dd-btn { color: #d8d6cf; }
.site-nav .nav-dd-btn::after {
  content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s;
}
.site-nav .nav-dd.is-open .nav-dd-btn::after { transform: translateY(1px) rotate(-135deg); }
.site-nav .nav-dd-btn:hover, .site-nav .nav-dd-btn.is-active, .site-nav .nav-dd.is-open .nav-dd-btn { color: var(--bg-gold-text); }
.dark .site-nav .nav-dd-btn:hover, .dark .site-nav .nav-dd-btn.is-active, .dark .site-nav .nav-dd.is-open .nav-dd-btn { color: var(--bg-gold); }
.site-nav .nav-dd-btn:focus-visible { outline: 2px solid #c8a000; outline-offset: 4px; }
.site-nav .nav-dd-menu {
  display: none; list-style: none; margin: 0; position: absolute; top: calc(100% + 1.6rem); left: -1.4rem;
  min-width: 190px; background: #d8d6cf; border: 1px solid rgb(201 168 76 / 0.35); border-top: 2px solid #c8a000;
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.14); padding: 0.6rem 0;
}
.dark .site-nav .nav-dd-menu { background: #181818; border-color: rgb(201 168 76 / 0.3); box-shadow: 0 10px 24px rgb(0 0 0 / 0.5); }
.site-nav .nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -1.7rem; height: 1.7rem; }
.site-nav .nav-dd.is-open .nav-dd-menu { display: block; }
.site-nav .nav-dd-menu a { display: block; padding: 0.7rem 1.4rem; }
@media (hover: hover) {
  .site-nav-desktop .nav-dd:hover .nav-dd-menu { display: block; }
  .site-nav-desktop .nav-dd:hover .nav-dd-btn { color: var(--bg-gold-text); }
  .dark .site-nav-desktop .nav-dd:hover .nav-dd-btn { color: var(--bg-gold); }
}
#mobile-menu .nav-dd-menu {
  position: static; min-width: 0; background: none; border: 0; border-left: 2px solid #c8a000;
  box-shadow: none; padding: 0; margin-top: 1rem;
}
#mobile-menu .nav-dd-menu::before { display: none; }
#mobile-menu .nav-dd-menu a { padding: 0.6rem 1rem; }
.nav-cta {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  color: #a07830; border: 2px solid #c8a000; padding: 10px 22px; transition: all .3s;
}
.nav-cta:hover { background: #c8a000; color: #111; }
.dark .nav-cta { color: var(--bg-gold); }

/* Thin gold vertical rules framing dark heroes (easygo .vline) */
.bg-vline {
  position: absolute; top: 0; bottom: 0; width: 1px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgb(201 168 76 / 0.25) 35%, rgb(201 168 76 / 0.25) 65%, transparent);
}

/* ── Home hero: a copy of the easygo /blackglide/ hero (.hero, .hero-img,
   .hero-bg, .hero-bg2, .vline, .eyebrow, h1, .hero-sub). The photo is shown
   whole ("contain") on charcoal, with the gold hairlines either side. ── */
.bg-hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 76px);
  display: flex; align-items: center; justify-content: center;
  background: #2c2a28;
}
.bg-hero-img {
  position: absolute; inset: 0;
  background-size: contain; background-position: center center; background-repeat: no-repeat;
  opacity: 0.72;
}
.bg-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(44,42,40,0.4) 0%, rgba(44,42,40,0.15) 40%, rgba(44,42,40,0.6) 100%);
}
.bg-hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 55%, rgba(201,168,76,0.07) 0%, transparent 68%);
}
.bg-hero .bg-vline.is-left { left: 4rem; }
.bg-hero .bg-vline.is-right { right: 4rem; }
.bg-hero-content {
  position: relative; z-index: 2; width: 100%;
  padding: 4rem 2rem;
  display: flex; flex-direction: column; align-items: center;
}
.bg-hero-content .bg-eyebrow { margin-bottom: 2rem; }
.bg-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(48px, 7.5vw, 90px); font-weight: 300; line-height: 1.04;
  margin-bottom: 1.8rem; color: #fff; text-align: center;
}
.bg-hero-sub {
  font-size: 12.5px; letter-spacing: 0.06em; color: rgba(255,255,255,0.92);
  max-width: 380px; margin: 0 auto 3rem; line-height: 2; font-weight: 400; text-align: center;
}
@media (max-width: 960px) {
  .bg-hero h1 { font-size: 44px; }
  .bg-hero .bg-vline.is-left { left: 1.5rem; }
  .bg-hero .bg-vline.is-right { right: 1.5rem; }
  .bg-hero-content { padding: 3rem 1rem; }
}

/* ── Home hero layout: headline in the centre over the photo, New Booking
   card in the left margin, Book Again card in the right, each centred in its charcoal margin
   (wide screens only; below that the margins are too narrow).
   Narrower screens: headline first, then the two cards side by side,
   stacking on phones. Both cards are vertically centred beside the
   headline. ── */
.bg-hero-grid {
  display: grid; gap: 2rem; max-width: 1400px; margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center; align-items: stretch;
}
.bg-hero-copy { align-self: center; display: flex; flex-direction: column; align-items: center; }
.bg-hero-copy .bg-hero-sub { margin-bottom: 0; }
.bg-hero-left, .bg-hero-right { width: 100%; max-width: 360px; }
@media (min-width: 768px) {
  .bg-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
  .bg-hero-copy { grid-column: 1 / -1; margin-bottom: 1.5rem; }
  .bg-hero-left { justify-self: end; }
  .bg-hero-right { justify-self: start; }
}
/* The photo is drawn "contain" in a hero of height 100vh - 76px, and it is
   2:3 portrait, so the strip is (100vh - 76px) × 2/3 wide. The centre column
   is exactly that wide and each card is centred in the charcoal space either
   side, keeping clear of the gold side lines (4rem in from each edge).
   Only on wide-enough screens; otherwise the stacked layout above applies. */
@media (min-width: 1360px) and (min-aspect-ratio: 3/2) {
  /* Rows 1fr / auto / 1fr: the headline spans all three, the cards share the
     middle row and stretch to its height, so both cards are always the same
     size and stay vertically centred. */
  .bg-hero-grid {
    grid-template-columns: minmax(0, 1fr) calc((100vh - 76px) * 2 / 3) minmax(0, 1fr);
    grid-template-rows: 1fr auto 1fr;
    column-gap: 0; row-gap: 0; max-width: none; padding: 3rem 0;
  }
  .bg-hero-copy { grid-column: 2; grid-row: 1 / 4; margin-bottom: 0; }
  .bg-hero-left, .bg-hero-right {
    grid-row: 2; justify-self: center; align-self: stretch;
    width: min(320px, calc(100% - 10rem)); max-width: none;
  }
  .bg-hero-left { grid-column: 1; }
  .bg-hero-right { grid-column: 3; }
}

.bg-book-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: rgba(244, 242, 236, 0.97);
  border-top: 2px solid var(--bg-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  text-align: left;
}
.dark .bg-book-card { background: rgba(17, 17, 17, 0.92); border: 1px solid rgba(201, 168, 76, 0.25); border-top: 2px solid var(--bg-gold); }
.bg-book-eye {
  display: flex; align-items: center; gap: .6rem;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; font-weight: 700;
  color: var(--bg-gold-text);
}
.dark .bg-book-eye { color: var(--bg-gold); }
.bg-book-chip {
  font-size: 9px; letter-spacing: .12em; padding: 3px 8px; border-radius: 9999px;
  background: var(--bg-gold); color: var(--bg-black);
}
.bg-book-title {
  margin-top: .25rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px; font-weight: 300; line-height: 1.1; color: #111;
}
.dark .bg-book-title { color: #f4f2ec; }
.bg-book-note { font-size: 12px; line-height: 1.65; color: #57544e; }
.dark .bg-book-note { color: #c8c6c0; }
.bg-book-fields { display: flex; flex-direction: column; gap: .7rem; }
.bg-field-label {
  display: block; margin-bottom: .3rem;
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: #111;
}
.dark .bg-field-label { color: #e8e6df; }
.bg-field {
  width: 100%; padding: 9px 12px;
  background: rgba(255, 255, 255, 0.75); color: #111;
  border: 1px solid rgba(160, 120, 0, 0.35); border-radius: 0;
  font-family: 'Montserrat', system-ui, sans-serif; font-size: 13px; font-weight: 500;
  outline: none; transition: border-color .3s, background-color .3s;
}
.bg-field::placeholder { color: #8a877f; font-weight: 400; }
.bg-field:focus { border-color: var(--bg-gold); background: #fff; }
.dark .bg-field { background: rgba(255, 255, 255, 0.05); color: #f4f2ec; border-color: rgba(201, 168, 76, 0.3); }
.dark .bg-field:focus { background: rgba(255, 255, 255, 0.08); }
.bg-book-submit { margin-top: auto; width: 100%; padding-top: 12px; padding-bottom: 12px; }
.bg-book-card .btn-line { color: var(--bg-gold-text); border-color: #a07830; }
.bg-book-card .btn-line:hover { background: rgba(201, 168, 76, 0.12); }
.dark .bg-book-card .btn-line { color: var(--bg-gold); border-color: rgba(201, 168, 76, 0.7); }

/* ── Phones: the photo comes first as its own full-screen block with the
   headline on it, then New Booking, then Book Again (DOM order). ── */
@media (max-width: 767px) {
  .bg-hero { display: block; }
  .bg-hero-img {
    inset: 0 0 auto 0; height: calc(100vh - 76px);
    background-size: cover; background-position: center 35%;
  }
  .bg-hero-shade { inset: 0 0 auto 0; height: calc(100vh - 76px); }
  .bg-hero-glow { display: none; }
  .bg-hero-content.bg-hero-grid { padding: 0 1rem 3rem; gap: 1.5rem; }
  .bg-hero-copy { min-height: calc(100vh - 76px); justify-content: center; padding: 2rem 0.5rem; margin-bottom: 0.5rem; }
  .bg-hero-left, .bg-hero-right { max-width: none; }
  .bg-hero-copy .bg-eyebrow { justify-content: center; text-align: center; letter-spacing: 0.3em; }
  .bg-hero-copy .bg-eyebrow::before, .bg-hero-copy .bg-eyebrow::after { display: none; }
}

/* Let the browser draw scrollbars, selects and date inputs dark too. */
html.dark { color-scheme: dark; }
