/* ===================================
   PSHRA — Cloudflare Static Site CSS
   =================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #081A28;
  --navy-mid:#0C2D45;
  --blue:    #084A90;
  --sky:     #3399ff;
  --yellow:  #FFCF31;
  --cream:   #FEF5E4;
  --light-bg:#F4F6F8;
  --text:    #2B313F;
  --muted:   #6B7280;
  --white:   #ffffff;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(8,26,40,.12);
  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:   1200px;
  --header-h:87px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; color: var(--text); background: var(--white); line-height: 1.65; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
address { font-style: normal; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== TOPBAR ===== */
.topbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo-wrap img { filter: brightness(0) invert(1); }
.topbar-links { display: flex; align-items: center; gap: 24px; }
.topbar-links a { color: var(--cream); font-size: 14px; font-weight: 500; white-space: nowrap; }
.topbar-links a:hover { color: var(--yellow); text-decoration: underline; }
.btn-login {
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  padding: 8px 16px; border-radius: 4px; font-size: 14px !important;
}
.btn-cta {
  background: var(--yellow); color: var(--navy) !important;
  padding: 8px 18px; border-radius: 4px; font-weight: 600 !important;
}
.btn-cta:hover { opacity: .9; text-decoration: none !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

/* ===== MAIN NAV ===== */
.main-nav { background: var(--white); border-bottom: 1px solid #E3E5E8; position: sticky; top: 64px; z-index: 999; }
.main-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 55px; }

.social-icons { display: flex; gap: 14px; }
.social-icons a { color: var(--navy); font-size: 16px; }
.social-icons a:hover { color: var(--blue); }

.nav-menu { display: flex; list-style: none; gap: 0; align-items: stretch; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 0 16px; height: 55px; font-size: 14px; font-weight: 500;
  color: var(--navy); white-space: nowrap;
}
.nav-menu > li > a:hover { background: var(--light-bg); text-decoration: none; color: var(--blue); }
.nav-menu > li > a .fa-chevron-down { font-size: 10px; transition: transform .2s; }
.nav-menu > li:hover > a .fa-chevron-down { transform: rotate(180deg); }

/* Dropdowns */
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid #E3E5E8; border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 220px; list-style: none; padding: 8px 0; z-index: 2000;
}
.nav-menu > li:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 20px; font-size: 14px; color: var(--navy); }
.dropdown li a:hover { background: var(--light-bg); color: var(--blue); text-decoration: none; }

.search-toggle { font-size: 15px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all .2s; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: #f0c000; text-decoration: none; color: var(--navy); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-ghost-light { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); text-decoration: none; }
.btn-simple {
  background: none; color: var(--blue); padding: 0; border-radius: 0;
  font-weight: 600; font-size: 14px;
}
.btn-simple:hover { text-decoration: underline; }

/* ===== DARK SECTIONS ===== */
.dark-section { background: var(--navy); color: var(--cream); }
.dark-section h2, .dark-section h3, .dark-section h4 { color: var(--white); }
.dark-section p { color: rgba(254,245,228,.85); }
.dark-section a { color: var(--cream); }
.dark-section a:hover { color: var(--yellow); }
.dark-section hr { border-color: rgba(254,245,228,.2); }

/* ===== HERO ===== */
.hero { padding: 80px 0 60px; background: var(--cream); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 20px; }
.hero-content h1 sup { font-size: .5em; vertical-align: super; }
.hero-content p { font-size: 18px; color: var(--text); margin-bottom: 32px; }
.hero-graphic { max-width: 380px; margin: 0 auto; }

/* ===== FEATURE SECTIONS ===== */
.feature-section { padding: 80px 0; }
.feature-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.feature-inner.reverse { direction: rtl; }
.feature-inner.reverse > * { direction: ltr; }
.feature-content h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 16px; color: var(--navy); }
.feature-content.light h3, .feature-content.light p { color: inherit; }
.feature-content p { margin-bottom: 24px; color: var(--text); }
.img-placeholder {
  width: 100%; aspect-ratio: 1;
  background: rgba(255,255,255,.08); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted);
}
.anniversary { background: var(--yellow); border-radius: 50%; aspect-ratio: 1; max-width: 260px; margin: 0 auto; }
.anniversary span { font-size: 3.5rem; font-weight: 800; color: var(--navy); text-align: center; line-height: 1; }
.anniversary small { font-size: 1rem; font-weight: 600; }
.members { background: rgba(255,207,49,.1); min-height: 240px; }
.event-img { background: rgba(255,255,255,.05); min-height: 280px; }
.community { background: rgba(255,255,255,.05); min-height: 280px; }
.action { background: var(--yellow); min-height: 260px; border-radius: var(--radius); }

/* ===== MEMBERSHIP BANDS ===== */
.membership-bands { padding: 80px 0; }
.bands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.band-card { text-align: center; padding: 32px 24px; }
.band-icon { font-size: 2.5rem; color: var(--yellow); margin-bottom: 16px; }
.band-card h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.band-card h4 a { color: var(--yellow); }
.band-card p { font-size: 15px; color: rgba(254,245,228,.7); }

