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

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Burgundy */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f5f5f5;
    --background-dark: #1a1a1a;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-promotions-daily-offers {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
}

.page-promotions-daily-offers__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-promotions-daily-offers__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions-daily-offers__section-title {
    font-size: 2.8em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-daily-offers__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-promotions-daily-offers__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-promotions-daily-offers__hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-promotions-daily-offers__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-promotions-daily-offers__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

.page-promotions-daily-offers__hero-content {
    color: var(--text-color-light);
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-promotions-daily-offers__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-daily-offers__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-daily-offers__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

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

.page-promotions-daily-offers__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-promotions-daily-offers__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-promotions-daily-offers__btn-tertiary {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    border: 2px solid var(--secondary-color);
    font-size: 0.9em;
    padding: 10px 20px;
}

.page-promotions-daily-offers__btn-tertiary:hover {
    background-color: darken(var(--secondary-color), 10%);
    border-color: darken(var(--secondary-color), 10%);
}

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

.page-promotions-daily-offers__card {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions-daily-offers__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.page-promotions-daily-offers__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions-daily-offers__card-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-promotions-daily-offers__card-description {
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Claim Section */
.page-promotions-daily-offers__how-to-claim {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.page-promotions-daily-offers__how-to-claim .page-promotions-daily-offers__section-title {
    color: var(--primary-color);
}

.page-promotions-daily-offers__how-to-claim .page-promotions-daily-offers__section-title::after {
    background-color: var(--text-color-light);
}

.page-promotions-daily-offers__how-to-claim .page-promotions-daily-offers__text-block {
    color: var(--text-color-light);
}

.page-promotions-daily-offers__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-daily-offers__steps-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1.2em;
    color: var(--text-color-light);
}

.page-promotions-daily-offers__step-number {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-promotions-daily-offers__steps-list a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions-daily-offers__steps-list a:hover {
    color: darken(var(--primary-color), 10%);
}

.page-promotions-daily-offers__cta-center {
    margin-top: 40px;
}

/* Video Section */
.page-promotions-daily-offers__video-section {
    background-color: var(--background-dark);
    color: var(--text-color-light);
    padding: 60px 20px;
}

.page-promotions-daily-offers__video-section .page-promotions-daily-offers__section-title {
    color: var(--primary-color);
}

.page-promotions-daily-offers__video-section .page-promotions-daily-offers__section-title::after {
    background-color: var(--text-color-light);
}

.page-promotions-daily-offers__video-section .page-promotions-daily-offers__text-block {
    color: var(--text-color-light);
}

.page-promotions-daily-offers__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-offers__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure it behaves as a block element */
    cursor: pointer;
}

/* Terms Section */
.page-promotions-daily-offers__terms {
    background-color: var(--background-light);
    text-align: left;
}

.page-promotions-daily-offers__terms .page-promotions-daily-offers__container {
    max-width: 900px;
}

.page-promotions-daily-offers__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
    font-size: 1.1em;
    color: var(--text-color-dark);
}

.page-promotions-daily-offers__terms-list li {
    margin-bottom: 15px;
}

.page-promotions-daily-offers__terms-list strong {
    color: var(--secondary-color);
}

/* Benefits Section */
.page-promotions-daily-offers__benefits {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-promotions-daily-offers__benefits .page-promotions-daily-offers__section-title {
    color: var(--secondary-color);
}

.page-promotions-daily-offers__benefits .page-promotions-daily-offers__section-title::after {
    background-color: var(--secondary-color);
}

.page-promotions-daily-offers__benefits .page-promotions-daily-offers__text-block,
.page-promotions-daily-offers__benefits-list li {
    color: var(--secondary-color);
}

.page-promotions-daily-offers__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-promotions-daily-offers__benefits-list li {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-promotions-daily-offers__benefits-list li::before {
    content: '✅';
    font-size: 1.5em;
    line-height: 1;
    flex-shrink: 0;
}

/* FAQ Section */
.page-promotions-daily-offers__faq-section {
    background-color: var(--background-light);
    padding-bottom: 80px;
}

.page-promotions-daily-offers__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions-daily-offers__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-promotions-daily-offers__faq-question:hover {
    background-color: #f0f0f0;
}

.page-promotions-daily-offers__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-promotions-daily-offers__faq-item.active .page-promotions-daily-offers__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-daily-offers__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    text-align: left;
    color: var(--text-color-dark);
}

.page-promotions-daily-offers__faq-item.active .page-promotions-daily-offers__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 25px 25px;
}

.page-promotions-daily-offers__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-promotions-daily-offers__cta-final {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-color-light);
    padding: 80px 0;
}

.page-promotions-daily-offers__cta-final-content {
    max-width: 800px;
}

.page-promotions-daily-offers__cta-final .page-promotions-daily-offers__section-title {
    color: var(--text-color-light);
}

.page-promotions-daily-offers__cta-final .page-promotions-daily-offers__section-title::after {
    background-color: var(--text-color-light);
}

.page-promotions-daily-offers__cta-final .page-promotions-daily-offers__text-block {
    color: var(--text-color-light);
    font-size: 1.2em;
}

.page-promotions-daily-offers__btn-lg {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-daily-offers__hero-title {
        font-size: 3em;
    }

    .page-promotions-daily-offers__hero-description {
        font-size: 1.2em;
    }

    .page-promotions-daily-offers__section-title {
        font-size: 2.2em;
    }

    .page-promotions-daily-offers__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-promotions-daily-offers__benefits-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-promotions-daily-offers__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-promotions-daily-offers__hero-title {
        font-size: 2.5em;
    }

    .page-promotions-daily-offers__hero-description {
        font-size: 1em;
    }

    .page-promotions-daily-offers__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-daily-offers__btn-primary,
    .page-promotions-daily-offers__btn-secondary,
    .page-promotions-daily-offers__btn-tertiary,
    .page-promotions-daily-offers a[class*="button"],
    .page-promotions-daily-offers 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-daily-offers__cta-buttons,
    .page-promotions-daily-offers__button-group,
    .page-promotions-daily-offers__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-daily-offers__section {
        padding: 40px 0;
    }

    .page-promotions-daily-offers__section-title {
        font-size: 1.8em;
    }

    .page-promotions-daily-offers__text-block {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-promotions-daily-offers__grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-promotions-daily-offers__card {
        margin-bottom: 20px;
    }

    .page-promotions-daily-offers__steps-list {
        padding: 0 15px;
    }

    .page-promotions-daily-offers__steps-list li {
        font-size: 1.1em;
    }

    .page-promotions-daily-offers__video-section {
        padding: 40px 0 !important;
    }
    
    .page-promotions-daily-offers video,
    .page-promotions-daily-offers__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions-daily-offers__video-section,
    .page-promotions-daily-offers__video-container,
    .page-promotions-daily-offers__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions-daily-offers__terms-list {
        padding-left: 35px;
        padding-right: 15px;
    }

    .page-promotions-daily-offers__benefits-list {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-promotions-daily-offers__faq-list {
        padding: 0 15px;
    }

    .page-promotions-daily-offers__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-promotions-daily-offers__faq-answer {
        padding: 0 20px;
    }

    .page-promotions-daily-offers__faq-item.active .page-promotions-daily-offers__faq-answer {
        padding: 15px 20px 20px;
    }

    .page-promotions-daily-offers__cta-final {
        padding: 50px 0;
    }

    .page-promotions-daily-offers__cta-final .page-promotions-daily-offers__text-block {
        font-size: 1.1em;
        padding: 0 15px;
    }

    .page-promotions-daily-offers__btn-lg {
        font-size: 1.1em;
        padding: 15px 30px;
    }

    .page-promotions-daily-offers img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-promotions-daily-offers__section,
    .page-promotions-daily-offers__card,
    .page-promotions-daily-offers__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-daily-offers__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}