/* ===== RESET & CUSTOM PROPERTIES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:      #fff4ed;
  --dark-text:  #3a3a3a;
  --body-text:  #626262;
  --accent:     #8b6055;
  --white:      #ffffff;
  --nav-height: 70px;
  --max-width:  min(80%, 1280px);
}

html {
  scroll-behavior: smooth;
}

/* ===== BASE ===== */
body {
  font-family: 'Quattrocento', Georgia, serif;
  color: var(--body-text);
  font-size: 18px;
  line-height: 1.75;
  background: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark-text);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin: 2.25rem 0 0.75rem;
}

h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.25rem;
  color: var(--body-text);
}

p {
  margin-bottom: 1rem;
}

ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
}

a:hover {
  color: var(--dark-text);
}

blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  color: var(--body-text);
}

strong {
  color: var(--dark-text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Offset anchor targets so sticky nav doesn't obscure them */
[id] {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

/* ===== NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
}

.logo {
  margin-right: auto;
}

.logo a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-text);
  text-decoration: none;
}

/* Hidden checkbox — powers the mobile nav toggle without JS */
.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  transition: transform 0.22s ease, opacity 0.22s ease;
  border-radius: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--body-text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-nav {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  transition: background 0.2s !important;
  text-decoration: none !important;
}

.btn-nav:hover {
  background: var(--dark-text) !important;
  color: var(--white) !important;
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - var(--nav-height));
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  background-color: #4a4040;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  padding: 0 2rem;
}

.hero-content h1 {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  margin-bottom: 0.6rem;
  font-size: clamp(2.4rem, 4.5vw, 6rem);
}

.hero-sub {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

/* keep title on one line at desktop */
@media (min-width: 768px) {
  .hero-content h1 {
    white-space: nowrap;
  }
}

/* ===== BIO SECTION ===== */
.bio-section {
  padding: 0;
  background-image: url('../images/bio-section-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-color: #2e2826;
}

/* Two-column grid constrained and centered — background texture shows on both sides */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 85vh;
  max-width: var(--max-width);
  margin: 0 auto;
}

.bio-photo {
  overflow: hidden;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.bio-text {
  padding: 4rem 3.5rem;
  font-size: 1.1rem;
  /* Scrim behind the text so it stays legible over the busy photo background
     regardless of which part of the image sits behind it */
  background: linear-gradient(120deg, rgba(24, 19, 17, 0.74), rgba(24, 19, 17, 0.62));
}

.bio-text h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.bio-text h3 {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.bio-text p,
.bio-text li {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.1rem;
}

.bio-text strong {
  color: var(--white);
}

.bio-text ul {
  margin-left: 1.5rem;
}

/* ===== MAIN CONTENT ===== */
.content-section {
  background: var(--cream);
  padding: 4.5rem 0;
}

.intro-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.intro-block h2 {
  margin-top: 0;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
}

.booking-widget {
  margin: 1.25rem 0;
}

.booking-widget iframe {
  display: block;
}

.contact-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.contact-block h2 {
  margin-top: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--white);
  padding: 2.5rem 0 1.5rem;
  color: var(--body-text);
  font-size: 0.9rem;
}

.disclaimer {
  text-align: right;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.site-footer hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin: 1rem 0;
}

.copyright {
  text-align: center;
  font-size: 0.78rem;
  color: #999;
  margin: 0;
}

.copyright a {
  color: #999;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .btn-nav {
    display: inline-block;
  }

  /* reveal nav when toggle is checked */
  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  /* animate hamburger → ✕ */
  .nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Bio: stack vertically on mobile, go full-width so the constrained max-width
     (min(80%, 1280px)) doesn't produce a narrow column on small screens */
  .bio-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 100%;
  }

  .bio-photo {
    min-height: 55vw; /* fixed portrait height on mobile */
  }

  .bio-text {
    padding: 2.5rem 1.5rem;
    font-size: 1rem;
  }

  .bio-section {
    background-attachment: scroll; /* fixed attachment causes jank on iOS */
  }

  .hero {
    min-height: calc(100svh - var(--nav-height));
  }

  .disclaimer {
    text-align: left;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .content-section {
    padding: 2.5rem 0;
  }

  .hero-content {
    padding: 0 1rem;
  }
}
