.page-contact {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  position: relative;
  background-color: #1A2E40; /* Dark blue background for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.3; /* Slightly transparent to let background color show */
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 0;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-contact__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 150px; /* Ensure button minimum width */
  text-align: center;
}

.page-contact__btn--primary {
  background-color: #FFD700;
  color: #1A2E40;
  border: 2px solid #FFD700;
}

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

.page-contact__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-contact__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2E40;
  transform: translateY(-2px);
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #1A2E40;
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-contact__methods-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #1A2E40;
  margin-bottom: 15px;
}

.page-contact__method-text {
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-contact__method-link:hover, .page-contact__method-button:hover {
  background-color: #e6c200;
}

.page-contact__form-section {
  padding: 60px 0;
}

.page-contact__form-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__form-illustration {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-contact__contact-form {
  flex: 1;
  max-width: 600px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  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: #1A2E40;
}

.page-contact__form-input, .page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  background-color: #f9f9f9;
}

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

.page-contact__btn--submit {
  width: 100%;
  padding: 15px;
  background-color: #1A2E40;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__btn--submit:hover {
  background-color: #0f1c2b;
}

.page-contact__responsible-gaming-section {
  background-color: #1A2E40;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

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

.page-contact__responsible-gaming-section .page-contact__section-description {
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.2em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__btn {
    width: 100%;
    max-width: 300px;
  }

  .page-contact__section-title {
    font-size: 2em;
  }

  .page-contact__section-description {
    font-size: 0.95em;
  }

  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__form-wrapper {
    flex-direction: column;
  }

  .page-contact__form-illustration {
    order: -1; /* Move image above form on mobile */
  }

  /* CRITICAL: Mobile content area images must be responsive */
  .page-contact__hero-image,
  .page-contact__method-icon,
  .page-contact__form-illustration,
  .page-contact__container img { /* Catch-all for any img in content area */
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-contact__contact-form {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }

  .page-contact__hero-description {
    font-size: 0.9em;
  }

  .page-contact__btn {
    padding: 10px 20px;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__section-description {
    margin-bottom: 25px;
  }
}