.page-contact {
  background-color: #0d0d0d; /* Dark background to match luxury casino theme */
  color: #f0f0f0; /* Light text for dark background */
  padding-top: var(--header-offset, 120px);
}

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold accent */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.page-contact__button--primary {
  background-color: #B80000; /* Main brand color */
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(184, 0, 0, 0.4);
}

.page-contact__button--primary:hover {
  background-color: #d40000;
  transform: translateY(-3px);
}

.page-contact__button--secondary {
  background-color: #FFD700; /* Auxiliary brand color */
  color: #333333;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__button--secondary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-contact__methods-section {
  background-color: #1a1a1a; /* Dark background */
  padding: 60px 20px;
  text-align: center;
}

.page-contact__methods-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__methods-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-contact__method-card {
  background-color: #2c2c2c; /* Slightly lighter dark background */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.page-contact__method-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-contact__method-heading {
  font-size: 1.8em;
  color: #B80000;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 25px;
  line-height: 1.5;
}

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

.page-contact__form-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #1a1a1a; /* Matches main background */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.page-contact__form-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-contact__form-description {
  font-size: 1.2em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #B80000;
  border-radius: 8px;
  background-color: #2c2c2c;
  color: #ffffff;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

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

.page-contact__button--submit {
  width: 100%;
  background-color: #B80000;
  color: #ffffff;
  padding: 18px;
  font-size: 1.2em;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(184, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__button--submit:hover {
  background-color: #d40000;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__methods-title,
  .page-contact__form-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-contact__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .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__button {
    width: 100%;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__methods-section,
  .page-contact__form-section {
    padding: 40px 15px;
  }
  .page-contact__methods-title,
  .page-contact__form-title {
    font-size: 2em;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 200px; /* Ensure minimum size is maintained */
    height: 200px; /* Ensure minimum size is maintained */
  }
  .page-contact__method-heading {
    font-size: 1.5em;
  }
  .page-contact__method-description {
    font-size: 0.95em;
  }
  .page-contact__form-container {
    padding: 30px;
  }
  .page-contact__form-label {
    font-size: 1em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 0.95em;
  }
  .page-contact__button--submit {
    padding: 15px;
    font-size: 1.1em;
  }

  /* Ensure all images within .page-contact are responsive and meet minimum size */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px; 
    min-height: 200px; 
  }
}