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

/* Variables for consistent styling */
:root {
    --page-promotions-daily-rebates-primary-color: #0A192F; /* Deep Tech Blue */
    --page-promotions-daily-rebates-secondary-color: #FFD700; /* Luxury Gold */
    --page-promotions-daily-rebates-text-light: #F0F2F5; /* Off-white for dark backgrounds */
    --page-promotions-daily-rebates-text-dark: #1A1A1A; /* Dark for light backgrounds */
    --page-promotions-daily-rebates-background-light: #FFFFFF;
    --page-promotions-daily-rebates-background-dark: #0A192F;
    --page-promotions-daily-rebates-button-hover-dark: #071221;
    --page-promotions-daily-rebates-button-hover-light: #e6c200;
}

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

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

/* Hero Section */
.page-promotions-daily-rebates__hero {
    position: relative;
    background-color: var(--page-promotions-daily-rebates-primary-color);
    color: var(--page-promotions-daily-rebates-text-light);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-promotions-daily-rebates__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
    z-index: 1;
}

.page-promotions-daily-rebates__hero .page-promotions-daily-rebates__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-promotions-daily-rebates__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-promotions-daily-rebates-secondary-color);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-promotions-daily-rebates__subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--page-promotions-daily-rebates-text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-daily-rebates__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions-daily-rebates__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-promotions-daily-rebates__button--primary {
    background-color: var(--page-promotions-daily-rebates-secondary-color);
    color: var(--page-promotions-daily-rebates-primary-color);
}

.page-promotions-daily-rebates__button--primary:hover {
    background-color: var(--page-promotions-daily-rebates-button-hover-light);
    transform: translateY(-3px);
}

.page-promotions-daily-rebates__button--secondary {
    background-color: transparent;
    color: var(--page-promotions-daily-rebates-secondary-color);
    border: 2px solid var(--page-promotions-daily-rebates-secondary-color);
}

.page-promotions-daily-rebates__button--secondary:hover {
    background-color: var(--page-promotions-daily-rebates-secondary-color);
    color: var(--page-promotions-daily-rebates-primary-color);
    transform: translateY(-3px);
}

/* General Section Styling */
.page-promotions-daily-rebates__section {
    padding: 80px 0;
    text-align: left;
}

.page-promotions-daily-rebates__section:nth-of-type(even) {
    background-color: #F8F8F8; /* Light grey for contrast */
}

.page-promotions-daily-rebates__heading {
    font-size: 2.5em;
    color: var(--page-promotions-daily-rebates-primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

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

.page-promotions-daily-rebates__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-promotions-daily-rebates-text-dark);
    line-height: 1.8;
}

.page-promotions-daily-rebates__paragraph a {
    color: var(--page-promotions-daily-rebates-primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions-daily-rebates__paragraph a:hover {
    color: var(--page-promotions-daily-rebates-secondary-color);
}

.page-promotions-daily-rebates__keyword {
    color: var(--page-promotions-daily-rebates-primary-color);
    font-weight: bold;
}

.page-promotions-daily-rebates__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Feature Grid (Details Section) */
.page-promotions-daily-rebates__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-daily-rebates__feature-item {
    background-color: var(--page-promotions-daily-rebates-background-light);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-daily-rebates__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rebates__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-promotions-daily-rebates__feature-title {
    font-size: 1.5em;
    color: var(--page-promotions-daily-rebates-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-daily-rebates__feature-description {
    font-size: 1em;
    color: var(--page-promotions-daily-rebates-text-dark);
    line-height: 1.7;
}

/* Steps List (How-To Section) */
.page-promotions-daily-rebates__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 40px;
}