/* style/payment-methods.css */

/* Base Styles & Color Contrast for Dark Body Background */
.page-payment-methods {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-payment-methods__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Light background sections */
.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-payment-methods__text-contrast-fix {
  color: #333333; /* Ensure dark text on light background */
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure vertical stacking */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and content */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(18, 18, 18, 0.7); /* Dark semi-transparent background for text on dark body */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 0; /* Removed negative margin to avoid text overlap */
}

.page-payment-methods__main-title {
  font-size: clamp(32px, 4vw, 56px); /* Use clamp for H1 */
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-payment-methods__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}