/* style/contact.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #ffffff; /* Light text for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly lighter text for descriptions */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #1a1a1a; /* Slightly lighter dark for hero */
  overflow: hidden;
  gap: 40px;
  flex-wrap: wrap;
}

.page-contact__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
  z-index: 1;
  padding: 20px;
}

.page-contact__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-contact__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Ensure long words break */
}

.page-contact__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-contact__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-contact__btn-secondary:hover {
  background-color: #C30808;
  color: #ffffff;
}

.page-contact__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-contact__video-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Dark background */
  text-align: center;
}

.page-contact__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

/* Contact Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-contact__info-section .page-contact__section-title {
  color: #333333;
}

.page-contact__info-section .page-contact__section-description {
  color: #555555;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333; /* Dark text for card */
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
}

.page-contact__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439; /* Brand color for card titles */
}

.page-contact__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #555555;
}

.page-contact__email,
.page-contact__phone {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #017439; /* Brand color for contact details */
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #121212; /* Dark background, matches body */
}

.page-contact__form-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.page-contact__form-content {
  flex: 1;
  min-width: 300px;
}

.page-contact__contact-form {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff; /* Light text for labels */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #bbb;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.3);
}

.page-contact__form-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}