@charset "UTF-8";

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --blue:          #022ca4;
  --blue-dark:     #021e78;
  --white:         #ffffff;
  --text-body:     #3d3d3d;
  --nav-gold:      #cccc00;
  --btn-color:     #A5A500;
  --content-width: 1436px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

/* ─── Body ───────────────────────────────────────────────── */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f1f1f1;
  min-height: 100vh;
  text-align: center;
}

/* ─── Side pattern background divs ──────────────────────── */
.bg-left,
.bg-right {
  position: fixed;
  top: 0;
  width: 1242px;
  height: 100vh;
  background-image: url('images/repeating-pattern-bkgd.svg');
  background-size: 1242px 4967px;
  background-repeat: repeat-y;
  background-attachment: local;
  z-index: -1;
  pointer-events: none;
}
.bg-left {	
  right: calc(50% + 718px);
  background-position: right top;
}
.bg-right {
  left: calc(50% + 718px);
  background-position: left top;
}

/* ─── Page wrapper ───────────────────────────────────────── */
.page-wrapper {
  width: var(--content-width);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
  text-align: left;
  background-color: var(--white);
  box-shadow: -40px 0 60px rgba(0,0,0,0.08), 40px 0 60px rgba(0,0,0,0.08), 0 20px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: relative;
  width: 100%;
  background-repeat: no-repeat;
  background-size: auto 100%;  /* change this */
  background-position: center top;
  flex-shrink: 0;
  min-height: 271px;  /* add this as a default */
}

/* ─── NAV ────────────────────────────────────────────────── */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 18px;
  z-index: 10;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  transform: translate(40px, 20px);
}
.logo img,
.logo svg {
  width: 322px;
  height: 154px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  transform: translateX(-35px);
}
.nav-links li {
  overflow: visible;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 14px 14px 6px 14px;
  position: relative;
  display: inline-block;
  transition: background-color 0.5s;
  color: var(--nav-gold);
}

/* Active/selected page — white text, white line on top */
.nav-links a.active {
  color: var(--white);
}
.nav-links a.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--white);
}

/* Disable rollover on active item */
.nav-links a.active:hover {
  color: var(--white);
}
.nav-links a.active:hover::before {
  background-color: var(--white);
  left: 0;
  right: 0;
}

/* Rollover — gold line on top */
.nav-links a:hover {
  color: var(--nav-gold);
}
.nav-links a:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  right: -4px;
  height: 3px;
  background-color: var(--nav-gold);
}

/* ─── MAIN ───────────────────────────────────────────────── */
main {
  flex: 0;
  padding: 25px 48px 0 48px;
}

/* ─── BUTTON ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background-color: var(--btn-color);
  border: none;
  border-radius: 20px;
  padding: 10px 28px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn:hover {
  background-color: #8a8a00;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  position: relative;
  width: 100%;
  height: 137px;
  background-image: url('images/d-footer.svg');
  background-repeat: no-repeat;
  background-size: 100% 137px;
  background-position: bottom;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 48px 12px 48px;
  flex-shrink: 0;
  border-top: none;
  margin-top: 0;
  z-index: 0;
}
.footer-links {
  position: absolute;
  bottom: 16px;
  right: 48px;
  display: flex;
  gap: 14px;
}
.footer-links a {
  display: block;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

/* ─── PARALLAX SCROLL ────────────────────────────────────── */
/* Applied via JS on each page */
