/* ============================================================
   GIPC Refresh — Option 1a "Aubergine"
   PREVIEW PAGES ONLY. Loaded AFTER /styles.css so it overrides it.
   Production .html pages never link this file.
   Source: gipc-nl-logo-refresh/project/GIPC Refresh.dc.html
   ============================================================ */

:root {
  --ref-plum:   #8b2e5e;
  --ref-gold:   #c08a3e;
  --ref-gold-l: #d8a24a;
  --ref-gold-p: #e7c17f;
  --ref-pink:   #e23a6e;
  --ref-ivory:  #ece4e8;
  --ref-muted:  #cabcc4;
}

/* ---------- Base ---------- */
body.refresh {
  background:
    linear-gradient(rgba(24,15,26,.82), rgba(17,10,19,.90)),
    url('/images/piano-bg_dark.jpg') center center / cover no-repeat fixed;
  color: var(--ref-ivory);
}
/* soften the global *{color:#fff; letter-spacing:2px} from styles.css */
body.refresh,
body.refresh * {
  color: var(--ref-ivory);
  letter-spacing: normal;
}

/* logo (desktop) — smaller, matching the refreshed design's proportion */
body.refresh .row.align-items-center > .text-center img[alt="logo"] {
  width: 220px;
  max-width: 55%;
  height: auto;
}

/* ---------- Type ---------- */
body.refresh h1,
body.refresh h2,
body.refresh h3,
body.refresh h4,
body.refresh h5 {
  font-family: 'Cormorant Garamond', serif;
  color: #fff;
  letter-spacing: .5px;
  font-weight: 500;
}
body.refresh p { line-height: 1.8; }

/* content links (not the nav) */
body.refresh a:not(.nav-link) { color: var(--ref-gold-l); }
body.refresh a:not(.nav-link):hover { color: var(--ref-pink); }

/* form fields — dark text on the light input background (override the global *{color:#fff}) */
body.refresh .form-control,
body.refresh .form-control:focus { color: #1a0f18; }
body.refresh .form-control::placeholder { color: #8a7f86; opacity: 1; }
body.refresh .btn-light,
body.refresh .btn-light:hover,
body.refresh .btn-light:focus { color: #1a0f18; }

/* "Welcome to" eyebrow + hero divider (home page) */
body.refresh h1 small {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ref-gold-l);
  letter-spacing: 1px;
}
body.refresh .welcome h1.mb-5::after {
  content: "";
  display: block;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--ref-gold), var(--ref-pink));
  margin: 22px auto 0;
}

/* section hairline headings (h4.border-bottom, used across pages) */
body.refresh h4.border-bottom {
  border-bottom-color: rgba(176,74,120,.55) !important;
}

/* ---------- Home page announcement (below the carousel) ---------- */
body.refresh .ref-announce {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(192,138,62,.5);
  border-radius: 10px;
  background: linear-gradient(rgba(139,46,94,.16), rgba(24,15,26,.28));
}
body.refresh .ref-announce-kicker {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ref-gold-l);
  letter-spacing: 1px;
}
body.refresh .ref-announce h2 { margin: .35rem 0 0; }
body.refresh .ref-announce p { margin: .7rem auto 1.5rem; max-width: 620px; }

/* call-to-action button — understated outline (no Bootstrap .btn styling on this site) */
body.refresh a.ref-btn,
body.refresh a.ref-btn:visited {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px;
  color: var(--ref-gold-p);
  background: transparent;
  border: 1px solid rgba(192,138,62,.7);
  border-radius: 4px;
  padding: 12px 30px;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
body.refresh a.ref-btn:hover {
  color: #fff;
  background: rgba(139,46,94,.35);   /* subtle plum wash */
  border-color: var(--ref-gold-l);
}

/* ---------- Navigation (2b — centred, gold diamonds between items) ---------- */
body.refresh .navbar-nav {
  align-items: center;
  flex-wrap: wrap;
  max-width: 800px;      /* wrap the nine links onto ~two centred lines, as in the design */
}
/* drop Bootstrap's mx-2 so the diamond sits centred in the gap, not offset to one side;
   flex keeps the ◆ on the same line as its link */
body.refresh .navbar-nav > li.nav-item {
  display: flex;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
}
body.refresh .navbar-nav .nav-link {
  color: var(--ref-ivory);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  padding-left: .9rem;
  padding-right: .9rem;
}
body.refresh .navbar-nav .nav-link:hover { color: var(--ref-pink); }

/* gold diamond centred BETWEEN items — never before Summer School or the NL/EN pill,
   and (being ::before) never left dangling at the right end of a wrapped row */
body.refresh .navbar-nav > li.nav-item:not(:first-child):not(:last-child)::before {
  content: "\25C6";              /* ◆ */
  color: var(--ref-gold);
  font-size: 7px;
  position: relative;
  top: -2px;
}
/* space before the language pill, which carries no diamond */
body.refresh .navbar-nav > li.nav-item:last-child { margin-left: .6rem; }

/* Summer School 2026 = highlighted primary item */
body.refresh .navbar-nav > li.nav-item:first-child .nav-link { color: var(--ref-gold-p); }
body.refresh .navbar-nav > li.nav-item:first-child .nav-link::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--ref-gold), var(--ref-pink));
  border-radius: 2px;
  margin-top: 4px;
}

