/* ============================================================
   CSS CUSTOM PROPERTIES — change values here to retheme site
   ============================================================ */
:root {
  /* Colors */
  --color-bg:          #F9F7F4;
  --color-accent:      #6d9172;
  --color-accent-dk:   #4d6b53;
  --color-text:        #1A1A1A;
  --color-text-muted:  #6B6B6B;
  --color-placeholder: #E2DED9;
  --color-border:      #E8E4DF;
  --color-nav-bg:      rgba(249, 247, 244, 0.88);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Grid proportions — adjust to change card widths */
  --col-large: 2fr;   /* ~66% */
  --col-small: 1fr;   /* ~33% */
  --grid-gap:  1.25rem;

  /* Spacing */
  --section-pad:   clamp(4rem, 8vw, 8rem);
  --container-max: 1400px;
  --container-px:  clamp(1.5rem, 5vw, 4rem);

  /* Nav */
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 var(--container-px);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.nav-logo:hover {
  color: var(--color-accent-dk);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent-dk);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.55rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-nav:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 38ch;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  align-self: flex-start;
  padding: 0.9rem 1.75rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.55rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--color-accent-dk);
  transform: translateY(-1px);
}

.hero-portrait-wrap {
  position: relative;
  padding-bottom: 2.5rem; /* space for badge overflowing below */
}

.hero-portrait {
  width: 100%;
  height: clamp(400px, 70vh, 720px);
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: 0;
  left: -2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 8px 40px rgba(26, 26, 26, 0.13);
  white-space: nowrap;
}

.hero-badge-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-dk);
}

.hero-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-badge-text strong {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
}

.hero-badge-text span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--color-accent);
  font-weight: 400;
}

/* ============================================================
   FOCUS AREAS
   ============================================================ */
.focus-section {
  padding: var(--section-pad) var(--container-px);
  max-width: var(--container-max);
  margin: 0 auto;
}

.focus-section > h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.01em;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: var(--grid-gap);
  row-gap: clamp(3.5rem, 6vw, 6rem);
  align-items: start;
}

/* Row 1: Small | Small | Small */
/* (span 1 is default — no override needed for cards 1-4, 6) */

/* Row 2: Small | Large */
.focus-card:nth-child(5) { grid-column: span 2; }

.focus-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card-image-wrap {
  overflow: hidden;
  border-radius: 6px;
}

.card-image {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1) translate(0px, 0px);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.card-body {
  padding: 0.9rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card-body h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

.card-body p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0.25rem;
}

.video-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: color 0.15s ease, gap 0.15s ease;
}

.video-trigger:hover {
  color: var(--color-accent-dk);
  gap: 0.5em;
}

/* ============================================================
   BOOKING CTA
   ============================================================ */
.booking-section {
  padding: var(--section-pad) var(--container-px);
  text-align: center;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.booking-section p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.booking-section .btn-primary {
  align-self: center;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 1.5rem;
  background: rgba(20, 18, 16, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  visibility: hidden;
  pointer-events: none;
  transition:
    background    0.35s ease,
    backdrop-filter 0.35s ease,
    visibility    0s linear 0.35s;
}

.lightbox.active {
  background: rgba(20, 18, 16, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  visibility: visible;
  pointer-events: all;
  transition:
    background    0.35s ease,
    backdrop-filter 0.35s ease;
}

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity    0.35s ease,
    transform  0.4s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.lightbox.active .lightbox-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

#lightbox-video {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
}

.lightbox-fallback {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  background: var(--color-bg);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem var(--container-px);
  text-align: center;
}

footer p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE — collapse at 900px
   ============================================================ */
@media (max-width: 900px) {
  /* Hero stacks: portrait on top, text below */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
    gap: 2rem;
  }

  .hero-portrait {
    order: -1;
    height: clamp(280px, 50vw, 420px);
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }

  /* Grid: all cards full width, stacked */
  .focus-card:nth-child(n) {
    grid-column: span 3;
  }

  .focus-section,
  .booking-section {
    padding-left: var(--container-px);
    padding-right: var(--container-px);
  }
}

@media (max-width: 480px) {
  :root {
    --container-px: 1.25rem;
    --grid-gap: 1rem;
  }

  .btn-primary,
  .btn-nav {
    font-size: 0.75rem;
  }

  .lightbox {
    padding: 0.75rem;
  }
}

/* ============================================================
   ENTRANCE ANIMATIONS
   Elements start hidden; JS adds .visible when in viewport.
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   0.9s ease,
    transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-animate="fade"] {
  transform: none; /* fade only, no vertical movement */
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* Don't animate if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
