/* style/promotions.css */

/* Base styles for the promotions page content */
.page-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: var(--background-color, #FFFFFF); /* Use shared background, default to white */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__dark-section {
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF; /* White text for dark background */
}

.page-promotions__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from section (dark or light) */
}

.page-promotions__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* Hero Section */
.page-promotions__hero-section {
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-promotions__hero-section .page-promotions__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-promotions__hero-content {
    flex: 1;
    min-width: 300px;
    z-index: 1;
}

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

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
    max-width: 600px;
}

.page-promotions__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

.page-promotions__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-promotions__btn-primary:hover {
    background-color: #FF8C00;
    border-color: #FF8C00;
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #FFFFFF; /* White text for dark section */
    border: 2px solid #FFFFFF;
}

.page-promotions__dark-section .page-promotions__btn-secondary {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-promotions__light-bg .page-promotions__btn-secondary {
    color: #26A9E0; /* Primary color for light section */
    border-color: #26A9E0;
}

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

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

/* Card styles */
.page-promotions__card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    color: #333333;
    transition: transform 0.3s ease;
}

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

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

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

.page-promotions__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for card titles */
}

.page-promotions__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* VIP Section */
.page-promotions__vip-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    color: #FFFFFF;
}

.page-promotions__vip-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-promotions__vip-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions__vip-icon {
    margin-bottom: 20px;
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
    object-fit: contain;
    min-width: 200px; /* Enforce min display size as per the rule */
    min-height: 200px;
}

.page-promotions__vip-item-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.page-promotions__vip-item-text {
    font-size: 0.95em;
    color: #F0F0F0;
}

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

.page-promotions__event-card .page-promotions__card-image {
    height: 200px; /* Smaller height for event cards */
}

/* Terms List */
.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}