/* style/contact.css */
/* 
  Page specific styles for the Contact Us page.
  All selectors must use BEM naming convention: .page-contact__element-name.
  No descendant selectors, global selectors, or !important.
  Styles are scoped to .page-contact.
  Fixed header offset is applied to the main content area.
  HERO image must be an <img> tag, not a background-image.
  All content images must be >= 200px.
  No CSS filters changing image colors.
  Ensure sufficient color contrast.
*/

/* Fixed header offset for main content */
.page-contact {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: var(--background-color, #FFFFFF); /* Body background is light, so use dark text */
  color: var(--text-color, #333333); 
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
  padding: 80px 0; /* Adjust padding as needed, header offset is already on .page-contact */
  text-align: center;
  background-color: var(--main-color, #000000); /* Dark background for hero */
  color: var(--secondary-color, #FFFFFF); /* White text on dark background */
}

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--secondary-color, #FFFFFF);
}

.page-contact__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--secondary-color, #FFFFFF);
}

.page-contact__hero-image {
  margin-bottom: 40px;
}

.page-contact__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min-size for images */
  min-height: 200px;
}

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

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

.page-contact__button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-contact__button--secondary {
  background-color: #000000; /* Main color for secondary action */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-contact__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-2px);
}

.page-contact__button--text {
  background: none;
  border: none;
  color: #FCBC45; /* Accent color for text links */
  padding: 0;
  text-decoration: underline;
  font-size: 1em;
  min-width: unset; /* Override min-width for text buttons */
}

.page-contact__button--text:hover {
  color: #e0a53b;
  text-decoration: none;
  transform: none;
}

/* General Section Styling */
.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--main-color, #000000);
  font-weight: bold;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-color, #333333);
}

.page-contact__section-text {
  font-size: 1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: var(--text-color, #333333);
}

.page-contact__section-text--small {
  font-size: 0.9em;
  margin-top: 20px;
}

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background for contrast */
}

.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: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__card-icon {
  width: 100%; /* Allows it to scale up to card width */
  max-width: 200px; /* Constrain its max size if card is wide */
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-size for images */
  min-height: 200px;
}

.page-contact__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--main-color, #000000);
  font-weight: bold;
}

.page-contact__card-description {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1; /* Ensures cards have consistent height */
  color: var(--text-color, #333333);
}

/* Feedback, Responsible Gaming, Partnership Sections */
.page-contact__feedback-section,
.page-contact__responsible-gaming-section,
.page-contact__partnership-section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__feedback-section {
  background-color: #FFFFFF;
}

.page-contact__responsible-gaming-section {
  background-color: #f2f2f2;
}

.page-contact__partnership-section {
  background-color: #FFFFFF;
}

/* Registration CTA Section */
.page-contact__registration-cta-section {
  background-color: var(--main-color, #000000); /* Dark background */
  padding: 80px 0;
  text-align: center;
  color: var(--secondary-color, #FFFFFF); /* White text */
}

.page-contact__registration-cta-section .page-contact__section-title,
.page-contact__registration-cta-section .page-contact__section-intro,
.page-contact__registration-cta-section .page-contact__section-text {
  color: var(--secondary-color, #FFFFFF);
}

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

/* Footer */
.page-contact__footer {
  padding: 40px 0;
  background-color: #1a1a1a;
  color: #cccccc;
  text-align: center;
  font-size: 0.9em;
}

.page-contact__copyright {
  margin: 0;
}

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

  .page-contact__hero-description,
  .page-contact__section-intro,
  .page-contact__section-text {
    font-size: 1em;
  }

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

  .page-contact__hero-cta,
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Content area images must not cause horizontal scrolling */
  .page-contact img {
    max-width: 100%;
    height: auto;
    /* Enforce min-size for images, but allow scaling down to fit */
    min-width: 200px; /* Still enforce minimum size even on mobile */
    min-height: 200px;
  }
  
  /* Specific rule for card icons to ensure they scale down correctly */
  .page-contact__card-icon {
    width: 100%; /* Allows it to scale up to card width */
    max-width: 200px; /* Constrain its max size if card is wide */
    height: auto;
    min-width: 200px; /* Still enforce minimum size */
    min-height: 200px;
  }
}

/* Ensure content area images are never smaller than 200px */
.page-contact img {
  min-width: 200px;
  min-height: 200px;
}
.page-contact__card-icon {
    /* Specific override for card icons to ensure they are at least 200x200 */
    min-width: 200px;
    min-height: 200px;
}