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

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__section-description {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
  margin-bottom: 60px;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: 675px;
  object-fit: cover;
  display: block;
}

.page-contact__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%); /* Lift content over the image a bit */
  position: relative;
  z-index: 1;
}

.page-contact__main-title {
  font-size: 44px;
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 19px;
  color: #333333;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__cta-button--primary {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-contact__cta-button--primary:hover {
  background-color: #d16b00;
  transform: translateY(-2px);
}

.page-contact__cta-button--secondary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-contact__cta-button--secondary:hover {
  background-color: #1e87c0;
  transform: translateY(-2px);
}

/* Intro Section */
.page-contact__intro-section {
  padding: 60px 0;
  margin-bottom: 60px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.page-contact__intro-section .page-contact__section-title {
  color: #333333;
  margin-bottom: 15px;
}

.page-contact__intro-section .page-contact__section-description {
  font-size: 16px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

/* Contact Methods Section */
.page-contact__contact-methods-section {
  padding: 60px 0;
  margin-bottom: 60px;
  background-color: #ffffff;
}

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

.page-contact__method-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__method-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-contact__text-link:hover {
  color: #1e87c0;
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 16px;
  color: #555555;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__contact-form .page-contact__cta-button {
  width: auto;
  min-width: 180px;
  padding: 12px 25px;
  font-size: 17px;
  margin-top: 10px;
}

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

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #f5f5f5;
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
}

details.page-contact__faq-item .page-contact__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Responsible Gaming Section */
.page-contact__responsible-gaming-section {
  padding: 60px 0;
  background-color: #f2f7fb;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

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

.page-contact__responsible-gaming-section .page-contact__section-description {
  font-size: 16px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

.page-contact__responsible-gaming-section .page-contact__cta-button {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 38px;
  }

  .page-contact__hero-description {
    font-size: 18px;
  }

  .page-contact__section-title {
    font-size: 28px;
  }

  .page-contact__section-description {
    font-size: 16px;
  }

  .page-contact__hero-content {
    transform: translateY(-30%);
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    margin-bottom: 40px;
  }

  .page-contact__hero-image {
    height: 400px;
  }

  .page-contact__hero-content {
    padding: 25px 15px;
    transform: translateY(-20%);
  }

  .page-contact__main-title {
    font-size: 30px !important;
    line-height: 1.3;
  }

  .page-contact__hero-description {
    font-size: 16px !important;
    margin-bottom: 20px;
  }

  .page-contact__cta-button {
    font-size: 16px !important;
    padding: 12px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__intro-section, 
  .page-contact__contact-methods-section, 
  .page-contact__form-section, 
  .page-contact__faq-section, 
  .page-contact__responsible-gaming-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }

  .page-contact__section-title {
    font-size: 24px !important;
    margin-bottom: 15px;
  }

  .page-contact__section-description {
    font-size: 15px !important;
    margin-bottom: 25px;
    text-align: left;
  }

  .page-contact__methods-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

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

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

  .page-contact__method-text {
    font-size: 15px;
  }

  .page-contact__method-icon {
    max-width: 150px;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__form-label {
    font-size: 15px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 15px;
  }

  .page-contact__contact-form .page-contact__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-contact__faq-qtext {
    font-size: 16px !important;
  }

  .page-contact__faq-toggle {
    font-size: 24px !important;
    width: 24px;
  }

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px;
  }

  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* General image responsiveness for all content images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Containers for images */
  .page-contact__method-card,
  .page-contact__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-contact__method-card .page-contact__method-icon {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}