/* =========================================================
   FROTH CAFE — Seasonal specials
   Used on the homepage AND the menu page.
   ========================================================= */

.specials {
    padding: 72px 0 80px;
}

.specials-heading {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 44px;
}

.specials-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--froth-accent);
    margin-bottom: 12px;
}

.specials-heading h2 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin: 0 0 14px;
}

.specials-heading p {
    font-size: 1.1rem;
    color: var(--froth-muted);
    margin: 0;
}

/* ---------- Grid ---------- */
.specials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.special-card {
    background: var(--froth-white);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(20, 17, 16, 0.06), 0 8px 24px rgba(20, 17, 16, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.special-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 4px rgba(20, 17, 16, 0.06), 0 16px 32px rgba(20, 17, 16, 0.12);
}

.special-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(160deg, #efe3d0 0%, #d8c3a5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.special-card:hover .special-photo img {
    transform: scale(1.04);
}

/* Shows only when no photo URL has been added yet */
.special-placeholder {
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.15;
    color: rgba(20, 17, 16, 0.45);
    text-align: center;
    padding: 0 20px;
}

.special-body {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
}

.special-body h3 {
    font-size: 1.45rem;
    margin: 0 0 8px;
}

.special-body p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--froth-muted);
    margin: 0 0 18px;
    flex-grow: 1;
}

.special-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(47, 93, 58, 0.1);
    color: var(--froth-accent-2);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- Tablet: 2 across ---------- */
@media (max-width: 991.98px) {
    .specials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Phone: swipeable row ---------- */
@media (max-width: 600px) {
    .specials { padding: 52px 0 60px; }

    .specials-heading { margin-bottom: 28px; }

    .specials-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -5.5%;
        padding: 4px 5.5% 16px;
        scrollbar-width: none;
    }

    .specials-grid::-webkit-scrollbar { display: none; }

    .special-card {
        flex: 0 0 78%;
        scroll-snap-align: center;
    }
}
