/* style/register.css */

.page-register {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-register__hero-section {
  background-color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-register__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__hero-title {
  font-size: 3em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
}

.page-register__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-register__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.page-register__button--primary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-register__button--primary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-register__button--secondary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-register__button--secondary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-register__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-register__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-register__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-register__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__value-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-register__value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__value-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__value-image {
  width: 100%; /* Ensure image fills card width */
  max-width: 400px; /* Max width for consistency */
  height: auto;
  min-height: 200px; /* Minimum size for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-register__card-description {
  color: #555555;
}

.page-register__steps-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.page-register__step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-register__step-content {
  flex: 1;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-register__step-description {
  color: #555555;
}

.page-register__steps-cta {
  text-align: center;
  margin-top: 40px;
}

.page-register__conditions-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-register__conditions-list {
  list-style: disc;
  margin: 0 auto 30px auto;
  padding-left: 20px;
  max-width: 800px;
  color: #555555;
}

.page-register__condition-item {
  margin-bottom: 10px;
}

.page-register__link {
  color: #000000;
  text-decoration: underline;
  display: block;
  text-align: center;
  margin-top: 20px;
}

.page-register__link:hover {
  color: #FCBC45;
}

.page-register__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-register__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-register__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: block;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
  background-color: #e8e8e8;
  border-bottom: 1px solid #dcdcdc;
}

.page-register__faq-question:hover {
  background-color: #e0e0e0;
}

.page-register__faq-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '-';
}

.page-register__faq-answer {
  padding: 0 20px 20px 20px;
  color: #555555;
  font-size: 1.1em;
}

.page-register__faq-item[open] .page-register__faq-question {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-register__hero-section {
    padding: 60px 15px;
    gap: 30px;
  }
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-cta {
    flex-direction: column;
  }
  .page-register__button {
    width: 100%;
    max-width: 300px;
  }
  .page-register__content-area {
    padding: 30px 15px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-intro {
    font-size: 0.95em;
  }
  .page-register__value-cards {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-register__step-number {
    margin-bottom: 15px;
  }
  /* Mobile content area images must not overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-register__faq-toggle {
    right: 15px;
  }
  .page-register__faq-answer {
    padding: 0 15px 15px 15px;
  }
}