/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFFFFF; /* Assuming var(--dark-bg-1) is dark, text should be light */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-contact__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.page-contact__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* For responsiveness */
}

/* General Section Styles */
.page-contact__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #e0e0e0; /* Lighter text for descriptions on dark background */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Card Styles */
.page-contact__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a grid have equal height */
  box-sizing: border-box;
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-contact__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
  background-color: #1a8cc4; /* Slightly darker */
  border-color: #1a8cc4;
}

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

.page-contact__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* General Intro Section */
.page-contact__general-intro {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

/* Contact Methods Section */
.page-contact__contact-methods {
  padding: 80px 0;
  background-color: #1a1a1a; /* Consistent dark background */
}

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

.page-contact__method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-contact__method-icon {
  width: 150px; /* Display size */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px; /* Added for card image styling */
}

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

.page-contact__method-text {
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-contact__email-address a,
.page-contact__phone-number,
.page-contact__social-link {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-contact__email-address a:hover,
.page-contact__social-link:hover {
  text-decoration: underline;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap; /* For responsiveness */
}

/* Why Contact Section */
.page-contact__why-contact {
  padding: 80px 0;
  background-color: var(--dark-bg-1); /* Consistent dark background */
}

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

.page-contact__reason-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly darker card background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-contact__reason-image {
  width: 250px; /* Ensure images are not too small */
  height: 180px; /* Maintain aspect ratio or use object-fit */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-contact__reason-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-contact__reason-text {
  color: #e0e0e0;
  flex-grow: 1;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Consistent dark background */
}

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

.page-contact__faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

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

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

.page-contact__faq-title {
  font-size: 1.3em;
  color: #FFFFFF;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 2em;
  color: #26A9E0;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1; /* Adjust to center + / - */
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

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

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

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

.page-contact__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Responsible Gambling Section */
.page-contact__responsible-gambling {
  padding: 80px 0;
  background-color: var(--dark-bg-1); /* Darker background */
  text-align: center;
}

.page-contact__responsible-gambling .page-contact__section-title {
  color: #FFFFFF;
}

.page-contact__responsible-gambling .page-contact__section-description {
  color: #e0e0e0;
}

.page-contact__responsible-gambling-link {
  display: inline-block;
  margin-top: 30px;
}

/* Location Section */
.page-contact__location-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Consistent dark background */
}

.page-contact__location-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

.page-contact__address-card {
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  color: #e0e0e0;
}

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

.page-contact__map-placeholder {
  width: 100%;
  height: 400px; /* Fixed height for map placeholder */
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact__map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand color background */
  color: #FFFFFF;
  text-align: center;
}

.page-contact__cta-section .page-contact__section-title {
  color: #FFFFFF;
}

.page-contact__cta-section .page-contact__section-description {
  color: #f0f0f0;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap; /* For responsiveness */
}

.page-contact__cta-section .page-contact__btn-primary {
  background-color: #FFFFFF; /* White background for primary in CTA */
  color: #26A9E0; /* Brand color text */
  border: 2px solid #FFFFFF;
}

.page-contact__cta-section .page-contact__btn-primary:hover {
  background-color: #e0e0e0; /* Slightly darker white on hover */
  border-color: #e0e0e0;
}

.page-contact__cta-section .page-contact__btn-secondary {
  background-color: transparent; /* Transparent background for secondary in CTA */
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-contact__cta-section .page-contact__btn-secondary:hover {
  background-color: #FFFFFF; /* White background on hover */
  color: #26A9E0; /* Brand color text */
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-contact__location-info {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    height: 500px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 1em;
  }
  .page-contact__faq-title {
    font-size: 1.1em;
  }
  .page-contact__faq-question,
  .page-contact__faq-answer {
    padding: 15px 20px;
  }

  .page-contact__location-info {
    grid-template-columns: 1fr;
  }
  .page-contact__map-placeholder {
    height: 300px;
  }
  
  /* Mobile specific image adaptation */
  .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,
  .page-contact__method-card,
  .page-contact__reason-item,
  .page-contact__faq-item,
  .page-contact__location-info,
  .page-contact__address-card,
  .page-contact__map-placeholder,
  .page-contact__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Ensure hero section padding top is correct on mobile */
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* For multiple buttons in a row, ensure they stack or wrap */
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 10px;
  }
}