/* ============================================================
   ZGFP — ABSOLUTE STANDALONE FRONT PAGE STYLES
   No variables. No theme inheritance. No conflicts.
   ============================================================ */

/* PAGE WRAPPER */
.zgfp-page {
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
}

/* ------------------------------------------------------------
   HERO SECTION (Layered Architecture)
   ------------------------------------------------------------ */

.zgfp-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  padding: 180px 40px 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000; /* fallback */
}

/* Background Image Layer */
.zgfp-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://design.zimgerm.de/wp-content/uploads/2026/01/photo-1677273459827-e212995b079d.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Overlay Layer */
.zgfp-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
    radial-gradient(circle at 20% 20%, rgba(200,155,60,0.25), transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* Text Layer */
.zgfp-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: #fafafa;
  animation: zgfp-fade-up 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes zgfp-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zgfp-hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.zgfp-hero-subtitle {
  font-size: 1.35rem;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 760px;
  margin: 0 auto 32px;
}

/* Hero Buttons */
.zgfp-hero-actions {
  margin-top: 32px;
}

.zgfp-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.zgfp-btn-primary {
  background: #c89b3c;
  color: #000;
}

.zgfp-btn-primary:hover {
  background: #e0b45a;
}

.zgfp-btn-ghost {
  background: transparent;
  border: 2px solid #c89b3c;
  color: #c89b3c;
}

.zgfp-btn-ghost:hover {
  background: #c89b3c;
  color: #000;
}

/* ------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------ */

.zgfp-section {
  padding: 120px 40px;
  background: #ffffff;
}

.zgfp-section-light {
  background: #f7f7f7;
}

.zgfp-section-dark {
  background: #0a0f1f;
  color: #fafafa;
  padding: 140px 40px;
}

/* Containers */
.zgfp-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Headings */
.zgfp-heading-l {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Body text */
.zgfp-body {
  font-size: 1.1rem;
  line-height: 1.65;
}

.zgfp-body-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 800px;
}

.zgfp-body-muted {
  opacity: 0.6;
}

/* Highlight bar */
.zgfp-highlight {
  width: 60px;
  height: 6px;
  background: #c89b3c;
  border-radius: 3px;
  margin-bottom: 24px;
}

/* ------------------------------------------------------------
   GRID SYSTEM
   ------------------------------------------------------------ */

.zgfp-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.zgfp-grid-tight {
  gap: 24px;
}

/* Cards */
.zgfp-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.zgfp-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.zgfp-card-text {
  font-size: 1rem;
  line-height: 1.55;
}

/* Two-column layout */
.zgfp-two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
}

/* Center utility */
.zgfp-center {
  text-align: center;
}

.zgfp-highlight {
  display: none;
}


/* Improve hero spacing and CTA alignment */
.zgfp-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.zgfp-hero-actions {
  margin-top: 24px;
}

.zgfp-hero-title {
  margin-bottom: 20px;
}

.zgfp-hero-subtitle {
  margin-bottom: 28px;
}


/* OPPORTUNITIES SECTION — FIX TEXT + BUTTON ALIGNMENT */
.zgfp-section .zgfp-center {
  margin-top: 28px;
}

.zgfp-section .zgfp-body {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.zgfp-section .zgfp-body-muted {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}


/* Center all section headings on the standalone front page 
.zgfp-heading-l {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}*/


.zgfp-section:nth-of-type(5) .zgfp-heading-l {
  text-align: center;
}

.zgfp-section:nth-of-type(4) .zgfp-heading-l {
  text-align: center;
}

.zgfp-section:nth-of-type(2) .zgfp-heading-l {
  text-align: center;
}



/* PREMIUM BORDER STYLE */
.zgfp-btn-ghost {
  background: transparent;
  border: 1.6px solid rgba(200, 155, 60, 0.85); /* refined gold */
  color: rgba(200, 155, 60, 0.95);
  padding: 14px 28px;
  border-radius: 6px;
  transition: all 0.25s ease;
  backdrop-filter: blur(2px);
}

/* Hover: subtle glow + richer gold */
.zgfp-btn-ghost:hover {
  background: rgba(200, 155, 60, 0.12);
  border-color: rgba(200, 155, 60, 1);
  color: #000;
  box-shadow: 0 0 12px rgba(200, 155, 60, 0.35);
}


/* Footer Reset — Absolute Override */
footer,
.site-footer,
#colophon {
  background: #0a0f1f !important;
  color: #fafafa !important;
  padding: 60px 40px !important;
  text-align: center;
}

footer a,
.site-footer a,
#colophon a {
  color: #c89b3c !important;
  text-decoration: none;
}

footer a:hover {
  color: #e0b45a !important;
}


/* Super Ivory Button */
.zgfp-btn-secondary {
  background: #faf8f0;
  color: #0a0f1f;
  border: none;
}

.zgfp-btn-secondary:hover {
  background: #ffffff;
  color: #000;
}



.home .zgfp-hero-title {
    font-size: 54px;
    font-weight: 700;
    color: #FAF8F4;
}


.home .zgfp-hero-subtitle {
  font-size: 1.45rem;     /* or whatever size you want */
  line-height: 1.6;
  opacity: 0.95;
  max-width: 760px;
  margin: 0 auto 32px;
  color: #FAF8F4;         /* optional: homepage-specific color */
}


/* 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;
}
