/* style/promotions.css */

/* General page styling */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: #e9ecef;
}

.bg-primary {
    background-color: #007bff;
    color: #ffffff;
}

.page-promotions__paragraph--light {
    color: #ffffff;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions__section-title--light {
    color: #ffffff;
}

.page-promotions__sub-title {
    font-size: 1.8em;
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-promotions__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-promotions__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-promotions__list-ordered {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-promotions__list-ordered li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-promotions__inline-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__inline-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Hero Section */
.page-promotions__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-content {
    z-index: 1;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffc107;
}

.page-promotions__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #e0e0e0;
}

.page-promotions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
}

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(50%);
}

/* CTA Button styles */
.page-promotions__cta-button {
    display: inline-block;
    background-color: #ffc107;
    color: #007bff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions__cta-button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.page-promotions__cta-button--secondary {
    background-color: #ffc107;
    color: #007bff;
}

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

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

.page-promotions__offer-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__offer-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-promotions__card-title a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-promotions__card-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions__card-button {
    display: inline-block;
    background-color: #e9ecef;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #007bff;
}

.page-promotions__card-button:hover {
    background-color: #d6d8db;
    color: #0056b3;
}

.page-promotions__card-button--primary {
    background-color: #ffc107;
    color: #007bff;
    border: 1px solid #ffc107;
    margin-left: 10px;
}

.page-promotions__card-button--primary:hover {
    background-color: #e0a800;
    color: #0056b3;
    border-color: #e0a800;
}

/* Deep Content Images */
.page-promotions__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Floating Ad */
.page-promotions__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.5s ease-out;
}

.page-promotions__floating-ad.show {
    transform: translateX(0);
}

.page-promotions__floating-ad-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #ffc107;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.page-promotions__floating-ad-close:hover {
    color: #e0a800;
}

.page-promotions__floating-ad-text {
    margin: 0;
    font-size: 1.1em;
    font-weight: 500;
    flex-grow: 1;
}

.page-promotions__floating-ad-button {
    background-color: #ffc107;
    color: #007bff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.page-promotions__floating-ad-button:hover {
    background-color: #e0a800;
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1.2em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__sub-title {
        font-size: 1.6em;
    }
    .page-promotions__offer-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero {
        padding: 60px 15px;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1.1em;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .section-padding {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions__sub-title {
        font-size: 1.4em;
    }
    .page-promotions__offer-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__offer-card {
        padding: 20px;
    }
    .page-promotions__offer-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
        min-height: auto;
    }
    .page-promotions__floating-ad {
        flex-direction: column;
        align-items: flex-start;
        right: 10px;
        bottom: 10px;
        padding: 15px;
        gap: 10px;
        width: calc(100% - 40px);
        max-width: 350px;
    }
    .page-promotions__floating-ad-close {
        top: 8px;
        right: 8px;
    }
    .page-promotions__floating-ad-text {
        font-size: 1em;
        text-align: left;
    }
    .page-promotions__floating-ad-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1em;
    }
    .page-promotions__cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__paragraph {
        font-size: 0.95em;
    }
    .page-promotions__list li, .page-promotions__list-ordered li {
        font-size: 0.95em;
    }
}