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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD36B;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-contact__section {
  padding: 80px 20px;
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-contact__dark-section {
  background-color: #111111;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-contact__section-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF6D6;
}

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

.page-contact__card {
  background-color: #111111;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
  border: 1px solid #3A2A12;
}

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

.page-contact__card-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-contact__card-text {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #FFF6D6;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

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

.page-contact__cta-button {
  margin-top: 15px;
  margin-right: 10px;
  margin-left: 10px;
}

.page-contact__faq-list {
  margin-top: 50px;
}

.page-contact__faq-item {
  background-color: #111111;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #3A2A12;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  color: #FFD36B;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-question-text {
  margin: 0;
  color: #FFD36B;
}

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

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

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

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

.page-contact__responsible-gaming-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-contact__section {
    padding: 50px 15px;
  }

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

  .page-contact__section-intro {
    font-size: 0.95em;
  }

  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    margin: 10px 0 !important;
  }

  .page-contact__hero-content .page-contact__cta-button {
    margin-bottom: 10px;
  }

  .page-contact__faq-question,
  .page-contact__faq-answer {
    padding: 15px 20px;
  }

  /* Images and their containers */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__hero-content {
    padding-left: 0;
    padding-right: 0;
  }
  .page-contact__responsible-gaming .page-contact__btn-primary,
  .page-contact__responsible-gaming .page-contact__btn-secondary {
    margin-left: 0;
    margin-right: 0;
  }
}