/* style/payment-methods.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #121212;
  --button-register-bg: #C30808;
  --button-register-text: #FFFF00;
}

.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  min-height: 600px;
  overflow: hidden;
  color: var(--text-light);
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

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

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

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

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-payment-methods__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-payment-methods__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Added padding for smaller screens */
  box-sizing: border-box;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-payment-methods__dark-bg .page-payment-methods__section-title {
  color: var(--secondary-color);
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  opacity: 0.8;
}

.page-payment-methods__method-grid {
  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.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__light-bg .page-payment-methods__card {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

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

.page-payment-methods__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-payment-methods__light-bg .page-payment-methods__card-title {
  color: var(--secondary-color);
}

.page-payment-methods__card-text {
  font-size: 1em;
  opacity: 0.8;
  flex-grow: 1;
}

.page-payment-methods__guide-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-payment-methods__guide-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px 30px;
  position: relative;
  padding-left: 70px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-payment-methods__light-bg .page-payment-methods__guide-list li {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-payment-methods__guide-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-payment-methods__guide-step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-payment-methods__dark-bg .page-payment-methods__guide-step-title {
  color: var(--secondary-color);
}

.page-payment-methods__guide-list p {
  font-size: 1em;
  opacity: 0.8;
}

.page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
}

.page-payment-methods__notes-list li {
  background-color: var(--background-dark);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: var(--text-light);
}

.page-payment-methods__light-bg .page-payment-methods__notes-list li {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-payment-methods__notes-item-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-payment-methods__notes-list p {
  font-size: 1em;
  opacity: 0.9;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  color: var(--secondary-color);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  color: var(--secondary-color);
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  opacity: 0.8;
  color: var(--text-light);
}

.page-payment-methods__contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.page-payment-methods__cta-buttons--center {
  justify-content: center;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-payment-methods__btn-primary {
  background-color: var(--button-register-bg);
  color: var(--button-register-text);
  border: 2px solid var(--button-register-bg);
}

.page-payment-methods__btn-primary:hover {
  background-color: darken(var(--button-register-bg), 10%);
  border-color: darken(var(--button-register-bg), 10%);
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-payment-methods__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-payment-methods a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-payment-methods__dark-bg a {
  color: var(--secondary-color);
}

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

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

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

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }

  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-payment-methods__section {
    padding: 40px 15px;
  }

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

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

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

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-image {
    height: 200px;
    min-width: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

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

  .page-payment-methods__guide-list li,
  .page-payment-methods__notes-list li {
    padding: 20px 25px;
    padding-left: 60px;
  }

  .page-payment-methods__guide-list li::before {
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 1em;
  }

  .page-payment-methods__guide-step-title,
  .page-payment-methods__notes-item-title {
    font-size: 1.3em;
  }

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

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Image responsive enforcement */
  .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;
    overflow-x: hidden;
  }
  
  /* Video responsive enforcement - not explicitly used in HTML, but for safety */
  .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;
  }

  /* Button responsive enforcement */
  .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;
    overflow-x: hidden;
  }
  
  .page-payment-methods__cta-buttons {
    flex-direction: column;
  }
}