/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #f8f8f8; /* Light text for dark background */
    background-color: #1A2C42; /* Main dark background color */
    line-height: 1.6;
}

.page-promotions__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1A2C42 0%, #3a4f66 100%); /* Gradient with main color */
    text-align: center;
    gap: 30px;
}

@media (min-width: 768px) {
    .page-promotions__hero {
        flex-direction: row;
        text-align: left;
        padding: 80px 40px;
    }
    .page-promotions__hero-content {
        flex: 1;
        padding-right: 40px;
    }
    .page-promotions__hero-image-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.page-promotions__hero-title {
    font-size: 2.8em;
    color: #E0B147; /* Accent color for title */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #dcdcdc;
}

.page-promotions__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-promotions__cta-button {
    display: inline-block;
    background-color: #E0B147; /* Accent color for CTA */
    color: #1A2C42; /* Dark text for accent background */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-promotions__cta-button:hover {
    background-color: #f0c25a; /* Lighter accent on hover */
    transform: translateY(-2px);
}

.page-promotions__section-title {
    font-size: 2.2em;
    color: #E0B147; /* Accent color for section titles */
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    font-weight: 600;
}

.page-promotions__section-intro {
    font-size: 1.05em;
    color: #cccccc;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.page-promotions__featured-offers,
.page-promotions__all-offers,
.page-promotions__content-gain,
.page-promotions__cta-bottom {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__offer-card {
    background-color: #2a3d54; /* Slightly lighter dark background for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-promotions__offer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    object-fit: contain;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: #E0B147; /* Accent color for card titles */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions__card-description {
    color: #dcdcdc;
    font-size: 0.95em;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    background-color: #E0B147;
    color: #1A2C42;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to the bottom */
}

.page-promotions__card-button:hover {
    background-color: #f0c25a;
}

.page-promotions__offer-list {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.page-promotions__list-item {
    background-color: #2a3d54;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-promotions__item-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__item-title a {
    color: #E0B147; /* Accent color for linked titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__item-title a:hover {
    color: #f0c25a;
}

.page-promotions__item-description {
    color: #cccccc;
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__item-button {
    display: inline-block;
    background-color: #5f6b7b; /* A lighter shade of main color for secondary buttons */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.page-promotions__item-button:hover {
    background-color: #76808e;
}

.page-promotions__content-gain h3 {
    font-size: 1.8em;
    color: #E0B147;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-promotions__content-gain p {
    color: #cccccc;
    margin-bottom: 15px;
}

.page-promotions__content-gain strong {
    color: #E0B147;
}

.page-promotions__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-promotions__list li {
    color: #cccccc;
    margin-bottom: 10px;
    font-size: 1em;
}

.page-promotions__list li strong {
    color: #E0B147;
}

.page-promotions__list ol {
    list-style-type: decimal;
}

.page-promotions__cta-bottom {
    text-align: center;
    padding: 60px 20px;
    background-color: #2a3d54;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-title {
    font-size: 2.5em;
    color: #E0B147;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-promotions__cta-description {
    font-size: 1.2em;
    color: #dcdcdc;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button--secondary {
    background-color: #5f6b7b;
    color: #ffffff;
    margin-left: 20px;
}

.page-promotions__cta-button--secondary:hover {
    background-color: #76808e;
}

@media (max-width: 767px) {
    .page-promotions__hero-title {
        font-size: 2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
    .page-promotions__item-title {
        font-size: 1.4em;
    }
    .page-promotions__cta-title {
        font-size: 2em;
    }
    .page-promotions__cta-button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}