/* ═══════════════════════════════════════════════════════════
   global.css  —  Ana Spasovska · Shared styles for all pages
   ═══════════════════════════════════════════════════════════ */

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

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎨  COLOUR PALETTE — edit ONE value to re-theme everything
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --gold-base:  #8B6508;   /* ← change only this */

  --gold:       var(--gold-base);
  --gold-rich:  #A0760A;
  --gold-mid:   #6B4E06;
  --gold-dark:  #3D2C02;
  --gold-tint:  #F7F0DC;
  --gold-rule:  #8B650835;

  --white:      #FFFFFF;
  --off-white:  #FAFAF6;

  --font-display: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-ui:      'Raleway', sans-serif;

  --nav-h:  78px;
  --foot-h: 56px;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--white);
  color: var(--gold-dark);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; padding-top: var(--nav-h); }

/* ── Page fade-in ── */
body { animation: pageIn 0.5s var(--ease) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Font Awesome icon reset — prevents vertical drift inside flex containers */
.fa-brands, .fa-solid, .fa-regular {
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
}

/* ── Header ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--gold-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  z-index: 200;
}

.brand { display: flex; flex-direction: row; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.12em; line-height: 1;
}
.brand-sub {
  font-family: var(--font-body); font-style: italic;
  font-size: 0.78rem; color: var(--gold-mid); letter-spacing: 0.22em;
  text-align: center;
}

nav.top-nav { display: flex; align-items: center; }
nav.top-nav a {
  position: relative;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-mid);
  padding: 10px 28px;
  transition: color 0.3s var(--ease);
}
nav.top-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px; background: var(--gold);
  transition: left 0.35s var(--ease), right 0.35s var(--ease);
}
nav.top-nav a:hover, nav.top-nav a.active { color: var(--gold); }
nav.top-nav a:hover::after, nav.top-nav a.active::after { left: 20px; right: 20px; }
nav.top-nav a + a::before {
  content: '';
  position: absolute; left: 0; top: 25%; bottom: 25%;
  width: 1px; background: var(--gold-rule);
}

/* ── Shared typography ── */
.eyebrow {
  font-family: var(--font-display); font-size: 0.63rem;
  letter-spacing: 0.32em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 10px;
}
.page-heading {
  font-family: var(--font-body); font-size: 3.6rem; font-weight: 300;
  color: var(--gold-dark); line-height: 1.05; margin-bottom: 28px;
}
.page-heading em { font-style: italic; color: var(--gold); }
.hr-gold { width: 56px; height: 1px; background: var(--gold); margin-bottom: 44px; }

/* ── Footer ── */
.site-footer {
  height: var(--foot-h);
  background: var(--white);
  border-top: 1px solid var(--gold-rule);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold-mid);
  letter-spacing: 0.1em;
}
.site-footer span { color: var(--gold-mid); }

/* ── Responsive ── */
@media (max-width: 900px) {
  header { padding: 0 24px; }
  nav.top-nav a { padding: 10px 14px; font-size: 0.62rem; }
  .brand-name { font-size: 0.95rem; }
  .page-heading { font-size: 2.4rem; }
}
@media (max-width: 580px) {
  nav.top-nav a { padding: 10px 9px; font-size: 0.56rem; letter-spacing: 0.1em; }
}
