@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1B2A4A;
  --navy-dark: #111C33;
  --gold:      #C9A84C;
  --gold-dark: #A8872D;
  --offwhite:  #F8F7F4;
  --white:     #FFFFFF;
  --slate:     #5A6478;
  --border:    #E2DDD8;
  --text:      #1A1A1A;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h: 72px;
  --max-w: 1100px;
  --radius: 4px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { max-width: 68ch; }

/* ─── Nav ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.2s var(--ease);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(27,42,74,0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--slate);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(27,42,74,0.06);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;
  color: var(--navy) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.2s var(--ease);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  padding: 12px 24px;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.nav-overlay a:hover { opacity: 1; }

.nav-overlay .nav-overlay-cta {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 36px;
  border-radius: 50px;
  margin-top: 16px;
  opacity: 1;
}

.nav-overlay-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-overlay-close svg { stroke: var(--white); }

/* ─── Page Header (inner pages) ────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 120px 24px 72px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-header .subtitle {
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  /* margin auto centers the capped-width (max-width:68ch from base p) block itself;
     text-align:center from .page-header only centers the text within it. */
  margin: 12px auto 0;
}

/* ─── Container ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section spacing ──────────────────────────────────── */
.section { padding: 88px 24px; }
.section-sm { padding: 56px 24px; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--slate);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 58ch;
}

/* Center section headers site-wide (gold-rule + title + subtitle).
   Scoped to .section > .container so the left-aligned hero and
   "Around the World" section headers are unaffected. */
.section > .container > .gold-rule,
.section > .container > .section-title,
.section > .container > .section-lead {
  text-align: center;
}

.section > .container > .gold-rule,
.section > .container > .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Gold rule accent ─────────────────────────────────── */
.gold-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 24px;
  border-radius: 2px;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ─── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  padding: 56px 24px 40px;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 28px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.footer-email a {
  color: var(--gold);
  transition: opacity 0.15s;
}

.footer-email a:hover { opacity: 0.8; }

/* ─── Loading skeleton ─────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #e8e5e0 25%, #f0ede8 50%, #e8e5e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Placeholder image ────────────────────────────────── */
.img-placeholder {
  background: #d8d4ce;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder svg {
  opacity: 0.3;
}

/* ─── Accessibility ────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Responsive nav ───────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}
