/* style/promotions-daily-weekly-offers.css */

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

/* General Page Styling */
.page-promotions-daily-weekly-offers {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-promotions-daily-weekly-offers h1,
.page-promotions-daily-weekly-offers h2,
.page-promotions-daily-weekly-offers h3 {
    color: var(--color-text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-promotions-daily-weekly-offers h1 {
    font-weight: bold;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: clamp(2em, 4vw, 3.5em);
}

.page-promotions-daily-weekly-offers h2 {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-gold);
}

.page-promotions-daily-weekly-offers h3 {
    font-size: clamp(1.4em, 2.5vw, 2em);
    color: var(--color-text-main);
}

.page-promotions-daily-weekly-offers p {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.page-promotions-daily-weekly-offers a {
    color: var(--color-secondary);
    text-decoration: none;
}

.page-promotions-daily-weekly-offers a:hover {
    text-decoration: underline;
}

/* Section Styling */
.page-promotions-daily-weekly-offers__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions-daily-weekly-offers__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-promotions-daily-weekly-offers__container--center {
    text-align: center;
}

.page-promotions-daily-weekly-offers__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 30px;
}

/* Hero Section */
.page-promotions-daily-weekly-offers__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px;
    overflow: hidden;
}

.page-promotions-daily-weekly-offers__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-promotions-daily-weekly-offers__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions-daily-weekly-offers__hero-content {
    text-align: center;
    max-width: 900px;
    margin-top: 20px;
}

/* Buttons */
.page-promotions-daily-weekly-offers__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-promotions-daily-weekly-offers__btn-primary,
.page-promotions-daily-weekly-offers__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions-daily-weekly-offers__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions-daily-weekly-offers__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-promotions-daily-weekly-offers__btn-secondary {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.page-promotions-daily-weekly-offers__btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-background);
    transform: translateY(-3px);
}

/* Features Grid */
.page-promotions-daily-weekly-offers__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-weekly-offers__feature-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

.page-promotions-daily-weekly-offers__feature-title {
    color: var(--color-gold);
    margin-bottom: 10px;
}

/* Offers Grid (Daily/Weekly) */
.page-promotions-daily-weekly-offers__offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-weekly-offers__offer-card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.page-promotions-daily-weekly-offers__offer-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-promotions-daily-weekly-offers__offer-card .page-promotions-daily-weekly-offers__card-title {
    color: var(--color-gold);
    padding: 20px 20px 10px;
}

.page-promotions-daily-weekly-offers__offer-card p {
    color: var(--color-text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-promotions-daily-weekly-offers__offer-card .page-promotions-daily-weekly-offers__btn-secondary {
    margin: 0 20px 20px;
    align-self: flex-start;
    width: calc(100% - 40px);
}

/* Steps Grid (How to Claim) */
.page-promotions-daily-weekly-offers__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-weekly-offers__step-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-promotions-daily-weekly-offers__step-number {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: var(--color-text-main);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    border: 2px solid var(--color-gold);
}

.page-promotions-daily-weekly-offers__step-title {
    color: var(--color-gold);
    margin-bottom: 10px;
}

/* FAQ Section */
.page-promotions-daily-weekly-offers__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-promotions-daily-weekly-offers__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions-daily-weekly-offers__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--color-text-main);
    background-color: var(--color-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-promotions-daily-weekly-offers__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions-daily-weekly-offers__faq-question:hover {
    background-color: var(--color-primary);
}

.page-promotions-daily-weekly-offers__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--color-gold);
}

.page-promotions-daily-weekly-offers__faq-answer {
    padding: 0 20px 20px;
    color: var(--color-text-secondary);
}

.page-promotions-daily-weekly-offers__faq-item[open] .page-promotions-daily-weekly-offers__faq-toggle {
    content: '−';
}

/* Join Today Section */
.page-promotions-daily-weekly-offers__join-today {
    padding-bottom: 80px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-promotions-daily-weekly-offers {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions-daily-weekly-offers h1 {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-promotions-daily-weekly-offers h2 {
        font-size: clamp(1.5em, 6vw, 2em);
    }

    .page-promotions-daily-weekly-offers__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-promotions-daily-weekly-offers__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-promotions-daily-weekly-offers__section {
        padding: 40px 15px;
    }

    .page-promotions-daily-weekly-offers__container,
    .page-promotions-daily-weekly-offers__features-grid,
    .page-promotions-daily-weekly-offers__offers-grid,
    .page-promotions-daily-weekly-offers__steps-grid,
    .page-promotions-daily-weekly-offers__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .page-promotions-daily-weekly-offers__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    /* Images and Videos Responsive */
    .page-promotions-daily-weekly-offers img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-daily-weekly-offers__offer-card .page-promotions-daily-weekly-offers__btn-secondary {
        width: calc(100% - 40px) !important;
    }

    .page-promotions-daily-weekly-offers__offer-image {
        height: auto;
    }

    .page-promotions-daily-weekly-offers__video-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-daily-weekly-offers__video-container,
    .page-promotions-daily-weekly-offers__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions-daily-weekly-offers video,
    .page-promotions-daily-weekly-offers__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

/* Ensure contrast for text blocks on cards/sections */
.page-promotions-daily-weekly-offers__text-block {
    color: var(--color-text-secondary);
}

.page-promotions-daily-weekly-offers__feature-item p,
.page-promotions-daily-weekly-offers__step-item p {
    color: var(--color-text-secondary);
}

.page-promotions-daily-weekly-offers__faq-answer p {
    color: var(--color-text-secondary);
}