/* style/payment-methods.css */

/* Base styles for the page content, considering body background is #000000 */
.page-payment-methods {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Main content background is transparent to show body background */
}

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

.page-payment-methods__section-title {
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-payment-methods__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* Links within content */
.page-payment-methods p a,
.page-payment-methods li a,
.page-payment-methods__faq-answer a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
}

.page-payment-methods p a:hover,
.page-payment-methods li a:hover,
.page-payment-methods__faq-answer a:hover {
  color: #1a7bb0;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-payment-methods__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

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

.page-payment-methods__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
  max-width: 100%; /* For responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-payment-methods__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-primary:hover {
  background-color: #1a7bb0;
  border-color: #1a7bb0;
}

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

.page-payment-methods__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Section specific backgrounds and colors for contrast */
.page-payment-methods__dark-bg {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for sections */
  color: #ffffff;
  padding: 80px 0;
}

.page-payment-methods__light-bg {
  background-color: #0d0d0d; /* Dark background, but visually distinct from body */
  color: #f0f0f0;
  padding: 80px 0;
}

/* Intro Section */
.page-payment-methods__intro-section {
  text-align: center;
}

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

/* Card styles */
.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.1); /* Light on dark card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff; /* Card text color */
}

.page-payment-methods__card--light {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly different card for light-bg sections */
  color: #f0f0f0;
}

.page-payment-methods__card-title {
  color: #26A9E0;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

.page-payment-methods__card-text {
  margin-bottom: 15px;
  flex-grow: 1; /* Allow text block to grow */
}

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.page-payment-methods__card-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-payment-methods__card-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
}

/* Transaction Guide Section */
.page-payment-methods__transaction-guide .page-payment-methods__container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page-payment-methods__guide-block {
  background-color: rgba(255, 255, 255, 0.1); 
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-payment-methods__guide-title {
  color: #26A9E0;
  font-size: 2em;
  margin-bottom: 25px;
  text-align: center;
}

.page-payment-methods__guide-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
}

.page-payment-methods__guide-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-payment-methods__guide-list li strong {
  color: #26A9E0;
}

/* Security Section */
.page-payment-methods__security-section {
  text-align: center;
}

.page-payment-methods__security-image {
  max-width: 600px;
  height: auto;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
}

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

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Darker card for FAQ */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* Remove default marker for <summary> */
  user-select: none;
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg); /* Change '+' to 'x' or rotate */
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
}

/* CTA Section */
.page-payment-methods__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-payment-methods__cta-container {
  max-width: 900px;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    height: 500px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

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

  .page-payment-methods__card,
  .page-payment-methods__guide-block,
  .page-payment-methods__faq-item {
    padding: 25px;
  }

  .page-payment-methods__card-image,
  .page-payment-methods__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  /* Ensure all containers with images/buttons are responsive */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-section {
    height: 400px;
  }
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
}

/* Ensure no filter on images */
.page-payment-methods img {
  filter: none !important;
}

/* Mobile responsive image adaptation */
@media (max-width: 768px) {
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}

/* Mobile responsive video adaptation (generic, no video on this page) */
.page-payment-methods video,
.page-payment-methods__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-payment-methods__video-section,
.page-payment-methods__video-container,
.page-payment-methods__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-payment-methods__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Mobile responsive button adaptation */
.page-payment-methods__cta-button,
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods a[class*="button"],
.page-payment-methods a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__cta-buttons,
.page-payment-methods__button-group,
.page-payment-methods__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-payment-methods__cta-button,
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods 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-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__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;
  }
  
  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}