/* style/contact.css */
.page-contact {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-contact__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-contact__hero-title {
  color: #F2C14E;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-contact__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__section-title {
  color: #F2C14E;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

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

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  min-width: 180px;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #333333; /* For contrast on light gradient */
  border: none;
}

.page-contact__btn-primary:hover {
  filter: brightness(1.1);
}

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

.page-contact__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
}

.page-contact__btn-tertiary {
  background: #F2C14E;
  color: #000000; /* For contrast on brand color */
  border: none;
}

.page-contact__btn-tertiary:hover {
  filter: brightness(1.1);
}

.page-contact__ways-to-contact,
.page-contact__common-topics,
.page-contact__why-choose-us,
.page-contact__tips-section,
.page-contact__responsible-gaming-section,
.page-contact__faq-section {
  padding: 60px 0;
}

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

.page-contact__method-card {
  background-color: #111111;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
}

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

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

.page-contact__method-text {
  font-size: 0.95rem;
  margin-bottom: 25px;
  color: #FFF6D6;
}

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

.page-contact__topic-item {
  background-color: #111111;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__topic-title {
  color: #FFD36B;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-contact__topic-text {
  font-size: 0.9rem;
  color: #FFF6D6;
}

.page-contact__advantage-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
}

.page-contact__advantage-list li {
  background-color: #111111;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #F2C14E;
  border-radius: 8px;
  font-size: 1rem;
  color: #FFF6D6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__advantage-list li strong {
  color: #FFD36B;
}

.page-contact__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
}

.page-contact__tips-list li {
  background-color: #111111;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #F2C14E;
  border-radius: 8px;
  font-size: 1rem;
  color: #FFF6D6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__tips-list li strong {
  color: #FFD36B;
}

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

.page-contact__text-content {
  max-width: 700px;
  text-align: center;
}

.page-contact__text-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #FFF6D6;
}

.page-contact__image-wrapper {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__responsible-gaming-image {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Styles */
.page-contact__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__faq-item {
  background-color: #111111;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1A1A1A; /* Slightly darker for question header */
  color: #F2C14E;
  font-size: 1.1rem;
  font-weight: bold;
}

.page-contact__faq-question:hover {
  background-color: #222222;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to X, or use a minus sign */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6;
  font-size: 0.95rem;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-contact__faq-answer p {
  margin-bottom: 15px;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-contact__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    max-width: 90%;
  }
  .page-contact__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .page-contact__hero-image {
    height: 100%;
  }
  .page-contact__hero-section {
    min-height: 600px;
    padding-bottom: 40px;
    position: relative;
    justify-content: center;
  }
  .page-contact__hero-title,
  .page-contact__hero-description {
    color: #FFF6D6; /* Ensure text is visible on darkened hero image */
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
  }
  .page-contact__responsible-gaming-content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }
  .page-contact__text-content {
    text-align: left;
    max-width: 50%;
  }
  .page-contact__image-wrapper {
    max-width: 40%;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 15px;
  }
  
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-contact__hero-content {
    padding: 20px 15px;
    position: static;
    transform: none;
  }

  .page-contact__hero-image-wrapper {
    position: static;
    height: auto;
  }

  .page-contact__hero-image {
    height: auto;
  }

  .page-contact__section-title {
    font-size: 1.8rem;
    padding-top: 30px;
  }

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

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-contact__method-card,
  .page-contact__topic-item,
  .page-contact__advantage-list li,
  .page-contact__tips-list li,
  .page-contact__faq-item {
    padding: 20px;
  }
  
  .page-contact__method-icon {
    max-height: 150px;
  }

  .page-contact__responsible-gaming-content {
    flex-direction: column;
    text-align: center;
  }

  .page-contact__text-content {
    max-width: 100%;
  }

  .page-contact__image-wrapper {
    max-width: 100%;
  }

  /* Ensure all images are responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}