/* style/register.css */

.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for content area */
}

.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  background-color: #000000; /* Dark background for hero content area */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  z-index: 2;
}

.page-register__hero-content {
  position: relative;
  z-index: 3;
}

.page-register__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  min-width: 180px;
}

.page-register__cta-button--register {
  background-color: #FFFFFF; /* Register button background */
  color: #000000; /* Register button text */
}

.page-register__cta-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-register__cta-button--login {
  background-color: #FCBC45; /* Login button background */
  color: #000000; /* Login button text */
}

.page-register__cta-button--login:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

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

.page-register__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__faq-section {
  padding: 60px 0;
}

.page-register__value-section {
  background-color: #f9f9f9;
}

.page-register__value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-register__value-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-register__value-item strong {
  color: #000000;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

.page-register__main-cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 18px 40px;
  background-color: #FCBC45; /* Login button background as main CTA */
  color: #000000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-register__main-cta-button:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

.page-register__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-register__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #000000; /* Primary color for step numbers */
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-register__step-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

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

.page-register__conditions-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-register__condition-item {
  margin-bottom: 15px;
  color: #333333;
}

.page-register__condition-item strong {
  color: #000000;
}

.page-register__read-more-link {
  display: inline-block;
  margin-top: 20px;
  color: #000000; /* Link color */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__read-more-link:hover {
  color: #FCBC45; /* Hover color */
}

.page-register__faq-list {
  margin-top: 30px;
}

.page-register__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(45deg);
}

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

.page-register__faq-answer p {
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2em;
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__cta-button {
    width: 100%;
    margin: 10px 0;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__section-description {
    font-size: 0.95em;
  }

  .page-register__value-list, .page-register__step-list {
    grid-template-columns: 1fr;
  }

  .page-register__hero-image {
    max-width: 100%;
    height: auto;
    position: relative; /* Change to relative for mobile hero image */
    opacity: 1; /* Full opacity on mobile */
  }

  .page-register__hero-section {
    padding-bottom: 30px;
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }

  .page-register__hero-container {
    padding: 20px 15px;
  }

  .page-register__hero-content {
    margin-top: 20px; /* Add some space after image if it's static */
  }

  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 1em;
  }

  /* Ensure all content images within .page-register are responsive */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.6em;
  }

  .page-register__hero-description {
    font-size: 0.9em;
  }

  .page-register__cta-button {
    font-size: 1em;
    padding: 12px 20px;
    min-width: unset;
  }

  .page-register__section-title {
    font-size: 1.5em;
  }
}