/* ----------------------------------------------------------
   JOIN CADENCE — HERO SECTION
---------------------------------------------------------- */

.join-hero {
  position: relative;
  height: 100vh;
  background: url('assets/images/join/joinhero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  transition: background 0.6s ease;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeUp 1.2s ease forwards;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Parallax subtle motion */
.join-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(0);
  animation: parallaxShift 10s ease-in-out infinite alternate;
}

@keyframes parallaxShift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-20px);
  }
}

/* ----------------------------------------------------------
   JOIN CADENCE — FORM SECTION
---------------------------------------------------------- */

.join-cadence-section {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.join-inner {
  text-align: center;
}

.join-inner h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.join-inner p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 3rem;
}

/* Form Container */
.join-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.join-submit-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.1rem;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.join-submit-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ----------------------------------------------------------
   JOIN CADENCE — SUCCESS PAGE
---------------------------------------------------------- */

.join-success-hero {
  position: relative;
  height: 70vh;
  background: url('assets/images/join/joinhero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.join-success-section {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.success-inner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-inner p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* .btn-secondary base styling now lives in global.css */

@media (max-width: 700px) {
  .join-cadence-section,
  .join-success-section {
    padding: 3rem 1.5rem;
  }
}
