/* style/promotions.css */
/* 页面完整样式代码 - 注意：所有选择器必须添加页面前缀 */

/* Variables for colors */
:root {
    --page-promotions-primary-color: #FFD700; /* Gold */
    --page-promotions-secondary-color: #00BFFF; /* Deep Sky Blue */
    --page-promotions-dark-bg: #1A2B3C; /* Dark blue-gray for main content */
    --page-promotions-text-light: #FFFFFF; /* White text */
    --page-promotions-text-dark: #1A2B3C; /* Dark text for gold buttons */
}

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

.page-promotions a {
    color: var(--page-promotions-secondary-color); /* Links in main content */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions a:hover {
    color: var(--page-promotions-primary-color);
}

/* Hero Section */
.page-promotions__hero {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust as needed */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--page-promotions-dark-bg); /* Fallback */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Darken image for better text contrast */
}

.page-promotions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.4), rgba(255, 215, 0, 0.4)); /* Blend secondary and primary */
    z-index: 2;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: var(--page-promotions-text-light);
}

.page-promotions__hero-content h1 {
    font-size: 3em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* General Section Styling */
.page-promotions__section {
    padding: 60px 0;
    background-color: var(--page-promotions-dark-bg);
}

.page-promotions__section.page-promotions__intro {
    background-color: #112233; /* Slightly darker for contrast with hero */
}

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

.page-promotions__section h2 {
    font-size: 2.5em;
    color: var(--page-promotions-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-promotions__section h3 {
    font-size: 1.8em;
    color: var(--page-promotions-text-light); /* White for H3 on dark background */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-promotions__section h4 {
    font-size: 1.4em;
    color: var(--page-promotions-primary-color); /* Gold for H4 */
    margin-bottom: 10px;
}

.page-promotions__section p {
    margin-bottom: 15px;
}

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

.page-promotions__section ul li {
    margin-bottom: 10px;
}

/* Buttons */
.page-promotions__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-promotions__btn--primary {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-text-dark); /* Dark text on gold button */
    margin-right: 15px;
}

.page-promotions__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-promotions__btn--secondary {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-text-dark); /* Dark text on blue button */
    border: 1px solid var(--page-promotions-secondary-color);
}

.page-promotions__btn--secondary:hover {
    background-color: #0099cc; /* Slightly darker blue */
    border-color: #0099cc;
    transform: translateY(-2px);
}

/* Promotion Grid */
.page-promotions__promo-grid {
    background-color: #112233; /* Slightly different dark background */
}

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

.page-promotions__promotion-item {
    background-color: var(--page-promotions-dark-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promotion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.page-promotions__promo-content h3 {
    font-size: 1.5em;
    color: var(--page-promotions-primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-promotions__promo-content h3 a {
    color: var(--page-promotions-primary-color);
}

.page-promotions__promo-content h3 a:hover {
    color: var(--page-promotions-secondary-color);
}

.page-promotions__promo-content p {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__promo-content .page-promotions__btn {
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Call to Action Section */
.page-promotions__cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--page-promotions-dark-bg), #0A192F);
}

.page-promotions__cta h2 {
    color: var(--page-promotions-primary-color);
}

.page-promotions__cta p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
}

.page-promotions__cta ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.page-promotions__cta ul li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid var(--page-promotions-secondary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-promotions__hero {
        height: 50vh;
        min-height: 300px;
    }

    .page-promotions__hero-content h1 {
        font-size: 2.2em;
    }

    .page-promotions__hero-content p {
        font-size: 1em;
    }

    .page-promotions__section h2 {
        font-size: 2em;
    }

    .page-promotions__section h3 {
        font-size: 1.5em;
    }

    .page-promotions__promo-items {
        grid-template-columns: 1fr;
    }

    .page-promotions__btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content h1 {
        font-size: 1.8em;
    }

    .page-promotions__hero-content p {
        font-size: 0.9em;
    }

    .page-promotions__section {
        padding: 40px 0;
    }
}