/* ============================================
   Join Us Page Styles
   Follows about.css conventions for consistency
   ============================================ */

/* Container width — match navbar */
.join-hero .container,
.join-perks .container,
.join-careers .container,
.join-cta .container {
  width: 88%;
  max-width: 1300px;
  padding-left: 0;
  padding-right: 0;
}

/* Header Font */
h1, h2, h3, h4 {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-weight: bold;
}

/* Body Font — scoped to page content, not footer */
.join-hero p, .section-empty p, .join-hero-description {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: normal;
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Hero Section ---- */
.join-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--navbar-h, 100px) * -1);
  padding: calc(var(--navbar-h, 100px) + 60px) 0 60px;
  min-height: calc(520px + var(--navbar-h, 100px));
  display: flex;
  align-items: center;
}
.join-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
}
.join-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 58, 95, 0.9);
}
.join-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.join-hero-content > .row {
  display: flex;
  align-items: center;
}
.join-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #f6d00b;
}
.join-hero-description {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  max-width: 540px;
}
.join-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Breadcrumb */
.join-breadcrumb {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-size: 13px;
  margin-bottom: 10px;
}
.join-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.join-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.join-breadcrumb .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}
.join-breadcrumb .breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
}

/* Tagline */
.join-hero-tagline {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f6d00b;
  margin-bottom: 8px;
}

/* ---- Hero Sidebar ---- */
.join-sidebar {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 24px;
  color: #fff;
}
.join-sidebar h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.join-sidebar h3 i {
  margin-right: 8px;
  color: #ffc107;
}
.join-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.join-sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.join-sidebar-list li:last-child {
  border-bottom: none;
}
.join-sidebar-list li i {
  margin-right: 10px;
  color: #ffc107;
}

/* ---- Member Perks Section ---- */
.join-perks {
  padding: 25px 0;
  background: #fff;
}
.join-perks .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.join-perks .title-base h2 {
  color: #004aad;
}
.join-perks .title-base p {
  font-size: 18px;
  color: #666;
}
.perks-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
}
.perks-row + .perks-row {
  margin-top: -10px;
}
.perks-row > [class*="col-"] {
  display: flex;
  margin-bottom: 20px;
}
.perk-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}
.perk-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.perk-card-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.perk-card:hover .perk-card-image {
  transform: scale(1.1);
}
.perk-card-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
  transition: background 0.4s ease;
}
.perk-card:hover .perk-card-overlay {
  background: linear-gradient(to top, rgba(30,58,95,0.9) 0%, rgba(30,58,95,0.5) 50%, rgba(30,58,95,0.3) 100%);
}
.perk-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
}
.perk-badge {
  display: inline-block;
  background: #ffc107;
  color: #004aad;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.perk-card h4 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.perk-card p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Perks CTA wrapper */
.join-perks-cta {
  margin-top: 20px;
}

/* ---- Career Opportunities Section ---- */
.join-careers {
  padding: 25px 0;
  background: #f8f9fa;
}
.join-careers .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.join-careers .title-base h2 {
  color: #004aad;
}
.join-careers .title-base p {
  font-size: 18px;
  color: #555;
}
.join-careers .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.career-benefits {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.career-benefits h4 {
  color: #004aad;
  margin-bottom: 16px;
}
.career-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.career-benefits li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  color: #555;
}
.career-benefits li:last-child {
  border-bottom: none;
}
.career-benefits li i {
  margin-right: 10px;
  color: #ffc107;
}

/* ---- CTA Section ---- */
.join-cta {
  padding: 25px 0;
  background: #1e3a5f;
}
.join-cta .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.join-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.join-cta-inner h2 {
  color: #ffffff;
  margin-bottom: 15px;
}
.join-cta-inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 22px;
}

/* Section h2 standardization */
.section-empty h2 {
  font-size: 2.8rem;
}

/* Override skin.css underline on section titles */
.join-perks .title-base h2::after,
.join-careers .title-base h2::after {
  display: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-btn { padding: 10px 24px; font-size: 13px; }
}

@media (max-width: 991px) {
  .join-hero .container,
  .join-perks .container,
  .join-careers .container,
  .join-cta .container {
    width: 92%;
  }
  .join-hero-content > .row { display: block; }
  .join-hero-description { max-width: 100%; }
  .join-sidebar { margin-top: 20px; }
  .join-careers .row { display: block; }
  .career-benefits { margin-top: 20px; }
}

@media (max-width: 768px) {
  .join-hero .container,
  .join-perks .container,
  .join-careers .container,
  .join-cta .container {
    width: 92%;
  }
  .join-hero { padding: calc(var(--navbar-h, 76px) + 30px) 0 35px; min-height: auto; }
  .join-breadcrumb { font-size: 12px; margin-bottom: 8px; }
  .join-hero-title { font-size: 1.8rem; margin-bottom: 8px; }
  .join-hero-tagline { font-size: 13px; letter-spacing: 1px; }
  .join-hero-description { font-size: 1rem; line-height: 1.6; margin-bottom: 15px; }
  .hero-btn { padding: 10px 24px; font-size: 13px; }
  .join-sidebar { padding: 18px; }
  .join-sidebar h3 { font-size: 1.1rem; }
  .perk-card { height: 240px; margin-bottom: 20px; }
  .perks-row > [class*="col-"] { margin-bottom: 0; }
  .perks-row + .perks-row { margin-top: 0; }
  .section-empty h2 { font-size: 1.8rem; }
}

@media (max-width: 576px) {
  .join-hero .container,
  .join-perks .container,
  .join-careers .container,
  .join-cta .container {
    width: 95%;
  }
  .join-hero { padding: calc(var(--navbar-h, 62px) + 25px) 0 30px; min-height: auto; }
  .join-breadcrumb { font-size: 11px; margin-bottom: 6px; }
  .join-hero-title { font-size: 1.5rem; }
  .join-hero-tagline { font-size: 12px; letter-spacing: 0.8px; }
  .join-hero-description { font-size: 0.95rem; line-height: 1.5; margin-bottom: 12px; }
  .hero-btn { padding: 10px 18px; font-size: 12px; }
  .join-sidebar { padding: 15px; margin-top: 15px; }
  .join-sidebar h3 { font-size: 1rem; }
  .join-sidebar-list li { font-size: 0.85rem; }
  .perk-card { height: 240px; }
  .perk-card h4 { font-size: 1.1rem; }
  .perk-card p { font-size: 0.85rem; }
  .perk-card-content { padding: 18px; }
  .join-perks-cta { margin-top: 14px; }
  .section-empty h2 { font-size: 1.5rem; }
  .join-cta-inner p { font-size: 14px; }
  .career-benefits { padding: 20px; }
}
