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

.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-register__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-register__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Main color for text on button */
  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;
  border: none;
  cursor: pointer;
}

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

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

.page-register__cta-button--secondary:hover {
  background-color: #1a1a1a;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

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

.page-register__section-title {
  font-size: 2.2em;
  color: #000000; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-register__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-register__section-text {
  font-size: 1.1em;
  color: #333333;
  text-align: justify;
  margin-bottom: 25px;
}

.page-register__section-text--final {
  text-align: center;
  font-weight: bold;
  margin-top: 40px;
}

.page-register__value-section,
.page-register__conditions-section {
  background-color: #FFFFFF;
}

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

.page-register__steps-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__steps-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-register__step-list {
  flex: 2 1 500px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__step-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-register__step-item:hover {
  transform: translateY(-5px);
}

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

.page-register__step-description {
  font-size: 1em;
  color: #555555;
}

.page-register__conditions-image {
  display: block;
  margin: 30px auto;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

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

.page-register__rule-item {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
}

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

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

.page-register__faq-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.page-register__faq-image {
  flex: 1 1 300px;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-register__faq-list {
  flex: 2 1 500px;
}

.page-register__faq-item {
  margin-bottom: 15px;
}

.page-register__faq-details {
  background-color: #FFFFFF;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px 20px;
  transition: box-shadow 0.3s ease;
}

.page-register__faq-details[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
  display: block;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  padding-right: 30px;
  position: relative;
  list-style: none;
}

.page-register__faq-question::-webkit-details-marker {
  display: none;
}

.page-register__faq-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-register__faq-details[open] .page-register__faq-toggle {
  transform: translateY(-50%) rotate(45deg);
}

.page-register__faq-answer {
  padding-top: 15px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-container {
    padding: 30px 15px 60px;
  }
  .page-register__hero-content {
    padding: 15px;
  }
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.95em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__content-area {
    padding: 30px 15px;
  }
  .page-register__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-register__section-text {
    font-size: 0.95em;
  }
  .page-register__steps-container,
  .page-register__faq-container {
    flex-direction: column;
    gap: 30px;
  }
  .page-register__steps-image,
  .page-register__faq-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-width: 200px; /* Ensure mobile images are not too small */
    min-height: 200px;
  }
  .page-register__step-item {
    padding: 20px 25px;
  }
  .page-register__step-title {
    font-size: 1.3em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
  }
  /* Mobile image scaling for content images */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__conditions-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-width: 200px; /* Ensure mobile images are not too small */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.5em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.4em;
  }
  .page-register__step-title {
    font-size: 1.1em;
  }
  .page-register__faq-question {
    font-size: 1em;
  }
}