/* style/contact.css */

/* Base styles for the contact page content */
.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

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

.page-contact__section-title {
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-contact__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-contact__sub-title {
  font-size: 1.8rem;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-contact__text {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 15px;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding-bottom: 0; /* No padding at the bottom, image handles height */
}

.page-contact__hero-image {
  width: 100%;
  height: 675px; /* Fixed height for desktop hero */
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-contact__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 675px; /* Ensure container matches image height */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  max-width: 900px;
}

.page-contact__hero-title {
  font-size: 3.5rem;
  color: #FCBC45;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

/* Buttons */
.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1rem;
}

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

.page-contact__button--primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

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

.page-contact__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-contact__button--tertiary {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #000000;
}

.page-contact__button--tertiary:hover {
  background-color: #222222;
  border-color: #222222;
}

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.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;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
  width: 200px; /* Ensure min 200px display size */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-contact__email-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__email-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
}

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

.page-contact__faq-category {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-category-title {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-contact__faq-list {
  list-style: none;
  padding: 0;
}

.page-contact__faq-list li {
  margin-bottom: 12px;
}

.page-contact__faq-link {
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.page-contact__faq-link:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-contact__more-faq-action {
  text-align: center;
  margin-top: 60px;
}

.page-contact__more-faq-text {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 25px;
}

/* Why Us Section */
.page-contact__why-us-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-contact__why-us-section .page-contact__section-title,
.page-contact__why-us-section .page-contact__section-description {
  color: #FFFFFF;
}

.page-contact__why-us-section .page-contact__section-title::after {
  background-color: #FCBC45;
}

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

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

.page-contact__why-us-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__why-us-icon {
  width: 200px; /* Ensure min 200px display size */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__why-us-title {
  font-size: 1.6rem;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-contact__why-us-text {
  font-size: 1rem;
  color: #cccccc;
}

.page-contact__why-us-text a {
  color: #FCBC45;
  text-decoration: none;
}

.page-contact__why-us-text a:hover {
  text-decoration: underline;
}

.page-contact__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.page-contact__cta-block--alt {
  background-color: #f9f9f9;
  color: #333333;
}

.page-contact__cta-block--alt .page-contact__cta-text {
  color: #333333;
}

.page-contact__cta-text {
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 25px;
  font-weight: bold;
}

/* Responsible Gaming Section */
.page-contact__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-contact__responsible-gaming-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-contact__responsible-gaming-text {
  flex: 2;
  min-width: 300px;
}

.page-contact__responsible-gaming-image {
  flex: 1;
  min-width: 200px; /* Ensure min 200px display size */
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Global Presence Section */
.page-contact__global-presence-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-contact__global-presence-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3rem;
  }
  .page-contact__hero-image {
    height: 550px;
  }
  .page-contact__hero-container {
    min-height: 550px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.2rem;
  }
  .page-contact__hero-description {
    font-size: 1rem;
  }
  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button {
    width: 100%;
    max-width: 300px;
  }
  .page-contact__section-title {
    font-size: 2rem;
  }
  .page-contact__section-description {
    font-size: 1rem;
  }
  .page-contact__methods-grid,
  .page-contact__faq-grid,
  .page-contact__why-us-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__responsible-gaming-content {
    flex-direction: column;
  }
  .page-contact__responsible-gaming-image {
    order: -1; /* Image appears before text on mobile */
    max-width: 100%;
    height: auto;
  }
  /* Ensure all content images are responsive and do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__method-icon,
  .page-contact__why-us-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
  }
  .page-contact__hero-image {
    height: 450px;
  }
  .page-contact__hero-container {
    min-height: 450px;
  }
  .page-contact__hero-content {
    padding: 20px 15px;
  }
  .page-contact__button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8rem;
  }
  .page-contact__hero-description {
    font-size: 0.9rem;
  }
  .page-contact__section-title {
    font-size: 1.8rem;
  }
  .page-contact__hero-image {
    height: 350px;
  }
  .page-contact__hero-container {
    min-height: 350px;
  }
}