/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #121212, so text should be light */
  background-color: transparent; /* Inherit from body */
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  text-align: center;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-contact__hero-content {
  max-width: 900px;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
}

.page-contact__hero-description,
.page-contact__text-block {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-contact__section-subtitle {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-contact__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
}

.page-contact__section-description {
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 25px;
  color: #e0e0e0;
}

/* Dark section styling */
.page-contact__dark-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark body */
  padding: 60px 0;
  color: #ffffff;
}

/* Contact Channels Section */
.page-contact__channels-section {
  padding: 60px 0;
}

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

.page-contact__channel-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have similar height */
  color: #ffffff;
}

.page-contact__channel-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-height: 200px; /* Enforce min image size */
  min-width: 200px;
}

.page-contact__channel-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__channel-description,
.page-contact__email-address,
.page-contact__phone-number,
.page-contact__working-hours,
.page-contact__social-link {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 10px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-top: auto; /* Push button to bottom of card */
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-contact__btn-primary:hover {
  background-color: #1a7fb8;
  border-color: #1a7fb8;
}

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

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

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

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter transparent background */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15rem;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-contact__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #ffffff;
}

.page-contact__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #e0e0e0;
}

/* For details tag, hide default marker */
.page-contact__faq-item summary::-webkit-details-marker,
.page-contact__faq-item summary::marker {
  display: none;
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
  font-size: 1.05rem;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5); /* Darker input background */
  color: #ffffff;
  font-size: 1rem;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
}

/* Responsible Gambling Section */
.page-contact__responsible-gambling-section {
  padding: 60px 0;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.03);
}

/* 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 adjustments */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-contact__section-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }
  .page-contact__channel-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-section,
  .page-contact__channels-section,
  .page-contact__faq-section,
  .page-contact__feedback-section,
  .page-contact__responsible-gambling-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }

  .page-contact__hero-description,
  .page-contact__text-block,
  .page-contact__section-description,
  .page-contact__channel-description,
  .page-contact__email-address,
  .page-contact__phone-number,
  .page-contact__working-hours,
  .page-contact__social-link,
  .page-contact__form-label,
  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__faq-answer p {
    font-size: 0.95rem;
  }

  .page-contact__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-contact__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

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

  .page-contact__channel-icon {
    max-width: 200px;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure all images are responsive */
  .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__hero-image-wrapper,
  .page-contact__channel-card,
  .page-contact__contact-form,
  .page-contact__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ items */
  .page-contact__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-contact__faq-toggle {
    font-size: 1.3rem;
  }
  .page-contact__faq-answer {
    padding: 0 15px 15px;
  }
}