/* ============================================================
   ZGFP — STANDALONE HEADER (CLEAN + FINAL)
   ============================================================ */

/* BASE HEADER (DESKTOP DEFAULT) */
.zgfp-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 32px 40px;
  z-index: 9999;
  background: transparent;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.zgfp-header.scrolled {
  background: #0a0f1f;
  padding: 20px 40px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.zgfp-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.zgfp-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

/* NAV (DESKTOP) */
.zgfp-header-nav {
  display: flex;
  gap: 32px;
}

.zgfp-header-nav .zgfp-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zgfp-header-nav a {
  color: #fafafa;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.25s ease;
}

.zgfp-header-nav a:hover {
  color: #c89b3c;
}

/* ============================================================
   NEW MOBILE HEADER SYSTEM (clean, isolated)
   ============================================================ */

/* Hide toggle on desktop */
.zgfp-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000000;
}

.zgfp-mobile-toggle span {
  width: 26px;
  height: 3px;
  background: #ffffff;
  display: block;
}

/* Mobile panel hidden by default */
.zgfp-mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: #0a0f1f;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.35s ease;
  z-index: 999999;
}

.zgfp-mobile-panel.active {
  right: 0;
}

.zgfp-mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zgfp-mobile-menu li a {
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 10px 0;
  display: block;
}

/* Prevent horizontal scrolling */
body, html {
  overflow-x: hidden;
}

/* ============================================================
   RESPONSIVE — MOBILE BEHAVIOR
   ============================================================ */

@media (max-width: 900px) {

  /* Hide desktop nav */
  .zgfp-header-nav {
    display: none !important;
  }

  /* Show new hamburger */
  .zgfp-mobile-toggle {
    display: flex !important;
  }

  /* Mobile header always solid */
  .zgfp-header {
    background: #0a0f1f !important;
    padding: 20px 24px !important;
  }
}

/* ============================================================
   DESKTOP ONLY
   ============================================================ */

@media (min-width: 901px) {
  .zgfp-header-nav {
    display: flex !important;
  }

  .zgfp-mobile-panel {
    display: none !important;
  }
}

/* ============================================================
   DROPDOWN MENU (DESKTOP)
   ============================================================ */

.zgfp-menu li {
  position: relative;
}

.zgfp-menu li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #11263D;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  min-width: 220px;
  border-radius: 0 0 12px 12px;
  z-index: 9999;
  display: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.zgfp-menu li:hover > ul.sub-menu {
  display: block;
}

.zgfp-menu li ul.sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fafafa;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.zgfp-menu li ul.sub-menu li a:hover {
  background: rgba(255,255,255,0.08);
  color: #c89b3c;
}

.zgfp-menu .menu-item-has-children > a:after {
  display: none !important;
}


/* Header subtle shade before scroll */
.zgfp-header {
    background: rgba(0,0,0,0.08); /* barely visible */
    backdrop-filter: saturate(180%) blur(6px);
}


/* Transparent header with subtle shade */
.zgfp-header {
    background: rgba(0, 0, 0, 0.06); /* barely visible */
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    transition: background 0.3s ease;
}

/* Optional: stronger shade on scroll */
.zgfp-header.scrolled {
    background: rgba(0, 0, 0, 0.12);
}


/* HEADER — subtle glass effect */
.zgfp-header {
    background: rgba(0,0,0,0.06);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* Stronger on scroll */
.zgfp-header.scrolled {
    background: rgba(0,0,0,0.12);
    border-color: rgba(255,255,255,0.15);
}


/* HERO — stronger overlay */
.zgfp-hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.25) 40%,
        rgba(0,0,0,0.15) 100%
    );
}

/* HERO — spacing + typography */
.zgfp-hero-inner {
    max-width: 900px;
    padding-top: 180px;
    padding-bottom: 160px;
}

