/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--bg-color, #ffffff);
}

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

.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  text-align: center;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 3.5vw, 3em);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__intro-text {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

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

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b8;
}

/* Dark background section */
.page-payment-methods__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__dark-section .page-payment-methods__section-title,
.page-payment-methods__dark-section .page-payment-methods__section-description {
  color: #ffffff;
}

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

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  min-height: 200px;
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-payment-methods__card p {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-payment-methods__method-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-payment-methods__method-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-payment-methods__method-card p {
  color: #555555;
}

/* Light background section */
.page-payment-methods__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-payment-methods__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 200px;
}

.page-payment-methods__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: #333333;
  margin-bottom: 10px;
}

.page-payment-methods__step-card p {
  color: #555555;
}

.page-payment-methods__step-card a {
  color: #26A9E0;
  text-decoration: none;
}

.page-payment-methods__step-card a:hover {
  text-decoration: underline;
}

/* Attention Box */
.page-payment-methods__attention-box {
  background-color: #e0f7fa; /* Light blue */
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-top: 50px;
  border-radius: 8px;
  text-align: left;
}

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

.page-payment-methods__attention-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__attention-box li {
  margin-bottom: 10px;
  color: #333333;
  padding-left: 25px;
  position: relative;
}

.page-payment-methods__attention-box li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__attention-box a {
  color: #26A9E0;
  text-decoration: none;
}

.page-payment-methods__attention-box a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  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: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  width: 20px;
  text-align: center;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  content: '−';
}

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

.page-payment-methods__faq-answer a {
  color: #ffffff;
  text-decoration: underline;
}

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

.page-payment-methods__tip-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  min-height: 180px;
}

.page-payment-methods__tip-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-payment-methods__tip-card p {
  color: #555555;
}

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

.page-payment-methods__cta-section .page-payment-methods__container {
  background-color: #26A9E0;
  padding: 50px 30px;
  border-radius: 15px;
  color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__section-description {
  color: #ffffff;
  margin-bottom: 30px;
}

.page-payment-methods__cta-section .page-payment-methods__section-description a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: underline;
}

.page-payment-methods__cta-section .page-payment-methods__btn-secondary {
  background-color: #EA7C07; /* Login color for secondary CTA */
  color: #ffffff;
  border-color: #EA7C07;
}

.page-payment-methods__cta-section .page-payment-methods__btn-secondary:hover {
  background-color: #c46400;
  border-color: #c46400;
}

/* Links within text */
.page-payment-methods p a,
.page-payment-methods li a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods p a:hover,
.page-payment-methods li a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(2em, 4vw, 2.8em);
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section,
  .page-payment-methods__section {
    padding: 40px 0;
  }
  
  .page-payment-methods__hero-content {
    margin-top: 30px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-payment-methods__intro-text {
    font-size: 1em;
  }

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

  .page-payment-methods__section-description {
    font-size: 0.9em;
  }

  .page-payment-methods__cta-buttons {
    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;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-payment-methods__hero-image,
  .page-payment-methods__method-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__container,
  .page-payment-methods__grid-cards,
  .page-payment-methods__methods-grid,
  .page-payment-methods__steps-grid,
  .page-payment-methods__faq-list,
  .page-payment-methods__tips-grid,
  .page-payment-methods__card,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__tip-card,
  .page-payment-methods__attention-box,
  .page-payment-methods__cta-section .page-payment-methods__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-payment-methods__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__card-title,
  .page-payment-methods__method-title,
  .page-payment-methods__step-title,
  .page-payment-methods__tip-title,
  .page-payment-methods__attention-title {
    font-size: 1.2em;
  }
  .page-payment-methods__step-number {
    font-size: 2em;
  }
}