/* NL / EN language pill (last item) */
body.refresh .navbar-nav > li.nav-item:last-child .nav-link {
  border: 1px solid var(--ref-gold);
  border-radius: 999px;
  color: var(--ref-gold-p);
  padding: 3px 12px !important;
}
body.refresh .navbar-nav > li.nav-item:last-child .nav-link::after { content: none; }
body.refresh .navbar-nav > li.nav-item:last-child .nav-link:hover {
  background: var(--ref-gold);
  color: #1a0f14;
}

/* signature gradient rule under the header block (plain block — cannot overflow the row) */
body.refresh .ref-headrule {
  height: 2px;
  background: linear-gradient(90deg, var(--ref-gold), var(--ref-pink), var(--ref-plum));
  margin-top: 18px;
}

/* footer: gradient top border */
body.refresh .footer {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #c08a3e, #e23a6e, #8b2e5e) 1;
}

/* ---------- Winners (home page) ---------- */
body.refresh .welcome h5 {           /* 1st-prize lead lines */
  font-family: 'Montserrat', sans-serif;
  color: var(--ref-gold-l);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .5px;
}
body.refresh .welcome h6 {           /* 2nd / 3rd / special lines */
  font-family: 'Montserrat', sans-serif;
  color: var(--ref-muted);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .5px;
}

/* ============================================================
   Mobile ( < lg ) — hamburger drawer, matching design 3a / 3b
   ============================================================ */
@media (max-width: 991.98px) {

  /* top bar: hamburger left · logo centred · gradient rule beneath */
  body.refresh .ref-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #c08a3e, #e23a6e, #8b2e5e) 1;
  }
  body.refresh .ref-topbar-logo { flex: 1 1 auto; text-align: center; }
  body.refresh .ref-topbar-logo img { width: 190px; max-width: 62%; height: auto; }
  body.refresh .ref-topbar-spacer { flex: none; width: 40px; }

  body.refresh .ref-burger {
    flex: none;
    width: 40px; height: 40px;
    padding: 0; border: 0; background: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
  }
  body.refresh .ref-burger-icon {
    display: block; width: 26px; height: 20px;
    background: no-repeat center / contain
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 22'%3E%3Cg stroke='%23ece4e8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 3h26'/%3E%3Cpath d='M2 11h26'/%3E%3Cpath d='M2 19h26'/%3E%3C/g%3E%3C/svg%3E");
  }
  /* open state → gold X */
  body.refresh .ref-burger[aria-expanded="true"] .ref-burger-icon {
    width: 22px; height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg stroke='%23d8a24a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 4l16 16'/%3E%3Cpath d='M20 4L4 20'/%3E%3C/g%3E%3C/svg%3E");
  }

  /* the desktop under-nav rule is replaced by the top-bar border on mobile */
  body.refresh .ref-headrule { display: none; }

  /* stacked drawer menu */
  body.refresh .navbar-nav {
    max-width: none;
    flex-direction: column;
    align-items: center;
    padding: 26px 0 6px;
  }
  body.refresh .navbar-nav > li.nav-item {
    justify-content: center;
    margin: 0;
    padding: 10px 0;
  }
  body.refresh .navbar-nav .nav-link { padding: 0; font-size: 13px; letter-spacing: 2px; }

  /* no between-item diamonds when the menu is stacked
     (mirror the desktop selector's specificity so this override actually wins) */
  body.refresh .navbar-nav > li.nav-item:not(:first-child):not(:last-child)::before { content: none; }

  /* Summer School: gold + underline, then a single gold diamond beneath */
  body.refresh .navbar-nav > li.nav-item:first-child { flex-direction: column; gap: 14px; padding-bottom: 4px; }
  body.refresh .navbar-nav > li.nav-item:first-child::after {
    content: "\25C6";
    color: var(--ref-gold);
    font-size: 7px;
  }

  body.refresh .navbar-nav > li.nav-item:last-child { margin-top: 8px; }

  /* gradient rule at the foot of the open drawer */
  body.refresh .navbar-nav::after {
    content: "";
    width: 90px; height: 2px;
    background: linear-gradient(90deg, #c08a3e, #e23a6e, #8b2e5e);
    opacity: .85;
    margin: 20px auto 4px;
  }
}

