/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text on light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-contact__hero-section {
  background-color: #f8f8f8;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

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

.page-contact__button--small {
  padding: 10px 20px;
  font-size: 1em;
  min-width: unset;
}

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

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

.page-contact__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__methods-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-contact__method-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  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(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-contact__method-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-contact__why-us-section {
  background-color: #f0f0f0;
  padding: 80px 0;
}

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

.page-contact__why-us-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__why-us-icon {
  width: 250px; /* Min size 200px */
  height: 200px; /* Min size 200px */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-contact__why-us-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__why-us-text {
  color: #666666;
}

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

.page-contact__responsible-gaming-section .page-contact__section-title {
  margin-bottom: 20px;
}

.page-contact__responsible-gaming-section .page-contact__section-description {
  margin-bottom: 40px;
}

.page-contact__cta-section {
  background-color: #f8f8f8;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__cta-section .page-contact__container {
  position: relative;
  z-index: 1;
}

.page-contact__cta-section .page-contact__section-title {
  margin-bottom: 20px;
}

.page-contact__cta-section .page-contact__section-description {
  margin-bottom: 40px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__why-us-section,
  .page-contact__responsible-gaming-section,
  .page-contact__cta-section {
    padding: 60px 0;
  }

  .page-contact__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-contact__button {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-contact__method-title,
  .page-contact__why-us-heading {
    font-size: 1.5em;
  }

  /* Ensure images in content area are responsive and don't overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__hero-buttons .page-contact__button,
  .page-contact__cta-buttons .page-contact__button {
    width: 90%;
  }
  .page-contact__method-icon,
  .page-contact__why-us-icon {
    width: 200px; /* Minimum size */
    height: 150px; /* Adjusted height for smaller screens, maintaining aspect ratio */
  }
  .page-contact__method-card, .page-contact__why-us-item {
    padding: 20px;
  }
}