/* style/contact.css */
.page-contact {
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Body background from shared.css */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

.page-contact__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  min-height: 500px; /* Ensure hero section has a decent height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image slightly for text readability */
  z-index: 0;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
  margin: 0 auto;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Auxiliary gold color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
  font-weight: 700;
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A1931; /* Dark blue text */\  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-contact__info-section {
  padding: 60px 20px;
  background-color: #0A1931; /* Primary dark blue background */
}

.page-contact__info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__method-icon {
  width: 250px; /* Minimum 200px */
  height: 167px; /* Proportionally scaled from 600x400 */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-contact__method-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
  background-color: #e6c200;
}

.page-contact__faq-link-area, 
.page-contact__responsible-gaming-area, 
.page-contact__feedback-section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-contact__faq-title, 
.page-contact__responsible-gaming-title, 
.page-contact__feedback-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__faq-description, 
.page-contact__responsible-gaming-description, 
.page-contact__feedback-description, 
.page-contact__feedback-closing {
  font-size: 1.05em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-contact__faq-button, 
.page-contact__responsible-gaming-button {
  display: inline-block;
  background-color: #0A1931;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 15px;
  min-width: 200px;
}

.page-contact__faq-button:hover, 
.page-contact__responsible-gaming-button:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-contact__cta-banner {
  position: relative;
  margin-top: 60px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact__cta-banner-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  filter: brightness(0.6);
  z-index: 0;
}

.page-contact__cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  margin: 0 auto;
}

.page-contact__cta-banner-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-contact__cta-banner-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-contact__cta-banner-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.page-contact__cta-banner-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2.2em;
  }
  .page-contact__cta-banner-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }
  .page-contact__hero-content {
    padding: 15px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__info-section {
    padding: 40px 15px;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__section-intro {
    font-size: 1em;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 200px; /* Ensure minimum size */
    height: 133px; /* Proportionally scaled from 600x400 */
  }
  .page-contact__method-title {
    font-size: 1.6em;
  }
  .page-contact__method-description {
    font-size: 0.95em;
  }
  .page-contact__faq-link-area, 
  .page-contact__responsible-gaming-area, 
.page-contact__feedback-section {
    padding: 30px;
  }
  .page-contact__faq-title, 
  .page-contact__responsible-gaming-title, 
  .page-contact__feedback-title {
    font-size: 1.8em;
  }
  .page-contact__faq-description, 
  .page-contact__responsible-gaming-description, 
  .page-contact__feedback-description, 
  .page-contact__feedback-closing {
    font-size: 0.95em;
  }
  .page-contact__cta-banner-content {
    max-width: 90%;
    padding: 15px;
  }
  .page-contact__cta-banner-title {
    font-size: 2em;
  }
  .page-contact__cta-banner-text {
    font-size: 1em;
  }
  .page-contact__cta-banner-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  /* Mobile Overflow Prevention */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__method-title {
    font-size: 1.4em;
  }
  .page-contact__cta-banner-title {
    font-size: 1.8em;
  }
  .page-contact__cta-banner-text {
    font-size: 0.9em;
  }
  .page-contact__cta-banner-button {
    padding: 10px 20px;
    font-size: 1em;
  }
}