/* style/contact.css */

.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main from custom palette */
  background-color: #0A0A0A; /* Background from custom palette */
}

/* Fixed Header Spacing - applied to the first section */
.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Default for desktop, adjusted by shared.css media query */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px; /* Add padding below content */
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Placeholder gradient, actual image will cover */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Max height for the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-contact__hero-title {
  font-size: clamp(2em, 5vw, 3em); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFF6D6;
  line-height: 1.2;
}

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

/* General Container for Content Sections */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Primary color for titles */
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Base responsive for buttons */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

.page-contact__btn-primary:hover {
  transform: translateY(-3px);
  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 */
  margin: 0 10px;
}

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

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

.page-contact__channel-card {
  background-color: #111111; /* Card BG from custom palette */
  border: 1px solid #3A2A12; /* Border from custom palette */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-icon {
  width: 100%;
  max-width: 250px; /* Adjust size to be larger than 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__channel-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #F2C14E;
}

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

.page-contact__social-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.page-contact__social-text {
    color: #FFF6D6;
    font-size: 1em;
}

/* FAQ Section */
.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: #111111; /* Card BG from custom palette */
  border: 1px solid #3A2A12; /* Border from custom palette */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-q-text {
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important;
  padding: 20px !important;
}

.page-contact__faq-answer p {
  margin: 0;
  color: #FFF6D6;
}

.page-contact__faq-answer a {
  color: #FFD36B; /* Link color */
  text-decoration: underline;
}

.page-contact__faq-answer a:hover {
  text-decoration: none;
}

.page-contact__view-all-faq-btn {
  display: block;
  margin: 40px auto 0 auto;
  text-align: center;
  width: fit-content;
}

/* Responsible Gaming Section */
.page-contact__responsible-gaming-section {
  background-color: #111111; /* Card BG for this section */
  padding: 60px 0;
}

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

.page-contact__responsible-gaming-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__responsible-gaming-text {
  flex: 1;
}

.page-contact__responsible-gaming-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
}

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

/* --- Responsive Design --- */

/* Mobile images and containers */
@media (max-width: 768px) {
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__channels-section,
  .page-contact__faq-section,
  .page-contact__responsible-gaming-section,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Adjust padding-top for mobile hero section */
  .page-contact__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile: default 100px or from shared */
    padding-bottom: 30px;
  }

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

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

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

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

  .page-contact__responsible-gaming-image {
    max-width: 100%;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0; /* Remove horizontal margin for full width */
  }

  .page-contact__faq-q-text {
    font-size: 1em;
  }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }

  .page-contact__channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Specific override for image alt attributes to ensure contrast for links within text */
.page-contact__faq-answer a {
    color: #FFD36B; /* Specific color for links in answer text */
    text-decoration: underline;
}

.page-contact__faq-answer a:hover {
    color: #F2C14E;
    text-decoration: none;
}