/* wwwroot/css/offers.css */

/* Section wrapper */
#offers {
    padding: 3rem 1rem;
    background-color: #060C16;
}

    #offers .offers-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Intro */
    #offers .offers-header {
        margin-bottom: 2rem;
    }

    #offers .offers-title {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    #offers .offers-subtitle {
        font-size: 0.95rem;
        color: #6b7280;
        max-width: 640px;
    }

/* Card grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Card */
.offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    padding: 1.25rem 1.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .offer-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    }

/* Badge + title */
.offer-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background-color: #e0f2fe;
    color: #0369a1;
    margin-bottom: 0.75rem;
}

.offer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #060C16;
}

/* Content blocks */
.offer-block {
    margin-bottom: 0.75rem;
}

    .offer-block:last-of-type {
        margin-bottom: 1.25rem;
    }

.offer-block-heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.offer-block-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
}

/* CTA area */
.offer-cta {
    margin-top: auto;
}

.offer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

    .offer-cta-button:hover,
    .offer-cta-button:focus {
        outline: none;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45);
    }

.offer-cta-microcopy {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Responsive typography tweaks */
@media (max-width: 768px) {
    #offers {
        padding: 2.5rem 0.75rem;
    }

        #offers .offers-title {
            font-size: 1.5rem;
        }

    .offer-card {
        padding: 1.1rem 1.25rem;
    }

    .offer-title {
        font-size: 1rem;
    }

    .offer-block-text {
        font-size: 0.88rem;
    }

    .offer-cta-button {
        font-size: 0.88rem;
        padding: 0.7rem 0.9rem;
    }
}

@media (max-width: 480px) {
    #offers {
        padding: 2rem 0.5rem;
    }

    .offers-grid {
        grid-template-columns: 1fr; /* single column on small screens */
    }

    .offer-card {
        border-radius: 0.7rem;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    }

    .offer-cta-button {
        padding: 0.75rem 1rem;
        /* Keep CTAs easily tappable (>= 44px height) [web:86][web:92] */
    }
}
