/* ══════════════════════════════════════════════
   BOLANLE WILLIAMS-OLLEY — Shared Styles
   ══════════════════════════════════════════════ */

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

:root {
  --plum: #5B2750;
  --plum-deep: #3E1A36;
  --green: #2D5A3D;
  --gold: #9B924A;
  --cream: #F5F0E8;
  --cream-mid: #EDE6D8;
  --white: #FFFFFF;
  --text: #1C0E18;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* Transparent only on home page with hero */
body.has-hero nav { background: transparent; }
body:not(.has-hero) nav {
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(28,14,24,0.08);
}

nav.scrolled {
  background: var(--cream) !important;
  padding: 16px 72px;
  box-shadow: 0 1px 0 rgba(28,14,24,0.08);
}

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.3s;
}
body.has-hero .nav-name { color: rgba(255,255,255,0.92); }
body:not(.has-hero) .nav-name { color: var(--plum); }
nav.scrolled .nav-name { color: var(--plum) !important; }

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
body.has-hero .nav-links a { color: rgba(255,255,255,0.72); }
body:not(.has-hero) .nav-links a { color: rgba(28,14,24,0.5); }
nav.scrolled .nav-links a { color: rgba(28,14,24,0.5) !important; }
.nav-links a:hover { color: var(--gold) !important; }
.nav-links a.active { color: var(--gold) !important; }

/* ── SHARED TYPOGRAPHY ── */
.label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
}
h2 { font-size: clamp(2.6rem, 4vw, 3.6rem); margin-bottom: 24px; }

.body-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 34px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-cream { background: var(--cream); color: var(--plum); }
.btn-cream:hover { background: var(--white); }
.btn-outline-cream {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.38);
  color: rgba(255,255,255,0.88);
}
.btn-outline-cream:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.07); }
.btn-plum { background: var(--plum); color: var(--white); }
.btn-plum:hover { background: var(--plum-deep); }
.btn-outline-plum {
  background: transparent;
  border: 1px solid var(--plum);
  color: var(--plum);
}
.btn-outline-plum:hover { background: var(--plum); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { opacity: 0.87; }
.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.8);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.75); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--plum-deep);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  display: block;
  margin-top: 10px;
  line-height: 1.6;
}

/* ── PRESS BAND ── */
.press-band {
  background: var(--cream-mid);
  padding: 56px 88px;
  text-align: center;
}
.press-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: center;
  align-items: center;
}
.press-logos img {
  height: 22px;
  object-fit: contain;
  opacity: 0.42;
  filter: grayscale(100%);
  transition: opacity 0.2s;
}
.press-logos img:hover { opacity: 0.65; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 160px 88px 80px;
  text-align: center;
  position: relative;
}
.page-hero.bg-plum { background: var(--plum); }
.page-hero.bg-green { background: var(--green); }
.page-hero.bg-dark { background: var(--text); }
.page-hero .label { color: rgba(255,255,255,0.35); position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.page-hero p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.58);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.85;
  position: relative;
  z-index: 1;
}

/* Photo background variant */
.page-hero.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 180px 88px 100px;
}
.page-hero.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero.has-photo.bg-green::before { background: rgba(30,58,40,0.82); }
.page-hero.has-photo.bg-plum::before  { background: rgba(48,20,42,0.80); }
.page-hero.has-photo.bg-dark::before  { background: rgba(18,8,16,0.80); }

/* ── PHOTO BREAK (full-width between sections) ── */
.photo-break {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.photo-break img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.photo-break-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,14,24,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-break-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  text-align: center;
  max-width: 680px;
  line-height: 1.4;
  padding: 0 40px;
}

/* ── SECTIONS ── */
.section { padding: 100px 88px; }
.section-sm { padding: 72px 88px; }

