/* style/contact.css */

/* Custom properties for colors from the prompt */
:root {
  --primary-color: #017439; /* Main brand green */
  --secondary-color: #FFFFFF; /* Auxiliary white */
  --register-button-color: #C30808; /* Red for register/login buttons */
  --login-button-color: #C30808; /* Red for register/login buttons */
  --register-login-font-color: #FFFF00; /* Yellow for register/login button text */
  --default-text-color: #333333; /* Dark gray for general text on light backgrounds */
  --light-text-color: #FFFFFF; /* White for text on dark backgrounds */
  --border-color: #e0e0e0; /* Light gray for borders */
  --background-light: #f8f8f8; /* Light background for sections */
  --background-dark: #017439; /* Dark background for sections using primary color */
}

/* Base styles for the page-contact scope */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--default-text-color); /* Default text color for light body background */
  background-color: var(--secondary-color); /* Fallback, but body background is from shared */
}

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

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

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

/* HERO Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: var(--background-light); /* Light background for hero */
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-contact__hero-content h1 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 20px;
  color: var(--default-text-color);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button Styles */
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--register-button-color); /* Red for CTA */
  color: var(--register-login-font-color); /* Yellow font */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}