/* style/promotions.css */

/* Custom Properties for Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-background: #08160F;
    --color-card-bg: #11271B;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-promotions {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Section styles */
.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
}

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

/* Typography */
.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-text-main);
    font-weight: 600;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--color-text-main);
    font-weight: 600;
    margin-bottom: 15px;
}

.page-promotions__benefit-title, .page-promotions__step-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.page-promotions__description, .page-promotions__section-description, .page-promotions__card-text, .page-promotions__benefit-text, .page-promotions__step-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px 20px; /* Small top padding */
    overflow: hidden;
    text-align: center;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual flow, but content itself is below image */
    padding: 20px;
    background-color: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--color-border);
}

/* CTA Buttons */
.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-promotions__cta-center {
  margin-top: 40px;
}

.page-promotions__btn-primary, .page-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid var(--color-button-gradient-start);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

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

.page-promotions__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    color: var(--color-gold);
    transform: translateY(-3px);
}

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

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

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

.page-promotions__card {
    background-color: var(--color-card-bg);
    border-radius: 15px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-promotions__benefit-item {
    background-color: var(--color-card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

/* Steps List */
.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__step-item {
    background-color: var(--color-card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

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

.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 1.1rem;
    background-color: var(--color-card-bg);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-promotions__faq-question:hover {
    background-color: var(--color-deep-green);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    background-color: var(--color-deep-green);
    border-bottom: 1px solid transparent;
}

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

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

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

.page-promotions__faq-answer {
    padding: 20px 25px;
    color: var(--color-text-secondary);
    font-size: 1rem;
    background-color: var(--color-card-bg);
    border-top: 1px solid var(--color-divider);
}

.page-promotions__faq-answer p {
    margin: 0;
    color: var(--color-text-secondary);
}

.page-promotions__faq-cta-wrapper {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  background-color: var(--color-card-bg);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid var(--color-border);
}

.page-promotions__faq-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -80px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 10px 15px 40px 15px;
    }

    .page-promotions__hero-content {
        margin-top: -60px;
        padding: 15px;
    }

    .page-promotions__main-title {
        font-size: 2.2rem;
    }

    .page-promotions__section-title {
        font-size: 1.8rem;
    }

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

    .page-promotions__btn-primary, .page-promotions__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__section, .page-promotions__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-image-wrapper,
    .page-promotions__faq-cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 1.8rem;
    }

    .page-promotions__section-title {
        font-size: 1.6rem;
    }

    .page-promotions__hero-content {
        margin-top: -40px;
    }

    .page-promotions__hero-image-wrapper {
        max-height: 300px;
    }

    .page-promotions__card-image {
        height: 200px;
    }

    .page-promotions__section {
        padding: 40px 10px;
    }

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