/* style/promotions.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-promotions {
    background-color: var(--color-background);
    color: var(--color-text-main); /* Main text color for the page, light on dark background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 0 40px; /* Adjusted padding for content below image */
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden; /* Ensure content doesn't overflow */
    background-color: var(--color-deep-green); /* A darker green for the hero background */
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Match container width for image */
    margin-bottom: 30px; /* Space between image and text content */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive H1 size */
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-promotions__intro-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Common Styles */
.page-promotions__dark-section {
    background-color: var(--color-card-bg); /* Darker background for sections */
    padding: 80px 0;
    text-align: center;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2), inset 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__light-bg {
    background-color: var(--color-background); /* Lighter background for contrast */
    padding: 80px 0;
    text-align: center;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-promotions__section-description {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient-start); /* Fallback for gradient */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main); /* White-ish text on green button */
    border: 2px solid var(--color-button-gradient-start);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--color-secondary); /* Green text on transparent/dark background */
    border: 2px solid var(--color-secondary);
    margin-left: 20px;
}

.page-promotions__btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-main); /* White-ish text on hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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