﻿/* =========================================
   OFFERS PAGE CUSTOM STYLES (NEW COLORS)
   ========================================= */

:root {
    --primary: #DB6A9E;        /* Pink */
    --primary-dark: #662D91;   /* Purple */
    --secondary: #FFF0F7;      /* Soft Pink BG */
    --text-dark: #1a1a1a;
    --text-body: #4a4a4a;
    --bg-light: #FCF8FA;
    --bg-page: #FDFDFD;
    --border-color: #F0E6EB;
}

.offers-page {
    background-color: var(--bg-page);
    min-height: 100vh;
}

.section-padding { padding: 80px 0; }
.section-padding-bottom { padding-bottom: 80px; }
.text-center { text-align: center; }

/* Headings */
.sd-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.sd-heading span { color: var(--primary); }

/* --- 1. Header Banner --- */
.offers-header-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 45px 0;
}
.offers-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.offers-page-title {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
}
.offers-page-title span { color: var(--primary-dark); }

.offers-breadcrumb {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.offers-breadcrumb a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}
.offers-breadcrumb a:hover { color: var(--primary-dark); }
.offers-breadcrumb span { color: var(--primary-dark); }

/* --- 2. Offers Grid --- */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offer-card {
    background: #fff;
    border-radius: 20px; /* More rounded for premium feel */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(219, 106, 158, 0.12);
    border-color: var(--primary);
}

.offer-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.offer-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fit;
    transition: transform 0.6s ease;
}
.offer-card:hover .offer-img-wrapper img { transform: scale(1.1); }

/* Re-enabled the Overlay with new Purple/Pink style */
.offer-badge {
    background: var(--primary-dark);
    color: #fff;
    padding: 8px 15px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.offer-content {
    padding: 30px 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.offer-content h3 {
    font-size: 20px;
    color: #000;
    margin: 0 0 15px;
    font-weight: 800;
}
.offer-content p {
    font-size: 14px;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.6;
}

.offer-footer {
    border-top: 1px dashed var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}
.offer-btn {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
}
.offer-btn:hover { color: var(--primary-dark); letter-spacing: 1.5px; }

/* Base Primary Button */
.btn-primary {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 16px 35px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(219, 106, 158, 0.2);
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(219, 106, 158, 0.3);
}

/* 4. Full Width CTA Section */
.sd-cta-section {
    background-color: var(--secondary);
    width: 100%;
    border-top: 1px solid var(--border-color);
}

/* Responsive Queries */
@media (max-width: 1024px) {
    .offers-grid { grid-template-columns: repeat(2, 1fr); }
    .offers-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .offers-grid { grid-template-columns: 1fr; }
    .offers-page-title { font-size: 28px; }
    .offers-header-flex { align-items: center; text-align: center; }
}