/* ── PROGRAMS HERO (two-column) ── */
.programs-hero {
  background: var(--text);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 68vh;
  overflow: hidden;
}
.ph-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 80px 88px;
}
.ph-text .label { color: rgba(255,255,255,0.35); }
.ph-text h1 {
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
}
.ph-text > p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.52);
  max-width: 420px;
  line-height: 1.85;
  margin-bottom: 40px;
}
.ph-tags { display: flex; flex-direction: column; gap: 10px; }
.ph-tag {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.ph-photo { position: relative; overflow: hidden; }
.ph-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 70px;
  display: block;
}
.ph-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--text) 0%, transparent 35%);
  pointer-events: none;
}

/* ── DIAGONAL DIVIDER ── */
.diagonal-divider {
  display: block;
  line-height: 0;
  margin-bottom: -2px;
}
.diagonal-divider svg { display: block; }

/* ── DECORATIVE QUOTE MARK ── */
.has-deco-quote { position: relative; overflow: hidden; }
.has-deco-quote::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 22rem;
  line-height: 0.8;
  color: rgba(155,146,74,0.07);
  position: absolute;
  top: 10px;
  left: 30px;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.has-deco-quote > * { position: relative; z-index: 1; }

/* ── SEATS BADGE ── */
.seats-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(155,146,74,0.32);
  align-self: flex-start;
  margin-top: 4px;
  margin-bottom: 20px;
}
.seats-badge span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── NEWSLETTER FORM ── */
.stay-close { max-width: 460px; margin: 0 auto; }
.stay-close h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 10px;
}
.stay-close .desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.48);
  line-height: 1.75;
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.form-row.single { grid-template-columns: 1fr; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.28); }
input:focus, textarea:focus { border-color: rgba(255,255,255,0.38); }
.form-submit {
  width: 100%;
  margin-top: 6px;
  padding: 16px;
  background: var(--gold);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  background: var(--plum-deep);
  padding: 44px 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
}
.footer-copy {
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.28);
  line-height: 1.7;
  text-align: center;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════
   HAMBURGER MENU
   ══════════════════════════════════════════════ */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: background 0.3s;
}
body.has-hero .nav-burger span { background: rgba(255,255,255,0.85); }
body:not(.has-hero) .nav-burger span { background: var(--text); }
nav.scrolled .nav-burger span { background: var(--text); }

/* ══════════════════════════════════════════════
   MOBILE — 768px
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAV ── */
  nav { padding: 20px 24px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--plum-deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 150;
  }
  .nav-links.open { display: flex; }
  .nav-links a,
  body.has-hero .nav-links a,
  body:not(.has-hero) .nav-links a,
  nav.scrolled .nav-links a {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.82) !important;
  }
  .nav-links a.active,
  body.has-hero .nav-links a.active,
  body:not(.has-hero) .nav-links a.active { color: var(--gold) !important; }

  /* ── PAGE HERO ── */
  .page-hero { padding: 110px 24px 56px; }
  .page-hero h1 { font-size: 2.8rem; }
  .page-hero p { font-size: 0.95rem; }

  /* ── PHOTO BREAK ── */
  .photo-break { height: 280px; }

  /* ── STATS BAR ── */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid rgba(255,255,255,0.07); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.07); }

  /* ── PRESS BAND ── */
  .press-band { padding: 48px 24px; }
  .press-logos { gap: 20px 32px; }

  /* ── PROGRAMS HERO ── */
  .programs-hero { grid-template-columns: 1fr; min-height: auto; }
  .ph-text { padding: 110px 24px 48px; }
  .ph-photo { height: 85vw; min-height: 340px; }
  .ph-photo::after {
    background: linear-gradient(to bottom, var(--text) 0%, transparent 25%);
  }

  /* ── SECTIONS ── */
  .section { padding: 60px 24px; }
  .section-sm { padding: 44px 24px; }

  /* ── SEATS BADGE ── */
  .seats-badge { width: 100%; justify-content: center; }

  /* ── FOOTER ── */
  footer {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 20px;
  }

}
