/* style/promotions.css */

/* Base styles for the page content */
.page-promotions {
    color: #ffffff; /* Default text color for dark body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Ensure links in dark sections are visible */
.page-promotions__link--light {
    color: #E0B400; /* Auxiliary color for links on dark background */
    text-decoration: underline;
}

.page-promotions__link--light:hover {
    color: #ffc107; /* Lighter gold on hover */
}

/* Section styling */
.page-promotions__section {
    padding: 60px 20px;
    text-align: center;
}

.page-promotions__dark-bg {
    background-color: #0A2E54; /* Main brand color for dark sections */
    color: #ffffff; /* White text for dark backgrounds */
}

.page-promotions__light-bg {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333; /* Dark text for light backgrounds */
}

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

.page-promotions__text-dark {
    color: #333333;
}


.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Consistent padding for content */
}

.page-promotions__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #E0B400; /* Auxiliary color for titles */
}

.page-promotions__dark-bg .page-promotions__section-title {
    color: #E0B400; /* Auxiliary color for titles on dark background */
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    padding: 120px 20px 60px; /* Adjust padding-top for fixed header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: #ffffff;
}

.page-promotions__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E0B400; /* Highlight with auxiliary color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* 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;
    margin: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-promotions__btn-primary {
    background-color: #E0B400; /* Auxiliary color */
    color: #0A2E54; /* Main color for text */
    border-color: #E0B400;
}

.page-promotions__btn-primary:hover {
    background-color: #ffc107; /* Slightly lighter gold */
    border-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #E0B400; /* Auxiliary color */
    border-color: #E0B400;
}

.page-promotions__btn-secondary:hover {
    background-color: #E0B400;
    color: #0A2E54;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__promo-card {
    background-color: #ffffff; /* White background for cards */
    color: #333333; /* Dark text for white background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
    min-width: 200px; /* Ensure image meets minimum size */
    min-height: 200px; /* Ensure image meets minimum size */
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: #0A2E54; /* Main brand color for card titles */
    margin-bottom: 15px;
}

.page-promotions__card-text {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow and push button down */
}

/* Links within cards */
.page-promotions__promo-card .page-promotions__link {
    color: #0A2E54;
    text-decoration: underline;
}

.page-promotions__promo-card .page-promotions__link:hover {
    color: #E0B400;
}

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

.page-promotions__step-item {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-promotions__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Ensure image meets minimum size */
    min-height: 200px; /* Ensure image meets minimum size */
}

.page-promotions__step-title {
    font-size: 1.4em;
    color: #0A2E54;
    margin-bottom: 10px;
}

.page-promotions__step-text {
    font-size: 0.95em;
    line-height: 1.5;
}