/* style/contact.css */

/* Base styles for the contact page content */
.page-contact {
  background-color: #0A0A0A; /* Matches body background from shared.css */
  color: #FFF6D6; /* Main text color for dark 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;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px; /* Small top padding, more bottom padding */
  min-height: 500px;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Brand primary color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__card-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  text-align: center;
}

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

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

.page-contact__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Brand primary color for text */
  border: 2px solid #F2C14E;
}

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

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

.page-contact__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

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

/* Contact Methods Section */
.page-contact__contact-methods-section {
  padding-bottom: 60px;
}

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

.page-contact__card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px; /* Ensure cards have similar height */
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-contact__card-title {
  font-size: 1.7rem;
  color: #FFD36B; /* Auxiliary color for card titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow text to take available space */
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.page-contact__social-icon-link {
    display: block;
    width: 48px; /* Larger clickable area */
    height: 48px;
    background-color: #3A2A12; /* Border color for background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon-link:hover {
    background-color: #F2C14E;
}

.page-contact__social-icon-link img {
     /* Actual icon size */
    
    object-fit: contain;
    /* No filter for color change */
}


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

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

.page-contact__faq-item {
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  border-bottom: 1px solid #3A2A12; /* Border */
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-title {
  font-size: 1.2rem;
  color: #FFD36B;
  margin: 0;
  font-weight: 600;
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  color: #F2C14E;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Plus to Minus visual effect */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  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; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-contact__faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: #FFF6D6;
}

.page-contact__cta-buttons--center {
    margin-top: 40px;
    justify-content: center;
}

/* Feedback Section */
.page-contact__feedback-section {
    padding-bottom: 60px;
}

.page-contact__feedback-form {
    max-width: 700px;
    margin: 40px auto 0;
    background-color: #111111; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__form-group {
    margin-bottom: 25px;
}

.page-contact__form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #FFD36B; /* Auxiliary color */
    font-weight: 500;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    background-color: #0A0A0A; /* Background color */
    color: #FFF6D6; /* Text Main */
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #888;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #F2C14E;
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.3);
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

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

.page-contact__responsible-gaming-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-contact__responsible-gaming-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__responsible-gaming-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    /* No filter for color change */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__responsible-gaming-container {
        flex-direction: column;
        text-align: center;
    }
    .page-contact__responsible-gaming-content,
    .page-contact__responsible-gaming-image-wrapper {
        flex: none;
        width: 100%;
    }
    .page-contact__responsible-gaming-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
  /* General mobile padding */
  .page-contact__container {
    padding: 30px 15px;
  }

  /* Hero Section */
  .page-contact__hero-section {
    padding: 10px 15px 40px;
    min-height: 400px;
  }
  .page-contact__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .page-contact__hero-description {
    font-size: 1rem;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%; /* Ensure button group takes full width */
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__card-button {
    width: 100% !important; /* Force full width */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Section Titles & Descriptions */
  .page-contact__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-contact__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  /* Method Cards */
  .page-contact__method-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__card {
    padding: 25px;
    min-height: auto;
  }
  .page-contact__card-title {
    font-size: 1.5rem;
  }
  .page-contact__card-text {
    font-size: 0.9rem;
  }

  /* FAQ Section */
  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-title {
    font-size: 1.1rem;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Feedback Form */
  .page-contact__feedback-form {
    padding: 30px 20px;
  }
  .page-contact__form-label {
    font-size: 1rem;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 0.95rem;
  }

  /* Responsible Gaming Section */
  .page-contact__responsible-gaming-section {
      padding-top: 40px;
      padding-bottom: 60px;
  }
  .page-contact__responsible-gaming-image {
      max-width: 100%;
  }

  /* Universal image responsiveness for mobile */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__feedback-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by specific sections like .page-contact__container */
  }

  /* ⚠️ Video area: body already handles --header-offset; this is for additional top margin */
  .page-contact__hero-section { /* Using hero section as first content block */
    padding-top: 10px !important;
  }
}

/* Ensure no filter is used on images */
.page-contact img {
  filter: none !important;
}

/* Fixed footer spacing handled by shared.css body padding-top. No need to add here. */