.zgfp-hero-title {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.zgfp-hero-subtitle {
    font-size: 20px;
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
    max-width: 760px;
}


/* SECTION SPACING */
.zgfp-section {
    padding: 120px 0;
}

.zgfp-section-light {
    background: #FAF8F4;
    padding: 120px 0;
}

.zgfp-section-dark {
    background: #1A1F24;
    color: #FFFFFF;
    padding: 120px 0;
}

.zgfp-section-accent {
    background: linear-gradient(180deg, #F7F5EF 0%, #ECE9E2 100%);
    padding: 120px 0;
}


/* UNIVERSAL CARD STYLE */
.zgfp-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid #E8E6E2;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zgfp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

.zgfp-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1F2933;
}

.zgfp-card-text {
    font-size: 17px;
    line-height: 1.55;
    color: #4A4F55;
}


/* GRID SPACING */
.zgfp-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}


/* BUTTONS */
.zgfp-btn-primary {
    background: #1A1F24;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.zgfp-btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
}

.zgfp-btn-secondary {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.zgfp-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.zgfp-btn-ghost {
    background: transparent;
    border: 1px solid #D8D6D2;
    color: #1F2933;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.zgfp-btn-ghost:hover {
    background: #F3F1EC;
    border-color: #C8C6C2;
}


/* FOOTER CTA */
.zgfp-section-accent h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.zgfp-section-accent p {
    font-size: 18px;
    line-height: 1.6;
    color: #3A3F45;
}


/* SECTORS — heading left, text centered */
.zgfp-section-light h2.zgfp-heading-l {
    text-align: left;
}

.zgfp-section-light p.zgfp-body {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* SECTORS — ghost buttons in deep gold */
.zgfp-section-light .zgfp-btn-ghost {
    border-color: #C6A667;
    color: #C6A667;
}

.zgfp-section-light .zgfp-btn-ghost:hover {
    background: rgba(198,166,103,0.12);
    border-color: #C6A667;
    color: #C6A667;
}


/* HERO — darker overlay for readability */
.zgfp-hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.25) 100%
    );
}

/* HERO — primary button deep gold */
.zgfp-hero .zgfp-btn-primary {
    background: #C6A667;
    color: #1A1F24;
    border: none;
}

.zgfp-hero .zgfp-btn-primary:hover {
    background: #b89655;
    transform: translateY(-2px);
}


/* SECTORS — heading left, text centered */
.zgfp-section-light h2.zgfp-heading-l {
    text-align: left;
}

.zgfp-section-light p.zgfp-body {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* SECTORS — ghost buttons in deep gold */
.zgfp-section-light .zgfp-btn-ghost {
    border-color: #C6A667;
    color: #C6A667;
}

.zgfp-section-light .zgfp-btn-ghost:hover {
    background: rgba(198,166,103,0.12);
    border-color: #C6A667;
    color: #C6A667;
}


/* OPPORTUNITIES — heading left, text centered */
.zgfp-section-light h2.zgfp-heading-l {
    text-align: left;
}

.zgfp-section-light p.zgfp-body {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* CTA — gold primary */
.zgfp-btn-primary {
    background: #C6A667;
    color: #1A1F24;
    border: none;
}

.zgfp-btn-primary:hover {
    background: #b89655;
    transform: translateY(-2px);
}

/* CTA — silver/white secondary */
.zgfp-btn-secondary {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.zgfp-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}


/* DARK SECTION — ensure readable text */
.zgfp-section-dark .zgfp-body,
.zgfp-section-dark .zgfp-heading-l {
    color: #FFFFFF;
}

.zgfp-section-dark p {
    color: rgba(255,255,255,0.85);
}


/* HEADER — gold hover for nav links */
.zgfp-hdr-menu li a:hover {
    color: #C6A667;
}


/* Gold ghost button for sector pages */
.zgfp-btn-ghost-gold {
    background: transparent;
    border: 1px solid #C6A667;
    color: #C6A667;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.zgfp-btn-ghost-gold:hover {
    background: rgba(198,166,103,0.12);
    border-color: #C6A667;
    color: #C6A667;
}
