﻿/* =========================================
   OFFERS PAGE  —  offers.css
   Matches screenshot: hero + 2-col cards +
   FREE badge + yellow button + teal CTA bar
   ========================================= */

/* ── Variables ── */
:root {
    --op-cyan:        #29C3D4;
    --op-cyan-dark:   #1FA8B8;
    --op-yellow:      #F0A500;
    --op-yellow-dark: #D08C00;
    --op-dark:        #1a1a1a;
    --op-text:        #444;
    --op-border:      #e5e9f0;
    --op-white:       #ffffff;
    --op-bg:          #f4f4f4;
    --op-shadow:      0 4px 20px rgba(0,0,0,.08);
}

/* ── Page wrapper ── */
.op-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* =========================================
   1. HERO BANNER
   ========================================= */
.op-hero {
    position: relative;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.op-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .50);
}

.op-hero-content {
    position: relative;
    z-index: 2;
}

.op-hero-content h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

/* Short yellow underline — exactly like the screenshot */
.op-hero-underline {
    width: 60px;
    height: 4px;
    background: var(--op-yellow);
    border-radius: 2px;
    margin: 0 auto;
}

/* =========================================
   2. OFFERS SECTION
   ========================================= */
.op-section {
    background: var(--op-bg);
    padding: 50px 0 60px;
}

/* 2-column grid — matches screenshot */
.op-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ── Card ── */
.op-card {
    background: var(--op-white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--op-border);
    box-shadow: var(--op-shadow);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}

.op-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

/* Image area */
.op-card-img {
    width: 100%;
    overflow: hidden;
    background: #eee;
    /* let the image dictate height naturally so the coupon graphic shows fully */
    line-height: 0;
}

.op-card-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s ease;
}

.op-card:hover .op-card-img img {
    transform: scale(1.03);
}

/* Body */
.op-card-body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.op-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--op-dark);
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.3;
}

/* FREE tag badge — matches the yellow tag icon + "FREE" text in screenshot */
.op-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--op-yellow);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.op-tag-icon {
    width: 16px;
    height: 16px;
    fill: var(--op-yellow);
    flex-shrink: 0;
}

/* Description */
.op-card-desc {
    font-size: 14px;
    color: var(--op-text);
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 340px;
}

/* Yellow READ MORE button — exactly like screenshot */
.op-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--op-yellow);
    color: var(--op-white);
    padding: 11px 26px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: background .25s ease, transform .2s ease;
    margin-top: auto;
}

.op-read-more-btn:hover {
    background: var(--op-yellow-dark);
    color: var(--op-white);
    transform: translateY(-1px);
}

.op-btn-arrow {
    font-size: 11px;
    line-height: 1;
}

/* =========================================
   3. BOTTOM CTA BAR
   ========================================= */
.op-cta-bar {
    background: var(--op-cyan);
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.op-cta-text {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.op-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--op-yellow);
    color: var(--op-white);
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    white-space: nowrap;
    transition: background .25s;
}

.op-cta-btn:hover {
    background: var(--op-yellow-dark);
    color: var(--op-white);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .op-hero         { height: 160px; }
    .op-hero-content h1 { font-size: 26px; }

    .op-grid         { grid-template-columns: 1fr; }

    .op-section      { padding: 36px 0 48px; }

    .op-cta-bar      { gap: 20px; padding: 24px 20px; flex-direction: column; text-align: center; }
    .op-cta-text     { font-size: 18px; }
}

@media (max-width: 480px) {
    .op-hero-content h1 { font-size: 22px; }
    .op-card-body       { padding: 22px 20px 26px; }
    .op-card-title      { font-size: 16px; }
}