/* style/contact.css */
/* Body padding-top is handled by shared.css via var(--header-offset) */

/* General styles for the page-contact scope */
.page-contact {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-contact__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold for titles */
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
  line-height: 1.2;
}

.page-contact__text-block {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Secondary text color */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small decorative top padding */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure no overflow from images */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it doesn't overflow */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__main-title {
  font-weight: 700;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-contact__description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Main text color */
  margin-right: 15px;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green from gradient */
  border: 2px solid #2AD16F;
}

.page-contact__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
}

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

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

.page-contact__method-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Custom Border */
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
}

.page-contact__method-icon {
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  width: 100%; /* Allow it to scale up to card width */
  max-width: 250px; /* Max size within card */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__method-title {
  font-size: 1.8rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
}

.page-contact__email-link,
.page-contact__phone-link {
  color: #2AD16F;
  text-decoration: none;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
  text-decoration: underline;
}

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

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

.page-contact__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-contact__faq-question:hover {
  background-color: #1E3A2A; /* Divider color for hover */
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2AD16F;
  margin-left: 20px;
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

.page-contact__faq-answer p {
  margin-bottom: 15px;
  color: #A7D9B8; /* Secondary text color */
}

.page-contact__faq-link {
  color: #2AD16F;
  text-decoration: none;
}

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

/* Responsible Gaming Section */
.page-contact__responsible-gaming {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__responsible-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 900px;
}

.page-contact__responsible-list li {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-contact__responsible-item-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-contact__responsible-list p {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 15px;
  }

  .page-contact__section-title {
    font-size: 1.8rem;
    margin-top: 40px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem); /* Adjust clamp for H1 on smaller screens */
  }

  .page-contact__description {
    font-size: 1rem;
  }

  /* Images responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsiveness - assuming no video for this page, but if it existed */
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-contact__video-section {
    padding-top: 10px !important; /* Small decorative top padding */
  }

  /* Buttons responsiveness */
  .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-right: 0 !important; /* Remove margin for stacked buttons */
  }

  .page-contact__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
  }
  
  .page-contact__method-grid {
    grid-template-columns: 1fr; /* Stack method cards */
    padding: 0 15px;
  }

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  
  .page-contact__faq-answer {
    padding: 0 20px 15px;
  }

  .page-contact__responsible-list li {
    padding: 20px;
  }
  
  /* General container padding for mobile */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__contact-methods,
  .page-contact__faq-section,
  .page-contact__responsible-gaming,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure no filter is used on images */
.page-contact img {
  filter: none; /* Explicitly disable any potential filter */
}

/* Content area images CSS size lower bound */
/* The method icons are already handled with min-width/height 200px */
.page-contact__hero-image {
  min-width: 200px;
  min-height: 200px;
}