/* style/promotions.css */

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

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

.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no CSS filter changes image color */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
    margin-bottom: 40px;
    overflow: hidden;
    background-color: var(--f8beta2-deep-green); /* A darker green for hero background */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for aesthetic */
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: none; /* No CSS filter */
}

.page-promotions__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 30px 20px 60px;
    z-index: 1;
    color: var(--f8beta2-text-main);
}

.page-promotions__main-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--f8beta2-gold); /* Gold for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-promotions__intro-text {
    font-size: 18px;
    color: var(--f8beta2-text-secondary);
    margin-bottom: 30px;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%; /* Ensure container fills width */
    max-width: 600px; /* Max width for buttons group */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button,
.page-promotions a[class*="button"],
.page-promotions a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to width */
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: var(--f8beta2-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

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

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

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

/* Section Styling */
.page-promotions__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-promotions__dark-section {
    background-color: var(--f8beta2-card-bg); /* Darker background for some sections */
}

.page-promotions__section-title {
    font-size: 36px;
    color: var(--f8beta2-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__section-description {
    font-size: 17px;
    color: var(--f8beta2-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.page-promotions__promo-card {
    background-color: var(--f8beta2-deep-green); /* Use deep green for card background */
    border: 1px solid var(--f8beta2-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--f8beta2-text-main);
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    filter: none; /* No CSS filter */
    min-width: 200px;
    min-height: 200px;
}

.page-promotions__card-title {
    font-size: 24px;
    color: var(--f8beta2-gold);
    margin: 0 20px 10px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 15px;
    color: var(--f8beta2-text-secondary);
    margin: 0 20px 20px;
}

.page-promotions__card-button {
    padding: 10px 25px;
    font-size: 16px;
    max-width: calc(100% - 40px); /* Account for padding */
    width: auto; /* Allow width to adjust */
    margin-left: 20px;
    margin-right: 20px;
}

.page-promotions__card-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* How to Get Promotions Steps */
.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-promotions__step-card {
    background-color: var(--f8beta2-deep-green);
    border: 1px solid var(--f8beta2-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: var(--f8beta2-text-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-icon {
    font-size: 48px;
    font-weight: bold;
    color: var(--f8beta2-gold);
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--f8beta2-primary);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-promotions__step-title {
    font-size: 28px;
    color: var(--f8beta2-gold);
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 16px;
    color: var(--f8beta2-text-secondary);
}

.page-promotions__center-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-promotions__faq-list {
    margin-top: 30px;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger border-radius for modern look */
  border: 1px solid var(--f8beta2-border);
  overflow: hidden;
  background: var(--f8beta2-deep-green); /* Use deep green for FAQ background */
  color: var(--f8beta2-text-main);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  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: var(--f8beta2-primary); /* Hover with primary color */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font size */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--f8beta2-gold); /* Gold color for question text */
}
.page-promotions__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: var(--f8beta2-gold); /* Gold color for toggle */
  flex-shrink: 0;
  margin-left: 20px; /* Increased margin */
  width: 32px; /* Larger icon area */
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: var(--f8beta2-card-bg); /* Card background for answer area */
  border-radius: 0 0 8px 8px;
  color: var(--f8beta2-text-secondary);
}
.page-promotions__faq-answer p {
    margin: 0;
    padding: 0;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 42px;
    }
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__promo-grid,
    .page-promotions__steps-grid {
        gap: 25px;
    }
    .page-promotions__container {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    /* General content area padding for mobile */
    .page-promotions__container,
    .page-promotions__hero-content,
    .page-promotions__promo-card,
    .page-promotions__step-card {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-promotions__hero-section {
        padding-top: 10px !important;
        margin-bottom: 30px;
    }
    .page-promotions__main-title {
        font-size: clamp(30px, 8vw, 40px); /* Use clamp for H1 */
        margin-bottom: 10px;
    }
    .page-promotions__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-promotions__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        max-width: 90% !important;
        width: 100% !important;
        padding: 0 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__card-button,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Section Styling */
    .page-promotions__section {
        padding: 40px 0;
        margin-bottom: 10px;
    }
    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-promotions__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Promotion Grid */
    .page-promotions__promo-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 20px;
    }
    .page-promotions__promo-card {
        padding-bottom: 20px;
    }
    .page-promotions__promo-image {
        height: 180px; /* Slightly smaller image height */
        min-width: 200px;
        min-height: 200px;
    }
    .page-promotions__card-title {
        font-size: 20px;
        margin: 0 15px 8px;
    }
    .page-promotions__card-text {
        font-size: 14px;
        margin: 0 15px 15px;
    }

    /* How to Get Promotions Steps */
    .page-promotions__steps-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 20px;
    }
    .page-promotions__step-card {
        padding: 25px;
    }
    .page-promotions__step-icon {
        font-size: 40px;
        width: 70px;
        height: 70px;
    }
    .page-promotions__step-title {
        font-size: 24px;
    }
    .page-promotions__step-text {
        font-size: 15px;
    }
    .page-promotions__center-cta {
        margin-top: 40px;
    }

    /* FAQ Section */
    details.page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px !important;
    }
    .page-promotions__faq-qtext {
        font-size: 16px;
    }
    .page-promotions__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 28px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 15px 15px !important;
    }

    /* Generic image responsiveness for mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}