/* style/promotions.css */

:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg: #D32F2F;
    --background-dark-red: #B71C1C;
    --text-main-light: #FFF5E1;
    --border-gold: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
    --dark-text: #333333; /* For light backgrounds */
    --light-text: #ffffff; /* For dark backgrounds */
}

.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--dark-text); /* Default text color for body's default white background */
}

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

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust as needed for visual impact */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions__hero-image {
    width: 1200px; /* Set a specific width for the hero image */
    height: 675px; /* Set a specific height for the hero image */
    object-fit: cover;
    display: block;
}

.page-promotions__hero-content-wrapper {
    width: 100%;
    padding: 60px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-main-light);
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main-light);
}

.page-promotions__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-main-light);
}

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

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

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: var(--dark-text);
    border: 2px solid var(--border-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.page-promotions__offers-section {
    padding: 80px 0;
    background-color: var(--background-dark-red);
    color: var(--text-main-light);
}

.page-promotions__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main-light);
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-light);
}

.page-promotions__offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__offer-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    color: var(--text-main-light);
}

.page-promotions__offer-card:hover {
    transform: translateY(-5px);
}

.page-promotions__offer-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-promotions__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-main-light);
}

.page-promotions__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    color: var(--text-main-light);
}

.page-promotions__card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-promotions__card-features li {
    font-size: 0.9em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: var(--text-main-light);
}

.page-promotions__card-features li::before {
    content: '⭐'; /* Unicode star */
    margin-right: 8px;
    font-size: 1.1em;
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.95em;
    margin-top: auto; /* Push button to bottom */
}

.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #ffffff; /* Default white background for FAQ */
    color: var(--dark-text);
}

.page-promotions__faq-section .page-promotions__section-title {
    color: var(--dark-text);
    margin-bottom: 40px;
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
    background-color: #f0f0f0;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark-text);
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #e8e8e8;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--dark-text);
}

.page-promotions__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-promotions__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__cta-section {
    padding: 80px 0;
    background-color: var(--deep-red-color);
    text-align: center;
    color: var(--text-main-light);
}

.page-promotions__cta-content {
    max-width: 800px;
}

.page-promotions__cta-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main-light);
}

.page-promotions__cta-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text-main-light);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content-wrapper {
        padding: 40px 0;
    }
    .page-promotions__offers-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding: 60px 0;
    }
    .page-promotions__hero-image {
        width: 100%;
        height: auto;
    }
    .page-promotions__offer-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 0 15px;
    }

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

    .page-promotions__description,
    .page-promotions__section-description,
    .page-promotions__cta-description {
        font-size: 1em;
    }

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

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-large,
    .page-promotions__btn-small {
        width: 100% !important;
        max-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__hero-image,
    .page-promotions__offer-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__hero-image-wrapper,
    .page-promotions__offers-grid,
    .page-promotions__offer-card,
    .page-promotions__faq-item,
    .page-promotions__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    
    .page-promotions__hero-section {
        padding-top: 10px !important;
    }

    .page-promotions__offer-image {
        height: auto; /* Allow auto height for mobile responsiveness */
    }

    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__card-text {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content-wrapper {
        padding: 30px 0;
    }
    .page-promotions__offers-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding: 40px 0;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-promotions__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-promotions__offer-card {
        margin: 0 auto;
    }
}