/* ============================================================
   HGL COLLECTIVE — Global Stylesheet
   Palette: Navy #1B2B4B | Gold #C9973A | Cream #FAF8F4 | White #FFFFFF
   ============================================================ */

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

:root {
  --navy:        #1B2B4B;
  --navy-light:  #253D6A;
  --navy-dark:   #111D32;
  --gold:        #C9973A;
  --gold-light:  #E2B55A;
  --gold-pale:   #F5E6C8;
  --cream:       #FAF8F4;
  --warm-white:  #FFFFFF;
  --text:        #1B2B4B;
  --text-mid:    #4A5568;
  --text-light:  #718096;
  --border:      #E2D9C8;
  --border-light:#F0EAE0;

  --font-display: 'Times New Roman', 'Georgia', serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Source Sans 3', system-ui, sans-serif;

  --max-w:       1200px;
  --section-pad: 6rem 0;
  --radius:      4px;
  --shadow-sm:   0 2px 8px rgba(27,43,75,0.08);
  --shadow-md:   0 8px 32px rgba(27,43,75,0.12);
  --shadow-lg:   0 20px 60px rgba(27,43,75,0.15);
  --max-width-content: 1200px;dropdown-toggle
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { font-size: 1rem; line-height: 1.8; color: var(--text-mid); }
.lead { font-size: 1.2rem; font-weight: 300; line-height: 1.85; color: var(--text-mid); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--warm-white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,151,58,0.35);
}
.btn-navy {
  background: var(--navy);
  color: var(--warm-white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--warm-white);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--warm-white);
}
.btn-outline-white {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--warm-white);
}

/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(27, 43, 75, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,151,58,0.25);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(27,43,75,0.3);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo-mark {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--warm-white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.nav-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--warm-white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  padding: 0.55rem 1.4rem !important;
  background: var(--gold);
  color: var(--warm-white) !important;
  border-radius: var(--radius);
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--warm-white);
  transition: all 0.3s;
}

/* ── PAGE HERO (shared for inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,151,58,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(201,151,58,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .section-label { color: var(--gold-light); }
.page-hero .section-label::before { background: var(--gold-light); }
.page-hero h1 { color: var(--warm-white); margin-bottom: 1.2rem; }
.page-hero .lead { color: rgba(255,255,255,0.75); max-width: 680px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo-mark { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 1rem;
}
.footer-col h5 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.footer-contact a { color: var(--gold-light); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--gold); }
.footer-cic-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ── DIVIDER ── */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem 0 2rem;
}
.gold-divider--center { margin-left: auto; margin-right: auto; }

/* ── CARDS ── */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge-gold { background: var(--gold-pale); color: var(--gold); }
.badge-navy { background: rgba(27,43,75,0.08); color: var(--navy); }
.badge-blue { background: rgba (#130342) ; color: var#02075Flue); }

/* ── ICON CIRCLE ── */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.icon-circle--gold { background: var(--gold-pale); }
.icon-circle--navy { background: rgba(27,43,75,0.08); }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--warm-white); }
.bg-navy { background: var(--navy); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--warm-white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy-dark);
    padding: 2rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(201,151,58,0.2);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

.nav-logo-img {
  height: 5em;
  width: auto;
  display: block;
  /* The logo has a black background — this softens the hard edge 
     if needed against the dark navy nav */
  border-radius: 2px;
}
/* On smaller screens, shrink it slightly */
@media (max-width: 600px) {
  .nav-logo-img {
    height: 45px;
  }
}
.site-footer__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-l);
  font-weight: 500;
  color: #d59d1f;
}

.site-nav__dropdown {
  display: none;
}

.site-nav__dropdown.open {
  display: block;
}

.site-nav__dropdown {
  display: none;
}

.site-nav__dropdown.open {
  display: block;
}

/* ============================================================
   DROPDOWN NAVIGATION
   ============================================================ */

.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.chevron {
  font-size: 0.75rem;
  display: inline-block;
  transition: transform 0.2s ease;
  line-height: 1;
  margin-top: 1px;
}

/* Rotate chevron when open */
.has-dropdown.open .chevron {
  transform: rotate(180deg);
}

/* The dropdown panel */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: var(--warm-white);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 32px rgba(27, 43, 75, 0.18);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 200;
  /* Subtle entrance animation */
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

/* Show state */
.has-dropdown.open .dropdown-menu,
.has-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

/* Small connecting bridge so mouse doesn't lose hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0; right: 0;
  height: 12px;
}

/* Dropdown links */
.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy) !important;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  text-transform: none !important;
}

.dropdown-menu a::after {
  display: none !important; /* remove the underline animation from nav-links a */
}

.dropdown-menu a:hover {
  background: var(--gold-pale);
  color: var(--gold) !important;
  padding-left: 1.6rem;
}

/* Divider between dropdown items if needed */
.dropdown-menu li + li {
  border-top: 1px solid var(--border-light);
}

/* ── MOBILE DROPDOWN ── */
@media (max-width: 900px) {
  .has-dropdown.open .dropdown-menu {
    display: block;
    position: static;
    transform: none;
    opacity: 1;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    background: rgba(255,255,255,0.05);
    padding: 0;
    margin: 0.25rem 0 0.25rem 1rem;
    pointer-events: all;
  }

  .dropdown-menu a {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .dropdown-menu a:hover {
    color: var(--gold) !important;
    background: transparent;
    padding-left: 1.25rem;
  }

  .dropdown-menu li + li {
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner__text strong {
  color: var(--warm-white);
  font-family: var(--font-serif);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.cookie-banner__text p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.55rem 1.25rem !important;
  font-size: 0.78rem !important;
}

@media (max-width: 600px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
}
