/* ==========================================================================
   Background / Index Page Styles
   Wholesail Recruiting Site
   Requires: shared.css
   ========================================================================== */


/* --- Page Wrapper --- */
.landing-page {
  position: relative;
  max-width: var(--page-max-width);
  margin: 0 auto;
  min-height: 100vh;
}


/* --- Hero --- */
.hero {
  position: relative;
  z-index: 2;
  padding: 152px var(--page-inset) 88px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-bg-anim {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50.2%, -32.5%);
  width: 1200px;
  pointer-events: none;
  z-index: 0;
}

.hero-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 1.92px;
  line-height: 88px;
  color: var(--color-text);
}

.hero-heading .accent {
  color: var(--color-accent);
}


/* --- Intro Text --- */
.intro {
  position: relative;
  z-index: 2;
  padding: 0 calc(var(--page-inset)) 147px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.16px;
  line-height: 26px;
  color: var(--color-text);
  max-width: 640px;
}

.intro p + p {
  margin-top: 21px;
}

.intro strong {
  font-weight: 600;
}

/* Gold highlight used in intro text and headings */
.gold {
  color: var(--color-gold);
}


/* --- Section Divider --- */
.section-divider {
  position: relative;
  z-index: 2;
  height: 1px;
  background: rgba(68, 68, 68, 1.0);
  width: calc(100vw - 80px); /* fallback */
  width: round(down, 100vw - 20px, 160px);
  left: 50%;
  transform: translateX(-50%);
}


/* --- Content Row (text left, image placeholder right) --- */
.content-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  padding: 68px var(--page-inset);
  height:479px;
}

.content-col {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  padding-left: 16px;
}

.content-heading {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.24px;
  line-height: 36px;
  color: var(--color-text);
  margin-bottom: 24px;
}

.content-heading .underline-accent {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}

/* "24% of GDP" — Söhne Mono Halbfett (semibold) */
.content-heading .gold {
  font-weight: 600;
}

.content-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.16px;
  line-height: 26px;
  color: var(--color-text);
}

.content-body a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.16px;
  line-height: 26px;
  color: var(--color-text);
}

.content-list li + li {
  margin-top: 2px;
}


/* --- Image Placeholder --- */
.content-image {
  flex-shrink: 0;
  width: 320px;
  height: 240px;
}

.content-image--accent {
  background: rgba(0, 255, 84, 0.2);
  height: 243px;
}


/* --- CTA Section --- */
.cta-section {
  position: relative;
  z-index: 2;
  padding: 0 var(--page-inset) 100px;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 0 0;
}

.cta-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
}

.cta-icon--library {
  border-color: var(--color-gold);
  background: rgba(255, 183, 0, 0.2);
}

.cta-icon--jobs {
  border-color: var(--color-accent);
  background: rgba(0, 255, 84, 0.2);
}

.cta-text {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  color: var(--color-text);
  width: 688px
}

/* Default CTA link = green (Join Us) */
.cta-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

/* Library CTA link = gold */
.cta-link--library {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.cta-link:hover,
.cta-link--library:hover {
  opacity: 0.75;
}


/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero {
    padding: 152px 0 88px;
  }

  .content-col {
    flex: none;
    padding-left: 40px;
  }

  .content-image {
    flex: none;
  }

  .content-image--accent {
    height: 200px;
  }

  .section-divider {
    width: 100%;
  }

  .cta-text {
    width: 528px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 67px var(--page-inset);
    max-width: 640px;
  }

  .hero-bg-anim {
    transform: translate(-50.15%, -32%);
  }

  .hero-heading {
    font-size: 36px;
    line-height: 56px;
  }

  .intro {
    padding: 0px var(--page-inset);
    height: 276px;
  }

  .content-row {
    flex-direction: column;
    gap: 0px;
    padding: 40px var(--page-inset);
    height: auto;
    justify-content:start;
  }

  .content-col {
    max-width: 640px;
    padding-left: 0px;
    width: auto;
  }

  #trade-credit {
    height: 243px;
  }

  #retail {
    height: 239px;
  }

  #wholesale {
    height: 159px;
  }

  #network {
    height: 319px;
  }

  .content-image {
    width: 100%;
  }

  .content-image--accent {
    height: 180px;
  }

  .cta-text {
    font-size: 16px;
    line-height: 26px;
    max-width: 381px;
  }

  .cta-row {
    gap: 20px;
    padding: 79px 0 1px;
  }
}

@media (max-width: 530px) {
  .hero {
    display: flex;
    align-items: center;
    height: 360px;
    padding: 20px var(--page-inset) 60px;
  }

  .hero-bg-anim {
    transform: translate(-50.15%, -37.7%);
  }

  .hero-heading {
    font-size: 32px;
    line-height:48px;
  }

  .intro {
    height: 480px;
  }

  #trade-credit {
    height: 325px;
  }

  #retail {
    height: 319px;
  }

  #wholesale {
    height: 240px;
  }

  #network {
    height: 480px;
  }

  .content-image {
    width: auto;
  }

  .cta-section {
    padding-top: 60px;
  }

  .cta-row {
    padding: 28px 0 1px;
  }

  .cta-icon {
    width: 40px;
    height: 40px;
  }
}