/* style/promotions.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --accent-register: #C30808;
  --accent-login: #C30808;
  --accent-register-font: #FFFFFF; /* Overridden for contrast */
  --accent-login-font: #FFFFFF; /* Overridden for contrast */
}

.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color); /* Assuming body background is light */
}

.page-promotions__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by shared body */
  min-height: 600px;
  overflow: hidden;
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-promotions__hero-section .page-promotions__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-promotions__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-register {
  background: var(--accent-register);
  color: var(--accent-register-font); /* White for contrast */
  border: 2px solid var(--accent-register);
}

.page-promotions__btn-register:hover {
  background: darken(var(--accent-register), 10%);
  border-color: darken(var(--accent-register), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-login {
  background: var(--accent-login);
  color: var(--accent-login-font); /* White for contrast */
  border: 2px solid var(--accent-login);
}

.page-promotions__btn-login:hover {
  background: darken(var(--accent-login), 10%);
  border-color: darken(var(--accent-login), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-promotions__btn-primary:hover {
  background: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions__btn-secondary:hover {
  background: lighten(var(--primary-color), 50%);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__section {
  padding: 80px 20px;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-promotions__dark-section .page-promotions__section-title {
  color: var(--text-light);
}

.page-promotions__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-promotions__dark-section .page-promotions__description {
  color: rgba(255, 255, 255, 0.9);
}

.page-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e0e0e0;
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
  padding: 0 15px;
}

.page-promotions__card p {
  font-size: 1em;
  color: var(--text-dark);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-promotions__claim-guide-section .page-promotions__section-title {
  margin-bottom: 60px;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  max-width: 800px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.page-promotions__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.8em;
  font-weight: bold;
  flex-shrink: 0;
}

.page-promotions__step-content {
  text-align: left;
}

.page-promotions__step-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-promotions__step-content p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-align: left;
}

.page-promotions__step-content p a {
  color: var(--accent-register-font);
  text-decoration: underline;
}

.page-promotions__button-group {
  text-align: center;
  margin-top: 40px;
}

.page-promotions__terms-list {
  max-width: 900px;
  margin: 0 auto 40px;
  list-style: disc;
  padding-left: 25px;
  color: var(--text-dark);
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-promotions__note {
  text-align: center;
  font-style: italic;
  color: var(--text-dark);
}

.page-promotions__note a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* FAQ Section */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-light);
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  color: rgba(255, 255, 255, 0.8);
}

.page-promotions__cta-bottom-section .page-promotions__cta-group {
  margin-top: 40px;
}

.page-promotions__text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__section {
    padding: 60px 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 500px;
  }
  .page-promotions__hero-image img {
    border-radius: 4px;
  }
  .page-promotions__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__container {
    padding: 0;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card {
    padding-bottom: 15px;
  }
  .page-promotions__card-image {
    height: 160px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__steps-list {
    margin-bottom: 30px;
  }
  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-promotions__step-content p {
    text-align: center;
  }
  details.page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
  .page-promotions__faq-qtext { font-size: 15px; }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}