/* style/register.css */

/* Base styles for the register page, ensuring light text on dark background from shared.css */
.page-register {
  color: #ffffff; /* Default text color for the page content */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Inherit from body or shared.css */
}

/* Header offset for main content */
.page-register__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #0d0d0d; /* Dark background for hero section */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden; /* Prevent image overflow */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-register__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-register__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly dim the background image */
}

/* General button styles */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
}

.page-register__btn-primary {
  background-color: #CC3333; /* Main brand red */
  color: #ffffff;
  border: 2px solid #CC3333;
}

.page-register__btn-primary:hover {
  background-color: #a32a2a;
  border-color: #a32a2a;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #333333; /* Dark text on gold hover */
  transform: translateY(-2px);
}

.page-register__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* Section common styles */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for section titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

/* Benefits Section */
.page-register__benefits-section {
  background-color: #1a1a1a; /* Darker background for contrast */
  padding: 80px 0;
  color: #ffffff;
}

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

.page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-register__benefit-description {
  font-size: 1em;
  color: #cccccc;
}

.page-register__section-outro {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Process Section */
.page-register__process-section {
  background-color: #0d0d0d;
  padding: 80px 0;
  color: #ffffff;
}

.page-register__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-register__step-number {
  background-color: #CC3333;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(204, 51, 51, 0.5);
}

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

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

.page-register__process-image {
  display: block;
  max-width: 100%;
  height: auto;
  min-height: 200px; /* Minimum size for content images */
  border-radius: 10px;
  margin: 50px auto 30px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
}

/* Registration Form Section */
.page-register__form-section {
  background-color: #222222; /* Slightly lighter dark for form contrast */
  padding: 80px 0;
  color: #ffffff;
}

.page-register__registration-form {
  max-width: 600px;
  margin: 50px auto 0 auto;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-register__form-group {
  margin-bottom: 20px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #FFD700;
}

.page-register__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #aaaaaa;
}

.page-register__form-input:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-register__form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.page-register__form-checkbox-input {
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 4px; /* Align with text */
}

.page-register__form-checkbox-label {
  font-size: 0.95em;
  color: #cccccc;
}

.page-register__form-checkbox-label a {
  color: #FFD700;
  text-decoration: none;
}

.page-register__form-checkbox-label a:hover {
  text-decoration: underline;
}

.page-register__form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-register__form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
  color: #cccccc;
}

.page-register__form-note a {
  color: #FFD700;
  text-decoration: none;
}

.page-register__form-note a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-register__promotions-section {
  background-color: #CC3333; /* Main brand red background */
  padding: 80px 0;
  color: #ffffff;
}

.page-register__promotions-section .page-register__section-title {
  color: #FFD700; /* Gold title on red background */
}

.page-register__promotions-section .page-register__section-intro {
  color: #f0f0f0;
}

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

.page-register__promotion-card {
  background-color: rgba(0, 0, 0, 0.2); /* Dark overlay on red */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__promotion-card:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 0, 0.3);
}

.page-register__promotion-image {
  width: 100%;
  height: auto;
  min-height: 200px; /* Minimum size for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-register__promotion-description {
  color: #f0f0f0;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: #0d0d0d;
  padding: 80px 0;
  color: #ffffff;
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-register__faq-item-title {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
  flex-grow: 1;
}