/* style/promotions-daily-rebate.css */

/* Base styles for the page content */
.page-promotions-daily-rebate {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #1A202C; /* Main dark background */
    line-height: 1.6;
}

/* Container for content width */
.page-promotions-daily-rebate-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section styling */
.page-promotions-daily-rebate-section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions-daily-rebate-section:nth-of-type(even) {
    background-color: #2a3340; /* Slightly lighter dark for contrast */
}

/* Headings */
.page-promotions-daily-rebate-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions-daily-rebate-subtitle {
    font-size: 1.4em;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.page-promotions-daily-rebate-section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions-daily-rebate-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Buttons */
.page-promotions-daily-rebate-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 10px;
    cursor: pointer;
}

.page-promotions-daily-rebate-btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold */
    border: 2px solid #FFD700;
}

.page-promotions-daily-rebate-btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    border-color: #e6c200;
}

.page-promotions-daily-rebate-btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background */
    border: 2px solid #FFD700;
}

.page-promotions-daily-rebate-btn-secondary:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #1A202C; /* Dark text on gold */
}

/* Hero Section */
.page-promotions-daily-rebate-hero {
    background: linear-gradient(135deg, #1A202C 0%, #3a475a 100%); /* Gradient background */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Content wrapper for text and image side-by-side */
.page-promotions-daily-rebate-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-promotions-daily-rebate-content-wrapper:nth-child(even) {
    flex-direction: row-reverse; /* Alternate image/text order */
}

.page-promotions-daily-rebate-text-content {
    flex: 1;
}

.page-promotions-daily-rebate-text-content p {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-promotions-daily-rebate-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions-daily-rebate-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* How it works grid */
.page-promotions-daily-rebate-intro-text {
    font-size: 1.1em;
    margin-bottom: 50px;
    color: #e0e0e0;
}

.page-promotions-daily-rebate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-rebate-grid-item {
    background-color: #2a3340;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-daily-rebate-grid-item:hover {
    transform: translateY(-5px);
    background-color: #3e4c60;
}

.page-promotions-daily-rebate-grid-item h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin: 20px 0 10px;
}

.page-promotions-daily-rebate-grid-item p {
    color: #c0c0c0;
}

.page-promotions-daily-rebate-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: invert(80%) sepia(80%) saturate(2000%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Makes icon gold */
}

/* Benefits section */
.page-promotions-daily-rebate-benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-rebate-benefit-item {
    background-color: #2a3340;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-daily-rebate-benefit-item:hover {
    transform: translateY(-5px);
    background-color: #3e4c60;
}

.page-promotions-daily-rebate-benefit-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: invert(80%) sepia(80%) saturate(2000%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Makes icon gold */
}