/* ============================================================
   Donate — nav pill, solid call-to-action, giving cards
   ============================================================ */

/* Nav item sits between ANBI and the NL/EN pill: filled gold, so it reads as
   the one action in a menu of destinations. No diamond of its own — the
   selector mirrors the middle-item rule above so this override actually wins. */
body.refresh .navbar-nav > li.nav-item.ref-nav-donate:not(:first-child):not(:last-child)::before {
  content: none;
}
body.refresh .navbar-nav > li.nav-item.ref-nav-donate { margin-left: .6rem; }
body.refresh .navbar-nav > li.nav-item.ref-nav-donate .nav-link {
  background: linear-gradient(90deg, var(--ref-gold), var(--ref-gold-l));
  color: #1a0f14;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 18px !important;
}
body.refresh .navbar-nav > li.nav-item.ref-nav-donate .nav-link:hover {
  background: linear-gradient(90deg, var(--ref-pink), var(--ref-plum));
  color: #fff;
}

/* solid CTA — the outline .ref-btn stays the secondary style */
body.refresh a.ref-btn-solid,
body.refresh a.ref-btn-solid:visited {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 14px;
  font-weight: 700;
  color: #1a0f14;
  background: linear-gradient(90deg, var(--ref-gold), var(--ref-gold-l));
  border: 1px solid var(--ref-gold-p);
  border-radius: 4px;
  padding: 15px 40px;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease;
}
body.refresh a.ref-btn-solid:hover {
  color: #1a0f14;
  background: linear-gradient(90deg, var(--ref-gold-l), var(--ref-gold-p));
  box-shadow: 0 6px 22px rgba(192,138,62,.28);
}
body.refresh a.ref-btn-solid:focus-visible,
body.refresh a.ref-btn:focus-visible {
  outline: 2px solid var(--ref-pink);
  outline-offset: 3px;
}

/* the two ways to give, side by side */
body.refresh .ref-give {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin: 28px 0 10px;
}
body.refresh .ref-give-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  border: 1px solid rgba(192,138,62,.45);
  border-radius: 10px;
  background: linear-gradient(rgba(139,46,94,.16), rgba(24,15,26,.28));
}
body.refresh .ref-give-card.is-primary { border-color: rgba(231,193,127,.75); }
body.refresh .ref-give-card h4,
body.refresh .ref-give-card p { margin: 0; }

body.refresh .ref-tiers { display: flex; flex-wrap: wrap; gap: 10px; }
body.refresh .ref-tiers a.ref-btn { padding: 11px 22px; }

body.refresh .ref-qr { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
body.refresh .ref-qr img {
  width: 156px; height: 156px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
}
body.refresh .ref-qr p { margin: 0; max-width: 46ch; }

body.refresh .ref-iban {
  font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
  font-size: 18px;
  letter-spacing: 1.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ref-gold-p);
}
body.refresh .ref-note { color: var(--ref-muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  body.refresh a.ref-btn-solid { transition: none; }
}

/* footer legal line — quiet, below the repeated nav */
body.refresh .ref-legal {
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--ref-muted);
}
body.refresh .ref-legal a,
body.refresh .ref-legal a:visited { color: var(--ref-muted); text-decoration: none; }
body.refresh .ref-legal a:hover { color: var(--ref-gold-l); text-decoration: underline; }
body.refresh .ref-legal span { margin: 0 .5rem; color: var(--ref-gold); }

/* preset amount buttons sit tighter than a lone call-to-action */
body.refresh .ref-tiers a.ref-btn-solid { padding: 13px 28px; }

/* Friend tiers (Brons / Zilver / Goud, per the fundraising flyer) */
body.refresh .ref-friends {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 26px 0 16px;
}
body.refresh .ref-friend-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  border: 1px solid rgba(192,138,62,.45);
  border-radius: 10px;
  background: linear-gradient(rgba(139,46,94,.16), rgba(24,15,26,.28));
}
body.refresh .ref-friend-card h5 {
  margin: 0;
  color: var(--ref-gold-p);
  letter-spacing: 1px;
}
body.refresh .ref-friend-price {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  line-height: 1.1;
  color: #fff;
}
body.refresh .ref-friend-price span {
  display: block;
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ref-muted);
}
body.refresh .ref-friend-card ul {
  flex: 1 1 auto;
  margin: 0;
  padding-left: 1.1rem;
}
body.refresh .ref-friend-card li {
  margin-bottom: .5rem;
  font-size: 14px;
  line-height: 1.6;
}
body.refresh .ref-friend-card a.ref-btn { align-self: flex-start; padding: 10px 24px; }
