/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default background for the page content */
  line-height: 1.6;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-contact__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

/* General Section Styling */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Primary brand color */
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

/* About Support Section */
.page-contact__about-support-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

.page-contact__feature-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-contact__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-contact__feature-text {
  font-size: 0.95em;
  color: #555555;
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box; /* Include padding in element's total width and height */
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-submit {
  width: auto;
  display: block;
  margin: 0 auto;
}

/* Channels Section */
.page-contact__channels-section {
  background-color: #017439; /* Primary brand color for dark background */
  color: #ffffff; /* White text for dark background */
  padding: 60px 0;
}

.page-contact__channels-section .page-contact__section-title {
  color: #ffffff; /* White title for dark background */
}

.page-contact__channels-section .page-contact__section-description {
  color: #f0f0f0; /* Light grey description for dark background */
}

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

.page-contact__channel-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__channel-illustration {
  width: 100%; /* Take full width of card */
  max-width: 300px; /* Max width for image within card */
  height: auto;
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
  filter: none; /* Ensure no CSS filter is applied to change image color */
}

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

.page-contact__channel-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to take available space */
}

.page-contact__channel-link {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__channel-link:hover {
  background-color: #f0f0f0;
  color: #005f2e;
}

.page-contact__channels-footer-text {
  margin-top: 40px;
  font-style: italic;
}

/* Responsible Gaming Support Section */
.page-contact__responsible-gaming-support {
  background-color: #f0f0f0;
  padding: 60px 0;
}

.page-contact__responsible-gaming-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-contact__faq-content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start; /* Align items to the top */
  max-width: 1000px;
  margin: 0 auto;
}

.page-contact__faq-list {
  flex: 2;
  margin: 0;
}

.page-contact__faq-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__faq-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #fdfdfd;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #f0f0f0;
}

.page-contact__faq-title {
  font-size: 1.2em;
  color: #333333;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate to form a minus sign */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-contact__faq-answer p {
  margin: 0;
}

.page-contact__faq-answer a {
  color: #017439;
  text-decoration: none;
}

.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

.page-contact__faq-footer-text {
  margin-top: 40px;
  font-style: italic;
}