/* style/register.css */

/* Custom CSS Variables */
:root {
  --primary-color: #017439; /* Main brand color */
  --secondary-color: #FFFFFF; /* Accent color, often used for backgrounds or text on primary */
  --register-button-color: #C30808; /* Specific color for register buttons */
  --login-button-color: #C30808; /* Specific color for login buttons */
  --background-color: #FFFFFF; /* Page background color */
  --register-login-font-color: #FFFF00; /* Specific font color for register/login buttons */
  --text-dark: #333333; /* Dark text for light backgrounds */
  --text-light: #FFFFFF; /* Light text for dark backgrounds */
  --border-color: #e0e0e0;
}

.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--background-color); /* Default body background is white */
}

/* Fixed header offset - applied to the main content area or first section */
.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-register__section-title--light {
  color: var(--text-light);
}

.page-register__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__section-description--light {
  color: var(--text-light);
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #019c4d 100%); /* Green gradient */
  color: var(--text-light);
}

.page-register__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.page-register__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-register__hero-image {
  width: 100%;
  max-width: 800px; /* Adjust as needed */
  margin-top: 30px;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--register-button-color); /* Specific color for register button */
  color: var(--register-login-font-color); /* Specific font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button:hover {
  background: #a80707; /* Slightly darker red on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button--secondary {
  background: var(--login-button-color); /* Specific color for login button */
  color: var(--register-login-font-color); /* Specific font color */
}

.page-register__cta-button--secondary:hover {
  background: #a80707; /* Slightly darker red on hover */
}

.page-register__cta-button--large {
  padding: 18px 50px;
  font-size: 22px;
}

/* Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-dark);
}

.page-register__registration-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 40px auto 20px auto;
  border: 1px solid var(--border-color);
}

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

.page-register__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--primary-color);
  font-size: 16px;
}

.page-register__form-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}