/* style/payment-methods.css */

/* Base Styles */
.page-payment-methods {
  color: #f0f0f0; /* Light text for dark backgrounds */
  background-color: #1a1a1a; /* Dark background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly dim the background image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  padding: 40px;
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-payment-methods__hero-button:hover {
  background-color: #8B0000; /* Deep red on hover */
  color: #FFD700; /* Gold text on hover */
  border-color: #8B0000;
}

/* Section Titles and Text */
.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold title */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify;
}

/* Methods Grid */
.page-payment-methods__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-payment-methods__method-card {
  background-color: #2a2a2a; /* Darker card background */
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensure images are not small */
  height: 200px; /* Minimum height for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 1em;
  color: #c0c0c0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__method-details-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: #e0e0e0;
}

.page-payment-methods__method-details-list li {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #444;
  padding-bottom: 5px;
}

.page-payment-methods__detail-label {
  color: #FFD700;
  font-weight: normal;
}

.page-payment-methods__method-button {
  display: inline-block;
  background-color: #8B0000; /* Deep red button */
  color: #FFD700; /* Gold text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #8B0000;
  margin-top: 15px;
}

.page-payment-methods__method-button:hover {
  background-color: #FFD700; /* Gold on hover */
  color: #8B0000; /* Deep red text on hover */
  border-color: #FFD700;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: #1a1a1a;
  padding-bottom: 60px;
}

.page-payment-methods__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #FFD700; /* Gold question */
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  display: block; /* Ensure answer is visible by default or controlled by JS */
}

/* Tutorial Section */
.page-payment-methods__tutorial-section {
  background-color: #1a1a1a;
  padding-bottom: 80px;
  text-align: center;
}

.page-payment-methods__tutorial-card {
  background-color: #2a2a2a;
  border: 1px solid #8B0000;
  border-radius: 10px;
  padding: 30px;
  margin: 30px auto;
  max-width: 700px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__tutorial-title {
  font-size: 2em;
  margin-bottom: 15px;
}

.page-payment-methods__tutorial-title a {
  color: #FFD700; /* Gold link */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__tutorial-title a:hover {
  color: #ffffff;
}

.page-payment-methods__tutorial-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-payment-methods__tutorial-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-payment-methods__tutorial-button:hover {
  background-color: #8B0000; /* Deep red on hover */
  color: #FFD700; /* Gold text on hover */
  border-color: #8B0000;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #8B0000; /* Deep red CTA button */
  color: #FFD700; /* Gold text */
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #8B0000;
}

.page-payment-methods__cta-button:hover {
  background-color: #FFD700; /* Gold on hover */
  color: #8B0000; /* Deep red text on hover */
  transform: translateY(-3px);
  border-color: #FFD700;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }

  .page-payment-methods__hero-description {
    font-size: 1em;
  }

  .page-payment-methods__section-title {
    font-size: 2em;
  }

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

  .page-payment-methods__method-card {
    padding: 20px;
  }

  .page-payment-methods__method-icon {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not small on mobile */
  }

  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }

  .page-payment-methods__tutorial-card {
    margin: 20px 10px;
    padding: 20px;
  }

  .page-payment-methods__tutorial-title {
    font-size: 1.5em;
  }

  .page-payment-methods__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure content area images do not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__hero-content {
    padding: 20px;
  }
}