/* style/promotions.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --main-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--main-bg);
}

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

/* Sections */
.page-promotions__hero-section,
.page-promotions__overview-section,
.page-promotions__types-section,
.page-promotions__guide-section,
.page-promotions__benefits-section,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 80px;
    overflow: hidden;
    background: var(--main-bg);
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.page-promotions__hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-promotions__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-promotions__text-link {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-promotions__text-link:hover {
    color: var(--primary-color);
}

/* Section Titles */
.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--text-main);
}

.page-promotions__overview-section, .page-promotions__guide-section, .page-promotions__faq-section {
    background-color: #ffffff; /* Light background for these sections */
    color: #333333; /* Dark text for light background */
}

.page-promotions__overview-section .page-promotions__section-title,
.page-promotions__guide-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
    color: #333333;
}

.page-promotions__overview-section .page-promotions__text-block,
.page-promotions__guide-section .page-promotions__text-block,
.page-promotions__faq-section .page-promotions__text-block {
    color: #555555;
}

.page-promotions__types-section, .page-promotions__benefits-section, .page-promotions__conclusion-section {
    background-color: var(--main-bg); /* Dark background for these sections */
    color: var(--text-main);
}

/* Text blocks */
.page-promotions__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__text-main {
    color: var(--text-main);
}

.page-promotions__text-secondary {
    color: var(--text-secondary);
}

/* Promotion Categories */
.page-promotions__promotion-category {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__category-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-promotions__category-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-promotions__list,
.page-promotions__ordered-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-promotions__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1em;
  color: var(--text-secondary);
}

.page-promotions__overview-section .page-promotions__list-item,
.page-promotions__guide-section .page-promotions__list-item,
.page-promotions__faq-section .page-promotions__list-item {
    color: #555555;
}

.page-promotions__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--glow-color);
  font-weight: bold;
}

.page-promotions__ordered-list .page-promotions__list-item::before {
    content: counter(list-item) '.';
    counter-increment: list-item;
    color: var(--glow-color);
    font-weight: bold;
    left: 0;
    position: absolute;
    width: 25px;
    text-align: right;
}

.page-promotions__guide-step {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.page-promotions__step-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333333;
}

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

.page-promotions__benefit-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  text-align: center;
}

.page-promotions__benefit-icon {
  width: 100%; /* Ensure images are large enough */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__benefit-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-promotions__benefit-description {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-promotions__cta-bottom,
.page-promotions__cta-final {
    margin-top: 40px;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid #ddd;
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question::marker {
  display: none;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
}

/* Conclusion Section */
.page-promotions__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__category-title {
        font-size: 1.6em;
    }
    .page-promotions__benefit-title {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section,
    .page-promotions__overview-section,
    .page-promotions__types-section,
    .page-promotions__guide-section,
    .page-promotions__benefits-section,
    .page-promotions__faq-section,
    .page-promotions__conclusion-section {
        padding: 40px 0;
    }

    .page-promotions__container {
        padding: 0 15px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions 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-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__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-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__promotion-category,
    .page-promotions__guide-step,
    .page-promotions__faq-item,
    .page-promotions__benefit-card {
        padding: 20px;
    }

    .page-promotions__benefit-icon {
        max-width: 200px;
    }

    .page-promotions__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.6em, 8vw, 2.2em);
    }
    .page-promotions__description {
        font-size: 0.95em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__category-title {
        font-size: 1.4em;
    }
    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px 15px;
    }
}