/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top spacing, body handles main offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0A0A0A 0%, #111111 100%); /* Darker gradient for background */
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 800px;
  margin-top: 30px;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 20px;
  color: #FFF6D6;
  line-height: 1.2;
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

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

.page-contact__info-section,
.page-contact__form-section,
.page-contact__social-section,
.page-contact__faq-section,
.page-contact__about-jl7-section,
.page-contact__responsible-gaming-section,
.page-contact__cta-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

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

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

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

.page-contact__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-contact__card-email,
.page-contact__card-phone,
.page-contact__card-hours {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-contact__link {
  color: #FFD36B; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__link:hover {
  color: #F2C14E; /* Main color */
  text-decoration: underline;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #333333; /* Dark text for contrast on light gradient */
  border: 2px solid transparent;
}

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

.page-contact__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color border */
}

.page-contact__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111; /* Card BG for contrast */
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #3A2A12; /* Border */
  border-radius: 5px;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
  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__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-contact__social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #F2C14E; /* Main color */
  transition: background-color 0.3s ease;
}

.page-contact__social-icon img {
  
  
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Make icons white */
}

.page-contact__social-icon:hover {
  background-color: #FFD36B; /* Glow */
}

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

.page-contact__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  color: #FFF6D6;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-title {
  margin: 0;
  color: #FFF6D6;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFD36B; /* Glow */
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-contact__faq-answer p {
  margin: 0;
  color: #FFF6D6;
}

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

.page-contact__feature-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

.page-contact__feature-icon {
  width: 200px; /* Min size */
  height: 200px; /* Min size */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__feature-text {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-contact__call-to-action-text {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 40px;
  color: #FFF6D6;
}

.page-contact__cta-content {
  text-align: center;
  padding: 40px 15px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-contact__hero-image-wrapper {
    max-height: 500px;
  }
  .page-contact__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-contact__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
    padding-bottom: 40px;
  }
  .page-contact__hero-image-wrapper {
    max-height: 400px;
  }
  .page-contact__hero-content {
    margin-top: 20px;
  }
  .page-contact__main-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  .page-contact__hero-description {
    font-size: 1rem;
  }
  .page-contact__section-title {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
  }
  .page-contact__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__social-section,
  .page-contact__faq-section,
  .page-contact__about-jl7-section,
  .page-contact__responsible-gaming-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact__card {
    padding: 25px;
  }
  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__social-icon {
    width: 45px;
    height: 45px;
  }
  .page-contact__social-icon img {
    
    
  }
  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px 20px 20px;
  }
  .page-contact__features {
    grid-template-columns: 1fr;
  }
  .page-contact__feature-icon {
    width: 180px;
    height: 180px;
  }
  .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__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }
  .page-contact__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  .page-contact__card-title {
    font-size: 1.5rem;
  }
  .page-contact__feature-title {
    font-size: 1.3rem;
  }
  .page-contact__feature-icon {
    width: 150px;
    height: 150px;
  }
  .page-contact__hero-image-wrapper {
    max-height: 300px;
  }
}