/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  color: #ffffff; /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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: clamp(28px, 3.5vw, 48px); 
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  background-color: #0d0d0d; /* Slightly darker background for hero */
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-contact__main-title {
  font-size: clamp(32px, 4vw, 56px); 
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for prominence */
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__tagline {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-contact__btn-primary:hover {
  background-color: #005f2c;
  transform: translateY(-2px);
}

.page-contact__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-contact__btn-register:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

/* Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Same as body background */
}

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

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

.page-contact__method-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-contact__method-icon {
  width: 100%; /* Ensure large image, not small icon */
  max-width: 400px; /* Constrain max width */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__method-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-contact__method-text {
  font-size: 16px;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-contact__method-button {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly darker */
}

.page-contact__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-contact__form-content {
  text-align: left;
}

.page-contact__form-content .page-contact__section-title,
.page-contact__form-content .page-contact__description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-contact__form-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #017439;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFFF00;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 255, 0, 0.5);
}

.page-contact__submit-button {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background-color: #C30808;
  color: #FFFF00;
}

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

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #1a1a2e;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #FFFF00;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-contact__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #f0f0f0;
}

/* CTA Section at bottom */
.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0d0d0d;
}

.page-contact__cta-section .page-contact__description {
  margin-bottom: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-contact__form-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__form-content {
    text-align: center;
  }
  .page-contact__form-content .page-contact__section-title,
  .page-contact__form-content .page-contact__description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 15px;
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }

  .page-contact__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-contact__tagline {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-contact__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-contact__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .page-contact__method-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__form-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Containers for images/videos/buttons */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form-section,
  .page-contact__info-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-register,
  .page-contact__method-button,
  .page-contact__submit-button,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px; /* Adjust padding for smaller screens */
  }

  .page-contact__contact-methods {
    grid-template-columns: 1fr; /* Stack cards vertically */
  }

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__method-title {
    font-size: 20px;
  }

  .page-contact__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
  }
}