/* ===== SECTION HEADING ROW ===== */
.section-heading-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-heading-row h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 8px; }
.section-subheading { font-size: 18px; max-width: 600px; }

/* ===== NEWS SECTION ===== */
.news-section { padding: 80px 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: rgba(255,255,255,.05); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.news-img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius) var(--radius) 0 0;
}
.news-placeholder-icon { font-size: 2.5rem; color: var(--yellow); opacity: .6; }
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta { font-size: 12px; color: rgba(254,245,228,.6); margin-bottom: 8px; letter-spacing: .5px; text-transform: uppercase; }
.news-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; flex: 1; }
.news-body h3 a { color: var(--cream); }
.news-body h3 a:hover { color: var(--yellow); }
.news-body hr { border-color: rgba(254,245,228,.15); margin-bottom: 16px; }

/* ===== EVENTS SECTION ===== */
.events-section, .pd-section { padding: 80px 0; }

/* ===== PROFESSIONAL DEVELOPMENT ===== */
.pd-section { background: var(--light-bg); }
.pd-section h2 { color: var(--navy); }
.pd-section .section-subheading { color: var(--text); }

/* ===== COMMUNITY / BIG FEATURE ===== */
.community-section { padding: 80px 0; }

/* ===== ACTION CENTER ===== */
.action-center { padding: 80px 0; background: var(--cream); }
.action-center h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.action-center p { color: var(--text); margin-bottom: 24px; }

/* ===== FOOTER ===== */
.site-footer { padding: 60px 0 0; }
.footer-cta { padding: 20px 0 50px; max-width: 560px; margin: 0 auto; text-align: center; }
.footer-cta h3 { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-cta p { color: rgba(254,245,228,.8); margin-bottom: 28px; }
.footer-divider { border: none; border-top: 1px solid rgba(254,245,228,.15); margin: 0 0 50px; }

.footer-columns { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand address { font-size: 14px; color: rgba(254,245,228,.7); margin-bottom: 20px; }
.footer-brand address a { color: rgba(254,245,228,.7); }
.footer-brand address a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: rgba(254,245,228,.6); font-size: 18px; }
.footer-social a:hover { color: var(--yellow); }

.footer-col strong { display: block; color: var(--white); font-weight: 700; margin-bottom: 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col strong a { color: var(--white); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(254,245,228,.65); }
.footer-col ul li a:hover { color: var(--yellow); }

.footer-sub {
  border-top: 1px solid rgba(254,245,228,.1);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 13px;
  color: rgba(254,245,228,.5);
}
.footer-sub a { color: rgba(254,245,228,.5); }
.footer-sub a:hover { color: var(--yellow); }

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 60px 0 80px; }
.legal-header { border-bottom: 2px solid var(--yellow); padding-bottom: 24px; margin-bottom: 48px; }
.legal-header h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.legal-meta { color: var(--muted); font-size: 14px; }
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 40px 0 12px; }
.legal-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin: 28px 0 10px; }
.legal-body p { margin-bottom: 16px; color: var(--text); line-height: 1.75; }
.legal-body ul { margin: 0 0 16px 24px; }
.legal-body ul li { margin-bottom: 8px; color: var(--text); }
.legal-body address { margin: 16px 0 24px; color: var(--text); }
.legal-body address a { color: var(--blue); }
.legal-body hr { border: none; border-top: 1px solid #E3E5E8; margin: 32px 0; }

.legal-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.legal-table th, .legal-table td { border: 1px solid #E3E5E8; padding: 12px 16px; text-align: left; font-size: 14px; }
.legal-table th { background: var(--navy); color: var(--white); font-weight: 600; }
.legal-table tr:nth-child(even) td { background: var(--light-bg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .bands-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav-inner { gap: 12px; }
  .nav-menu > li > a { padding: 0 10px; font-size: 13px; }
}

@media (max-width: 768px) {
  .topbar-links { display: none; }
  .hamburger { display: flex; }

  .main-nav { display: none; }
  .main-nav.open { display: block; position: fixed; top: 64px; left: 0; width: 100%; height: calc(100vh - 64px); overflow-y: auto; background: var(--white); z-index: 1500; }
  .main-nav-inner { flex-direction: column; align-items: flex-start; height: auto; padding: 20px 0; gap: 0; }
  .nav-menu { flex-direction: column; width: 100%; }
  .nav-menu > li > a { height: auto; padding: 14px 24px; border-bottom: 1px solid #E3E5E8; font-size: 15px; }
  .dropdown { position: static; box-shadow: none; border: none; border-left: 3px solid var(--yellow); margin-left: 24px; display: none; }
  .nav-menu > li.open .dropdown { display: block; }
  .social-icons { padding: 20px 24px; border-bottom: 1px solid #E3E5E8; width: 100%; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-asset { display: none; }
  .feature-inner { grid-template-columns: 1fr; }
  .feature-inner.reverse { direction: ltr; }
  .bands-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-heading-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-columns { grid-template-columns: 1fr; }
  .footer-sub { flex-direction: column; text-align: center; }
  .legal-table { font-size: 12px; }
  .legal-table th, .legal-table td { padding: 8px 10px; }
}

.text-center { text-align: center; }
