/* style/contact.css */

.page-contact {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* 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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

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

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

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

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #F2C14E; /* Main color for emphasis */
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-contact__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

.page-contact__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__contact-methods {
  padding: 80px 0;
}

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

.page-contact__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B;
}

.page-contact__method-icon {
  width: 200px; /* Min image size */
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

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

.page-contact__method-description {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

.page-contact__email-address, .page-contact__phone-number {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  margin-top: 20px;
}

.page-contact__form-section {
  padding: 80px 0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 40px;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 246, 214, 0.7);
}

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

.page-contact__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for contrast on bright button */
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background-color: transparent;
  border: 2px solid #F2C14E; /* Main color as border */
  color: #F2C14E; /* Main color for text */
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A; /* Dark text on hover */
}

.page-contact__faq-section {
  padding: 80px 0;
}

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

.page-contact__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  color: #FFF6D6; /* Text Main */
}

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

.page-contact__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-contact__faq-q-title {
  font-size: 1.2rem;
  color: #FFD36B; /* Glow color */
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #111111; /* Card BG */
  border-left: 1px solid #3A2A12;
  border-right: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  color: #FFF6D6; /* Text Main */
}

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

.page-contact__why-choose-us {
  padding: 80px 0;
}

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

.page-contact__feature-item {
  text-align: left;
}

.page-contact__feature-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
}

.page-contact__feature-description {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
}

.page-contact__social-media-section {
  padding: 80px 0;
  text-align: center;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-contact__social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #FFF6D6; /* Text Main */
  font-size: 1rem;
  transition: color 0.3s ease;
}

.page-contact__social-icon-link:hover {
  color: #F2C14E; /* Main color on hover */
}

.page-contact__social-icon {
  width: 60px; /* Allowed small icon size for social media */
  height: 60px; /* Allowed small icon size for social media */
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover .page-contact__social-icon {
  transform: scale(1.1);
}

.page-contact__follow-cta {
  margin-top: 20px;
}

.page-contact__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  }
  .page-contact__section-title {
    font-size: 2.2rem;
  }
}

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

  .page-contact__hero-section,
  .page-contact__contact-methods,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__why-choose-us,
  .page-contact__social-media-section,
  .page-contact__responsible-gaming-section {
    padding: 40px 0;
  }

  .page-contact__container,
  .page-contact__card,
  .page-contact__contact-form,
  .page-contact__faq-item,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-image,
  .page-contact__method-icon,
  .page-contact__social-icon,
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .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;
  }

  .page-contact__method-grid,
  .page-contact__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 15px 20px;
  }

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

  .page-contact__social-icon-link {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
  }

  .page-contact__social-icon {
    width: 48px; /* Slightly smaller for mobile */
    height: 48px;
  }

  .page-contact__main-title {
    font-size: 2rem;
  }

  .page-contact__section-title {
    font-size: 1.8rem;
  }

  .page-contact__method-title,
  .page-contact__feature-title {
    font-size: 1.3rem;
  }

  .page-contact__intro-text,
  .page-contact__section-description,
  .page-contact__method-description,
  .page-contact__feature-description,
  .page-contact__email-address,
  .page-contact__phone-number,
  .page-contact__form-label,
  .page-contact__faq-q-title {
    font-size: 0.95rem;
  }
}