/* style/contact.css */
:root {
  --primary-color: #1A202C; /* Deep dark tone */
  --secondary-color: #FFD700; /* Gold/Yellow accent */
  --text-light: #F0F2F5; /* Light gray for text on dark bg */
  --text-dark: #1A202C; /* Dark text on light bg */
  --background-dark: #12161E; /* Even darker background */
  --background-light: #FFFFFF; /* White background */
  --card-bg: #2A313C; /* Slightly lighter dark for cards */
  --border-color: #3C475B; /* Subtle border for dark elements */
}

.page-contact {
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--background-dark);
  line-height: 1.6;
}

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

.page-contact h1, .page-contact h2, .page-contact h3 {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.page-contact h1 {
  font-size: 3.2em;
  text-align: center;
  line-height: 1.2;
  color: var(--text-light); /* H1 in hero section can be light text for contrast */
}

.page-contact h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.page-contact h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-contact p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-contact a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact a:hover {
  color: #FFEA00;
  text-decoration: underline;
}

/* Buttons */
.page-contact .cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  margin-right: 15px;
}

.page-contact .cta-button:hover {
  background-color: #FFEA00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-contact .cta-button.small-button {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 10px;
}

/* Contact Hero Section */
.page-contact .contact-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.page-contact .contact-hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-contact .contact-hero-section .hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-contact .contact-hero-section .hero-content p {
  font-size: 1.2em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 30px 0;
}

.page-contact .contact-hero-section .hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact .contact-hero-section .hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Contact Channels Section */
.page-contact .contact-channels-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-contact .channel-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 320px; /* Ensure cards have similar height */
}

.page-contact .channel-card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-contact .channel-card p {
  font-size: 1em;
  color: var(--text-light);
  flex-grow: 1;
}

.page-contact .channel-icon {
  width: 150px; /* Increased size for content image, not icon */
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-contact .channel-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.95em;
  margin-top: 20px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .channel-button:hover {
  background-color: #FFEA00;
  transform: translateY(-2px);
}

.page-contact .contact-info {
  font-weight: bold;
  margin-top: 10px;
}

.page-contact .contact-info a {
  color: var(--text-light);
  text-decoration: none;
}

.page-contact .contact-info a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Why Contact Section */
.page-contact .why-contact-section {
  padding: 60px 0;
  background-color: var(--primary-color);
}

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

.page-contact .why-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact .why-item h3 {
  color: var(--secondary-color);
  font-size: 1.7em;
  margin-bottom: 10px;
}

.page-contact .why-item p {
  font-size: 1.05em;
}

/* FAQ Section */
.page-contact .faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-contact .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-contact .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact .faq-question:hover {
  background: #3A4352;
}

.page-contact .faq-question h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.3em;
  flex-grow: 1;
}

.page-contact .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-contact .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-contact .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #202730;
  color: var(--text-light);
}

.page-contact .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 25px;
  border-top: 1px solid var(--border-color);
}

.page-contact .faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
}

/* Responsible Gambling Section */
.page-contact .responsible-gambling-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  text-align: center;
}

.page-contact .responsible-gambling-section p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

/* Feedback Section */
.page-contact .feedback-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  text-align: center;
}

.page-contact .feedback-section p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact h1 {
    font-size: 2.8em;
  }
  .page-contact h2 {
    font-size: 2em;
  }
  .page-contact h3 {
    font-size: 1.5em;
  }
  .page-contact .contact-hero-section .container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-contact .contact-hero-section .hero-content {
    text-align: center;
  }
  .page-contact .contact-hero-section .hero-content p {
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 768px) {
  .page-contact h1 {
    font-size: 2.2em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.3em;
  }
  .page-contact p {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-right: 10px;
    margin-top: 15px;
  }
  .page-contact .channel-card {
    padding: 20px;
    min-height: auto;
  }
  .page-contact .channel-icon {
    width: 100px;
    height: 100px;
  }
  .page-contact .faq-question {
    padding: 15px 20px;
  }
  .page-contact .faq-question h3 {
    font-size: 1.1em;
  }
  .page-contact .faq-toggle {
    font-size: 20px;
  }
  .page-contact .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-contact h1 {
    font-size: 1.8em;
  }
  .page-contact h2 {
    font-size: 1.6em;
  }
  .page-contact h3 {
    font-size: 1.2em;
  }
  .page-contact .cta-button {
    display: block;
    width: fit-content;
    margin: 15px auto 0 auto;
  }
  .page-contact .contact-hero-section .hero-content p {
    font-size: 1em;
  }
  .page-contact .channels-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .why-contact-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .faq-question {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
  }
  .page-contact .faq-question h3 {
    margin-bottom: 8px;
  }
  .page-contact .faq-toggle {
    align-self: flex-end;
    margin-top: -30px;
  }
  .page-contact .faq-answer {
    padding: 15px;
  }
}