/* ===========================================================================
   Black Bear Crossing — theme styles
   Elegant serif / full-bleed photography aesthetic
   (Cormorant Garamond stands in for Squarespace's freight-big-pro)
   =========================================================================== */

:root {
  --font-serif: "Cormorant Garamond", "Freight Big Pro", Georgia, "Times New Roman", serif;
  --ink: #404040;             /* body text (approx rgba(0,0,0,.75)) */
  --ink-soft: #6b6b6b;        /* muted text */
  --paper: #ffffff;           /* page background */
  --paper-warm: #f7f6f4;      /* section tint */
  --line: #d8d5d0;            /* hairlines */
  --overlay: rgba(20, 22, 24, 0.28); /* image darkening for legible white text */
  --overlay-strong: rgba(20, 22, 24, 0.42);
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Reusable pieces ---------------------------------------------- */

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: var(--font-serif);
}

/* elegant letter-spaced link/button */
.btn {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 16px 34px;
  border: 1px solid currentColor;
  background: transparent;
  transition: background-color .25s ease, color .25s ease;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: #fff; }

.btn--light { color: #fff; border-color: rgba(255,255,255,.85); }
.btn--light:hover { background: #fff; color: var(--ink); }

.link-caps {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: opacity .2s ease;
}
.link-caps:hover { opacity: .6; }

/* ===========================================================================
   Header  (transparent, overlaid on the hero)
   =========================================================================== */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 26px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .brand {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.site-nav a {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.06em;
  opacity: .92;
  transition: opacity .2s ease;
}
.site-nav a:hover { opacity: .6; }

.nav-book {
  border: 1px solid rgba(255,255,255,.8);
  padding: 9px 20px;
  font-size: 13px !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav-book:hover { background:#fff; color: var(--ink); opacity: 1; }

.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 30px; height: 30px; }

/* Solid header variant (used if a page has no hero) */
.site-header--solid { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header--solid .brand { color: var(--ink); }
.site-header--solid .site-nav a { color: var(--ink); }
.site-header--solid .nav-book { border-color: var(--ink); }
.site-header--solid .nav-book:hover { background: var(--ink); color:#fff; }
.site-header--solid .nav-toggle { color: var(--ink); }

/* ===========================================================================
   Hero
   =========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero--short { min-height: 68vh; }

.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }

.hero__inner { position: relative; z-index: 2; padding: 120px var(--gutter) 0; }
.hero__title { font-size: clamp(48px, 8vw, 88px); font-weight: 400; letter-spacing: 0.02em; }
.hero__subtitle { font-size: clamp(22px, 3vw, 34px); font-weight: 300; margin-top: 10px; font-style: italic; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 3; color:#fff; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; opacity:.85;
}
.scroll-cue::after { content:""; display:block; width:1px; height:46px; margin: 12px auto 0; background: rgba(255,255,255,.7); }

/* ===========================================================================
   Sections
   =========================================================================== */

section { position: relative; }

.section { padding: clamp(64px, 10vw, 130px) 0; }
.section--tint { background: var(--paper-warm); }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }

.centered { max-width: 760px; margin: 0 auto; text-align: center; }
.centered .section-title { font-size: clamp(34px, 5vw, 56px); margin-bottom: 26px; }
.centered p { font-size: 20px; color: var(--ink); }

.section-title { font-size: clamp(30px, 4.4vw, 50px); }

/* Two-up feature cards (home dashboard) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.feature {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.feature img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; transition: transform .8s ease; }
.feature::after { content:""; position:absolute; inset:0; background: var(--overlay-strong); transition: background .3s ease; }
.feature:hover img { transform: scale(1.05); }
.feature:hover::after { background: rgba(20,22,24,.55); }
.feature__label {
  position: relative; z-index: 2; color:#fff;
  font-size: clamp(26px, 3.4vw, 40px); letter-spacing: 0.04em; text-align:center;
}

/* Full-bleed CTA band over a photo */
.cta-band {
  position: relative; color:#fff; text-align:center;
  padding: clamp(90px, 16vw, 200px) var(--gutter);
  display: grid; place-items: center;
}
.cta-band__img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cta-band::after { content:""; position:absolute; inset:0; background: var(--overlay-strong); }
.cta-band__inner { position: relative; z-index:2; }
.cta-band__title { font-size: clamp(38px, 6vw, 72px); margin-bottom: 34px; }

/* Alternating text + image rows (weddings / events detail) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
}
.split + .split { margin-top: clamp(50px, 8vw, 100px); }
.split__media img { width:100%; aspect-ratio: 4/3; object-fit: cover; }
.split__title { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 18px; }
.split--rev .split__media { order: 2; }
.split ul { list-style: none; padding: 0; margin: 14px 0 0; }
.split li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid var(--line); }
.split li::before { content:""; position:absolute; left:2px; top:19px; width:8px; height:8px; border:1px solid var(--ink-soft); transform: rotate(45deg); }
.split li:last-child { border-bottom: 0; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gallery-grid a { display:block; overflow:hidden; aspect-ratio: 3/2; }
.gallery-grid img { width:100%; height:100%; object-fit: cover; transition: transform .7s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* Contact columns */
.contact-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 5vw, 70px); text-align:center;
}
.contact-cols h3 { font-size: 28px; margin-bottom: 16px; }
.contact-cols p { font-size: 18px; color: var(--ink-soft); }
.contact-cols a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* ===========================================================================
   Footer
   =========================================================================== */

.site-footer {
  background: #1c1d1f; color: #d8d5d0; text-align:center;
  padding: clamp(56px, 8vw, 90px) var(--gutter);
}
.site-footer .footer-title { font-size: clamp(24px, 3vw, 34px); color:#fff; margin-bottom: 22px; font-style: italic; font-weight: 300; }
.site-footer .footer-place { font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color:#a9a6a1; }
.footer-nav { margin: 26px 0 20px; display:flex; gap: 28px; justify-content:center; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color:#cfccc7; }
.footer-nav a:hover { color:#fff; }
.footer-social a { color:#cfccc7; }
.footer-social a:hover { color:#fff; }
.footer-fine { margin-top: 22px; font-size: 13px; color:#7c7975; letter-spacing: 0.06em; }

/* ===========================================================================
   Responsive
   =========================================================================== */

@media (max-width: 900px) {
  .feature-grid, .split, .gallery-grid, .contact-cols { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 0; z-index: 60;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(20,21,23,.97);
    transform: translateX(100%); transition: transform .35s ease;
  }
  .site-nav a { color:#fff; font-size: 26px; }
  body.nav-open .site-nav { transform: translateX(0); }
  .nav-close { position: absolute; top: 26px; right: var(--gutter); }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
  body { font-size: 18px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
