/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  color: #FFF6D6; /* Text Main color for dark body background */
  background-color: #0A0A0A; /* Matches body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1600px;
  margin-bottom: 30px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Primary color for main title */
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

/* General Section Styling */
.page-contact__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

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

/* Reach Us Section */
.page-contact__reach-us-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-contact__contact-method {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-contact__method-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
}

.page-contact__method-title {
  font-size: 1.6em;
  color: #FFD36B; /* Glow color for method titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-contact__email-address {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 25px;
  font-weight: bold;
  word-break: break-all;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Primary color for border */
}

.page-contact__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-contact__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.page-contact__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.1);
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: rgba(17, 17, 17, 0.8);
}

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

.page-contact__faq-answer p {
  margin-bottom: 1em;
  font-size: 0.95em;
}

.page-contact__faq-answer a {
  color: #F2C14E; /* Primary color for links */
  text-decoration: underline;
}

.page-contact__faq-answer a:hover {
  color: #FFD36B;
}

/* Responsible Gaming Section */
.page-contact__responsible-gaming-section {
  background-color: #0A0A0A;
  padding: 60px 0;
  text-align: center;
}

/* Feedback Section */
.page-contact__feedback-section {
  background-color: #0A0A0A;
  padding: 60px 0 80px 0;
  text-align: center;
}

/* Links within text */
.page-contact p a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-contact p a:hover {
  color: #FFD36B;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-section {
    padding: 40px 15px;
  }

  .page-contact__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-contact__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

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

  .page-contact__contact-method {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 20px 10px;
  }

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

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

  .page-contact__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-contact__section-description {
    padding: 0 10px;
  }

  .page-contact__container {
    padding: 20px 15px;
  }

  /* Mobile image adaptation */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Mobile button adaptation */
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
  }

  .page-contact__contact-method .page-contact__btn-primary,
  .page-contact__contact-method .page-contact__btn-secondary {
    margin-left: auto;
    margin-right: auto;
  }

  .page-contact__contact-method {
    padding: 20px;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-contact__faq-answer {
    padding: 0 20px;
  }

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-contact__faq-list {
    padding: 0 15px;
  }

  .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__hero-section {
    padding-top: 10px !important; /* Small top padding for hero on mobile */
  }

  .page-contact__reach-us-section,
  .page-contact__faq-section,
  .page-contact__responsible-gaming-section,
  .page-contact__feedback-section {
    padding: 40px 0;
  }
}