/* Mophyz Breakfast Menu — translucent glass cards */

.bfm-menu {
    --bfm-gold: #f59e0b;
    --bfm-gold-soft: rgba(245, 158, 11, 0.16);
    --bfm-crimson: #9b1c31;
    --bfm-glass: rgba(28, 28, 32, 0.55);
    --bfm-glass-border: rgba(255, 255, 255, 0.14);
    --bfm-radius: 1.65rem;
    --bfm-radius-sm: 1.15rem;
    --bfm-muted: rgba(255, 255, 255, 0.68);
}

/* Nav pills — not sticky */
.bfm-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    padding: 1.5rem clamp(1rem, 3vw, 2rem) 0;
}

.bfm-nav__link {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    background: var(--bfm-glass);
    border: 1px solid var(--bfm-glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
    text-decoration: none;
}

.bfm-nav__link:hover {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fff;
    transform: translateY(-1px);
}

.bfm-section {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    max-width: 76rem;
    margin: 0 auto;
}

.bfm-section__head {
    text-align: center;
    margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.bfm-section__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.bfm-section__title span {
    color: var(--bfm-gold);
}

.bfm-section__subtitle {
    color: var(--bfm-muted);
    font-size: 0.95rem;
    max-width: 36rem;
    margin: 0 auto;
}

.bfm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
    gap: clamp(1.1rem, 2vw, 1.65rem);
}

/* Translucent glass cards */
.bfm-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--bfm-radius);
    overflow: hidden;
    background: var(--bfm-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--bfm-glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    color: #fff;
}

.bfm-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.28);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bfm-card--featured {
    grid-column: span 1;
}

@media (min-width: 900px) {
    .bfm-card--featured {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1.12fr 0.88fr;
    }

    .bfm-card--featured .bfm-card__media {
        min-height: 100%;
    }

    .bfm-card--featured .bfm-card__body {
        justify-content: center;
    }
}

.bfm-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    margin: 0.65rem 0.65rem 0;
    border-radius: var(--bfm-radius-sm);
}

.bfm-card--featured .bfm-card__media {
    aspect-ratio: auto;
    min-height: 13rem;
    margin: 0.75rem 0 0.75rem 0.75rem;
    border-radius: var(--bfm-radius-sm);
}

.bfm-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
}

.bfm-card__price-tag {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: rgba(155, 28, 49, 0.92);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.bfm-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.92);
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bfm-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.1rem 1.25rem 1.3rem;
    gap: 0.5rem;
}

.bfm-card__name {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.32;
    color: var(--bfm-gold);
}

.bfm-card__desc {
    font-size: 0.82rem;
    line-height: 1.58;
    color: var(--bfm-muted);
    flex: 1;
}

.bfm-card__note {
    font-size: 0.71rem;
    font-weight: 600;
    color: rgba(255, 180, 180, 0.85);
    line-height: 1.45;
}

.bfm-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 1.25rem;
}

.bfm-compact .bfm-card {
    flex-direction: row;
}

.bfm-compact .bfm-card__media {
    width: 38%;
    min-width: 7.5rem;
    aspect-ratio: 1;
    flex-shrink: 0;
    margin: 0.65rem 0 0.65rem 0.65rem;
}

.bfm-compact .bfm-card__body {
    justify-content: center;
}

.bfm-tea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 1rem;
    max-width: 52rem;
    margin: 0 auto;
}

.bfm-tea {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.2rem 1.25rem;
    border-radius: var(--bfm-radius);
    background: var(--bfm-glass);
    border: 1px solid var(--bfm-glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.bfm-tea:hover {
    border-color: rgba(245, 158, 11, 0.28);
    transform: translateY(-3px);
}

.bfm-tea__row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.bfm-tea__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bfm-gold-soft);
    color: var(--bfm-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bfm-tea__content {
    flex: 1;
    min-width: 0;
}

.bfm-tea__name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.bfm-tea__desc {
    font-size: 0.8rem;
    color: var(--bfm-muted);
    margin-bottom: 0.35rem;
}

.bfm-tea__price {
    font-weight: 700;
    color: var(--bfm-gold);
    font-size: 0.88rem;
}

.bfm-reserve {
    margin: 0 clamp(1rem, 3vw, 2rem) 3rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    text-align: center;
    border-radius: var(--bfm-radius);
    background: var(--bfm-glass);
    border: 1px solid rgba(245, 158, 11, 0.22);
    backdrop-filter: blur(12px);
}

.bfm-reserve h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bfm-reserve p {
    color: var(--bfm-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.bfm-reserve a {
    display: inline-flex;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    background: var(--bfm-gold);
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.bfm-reserve a:hover {
    transform: scale(1.04);
    color: #1a1a1a;
}

@media (prefers-reduced-motion: reduce) {
    .bfm-card,
    .bfm-tea,
    .bfm-nav__link {
        transition: none;
    }

    .bfm-card:hover,
    .bfm-tea:hover {
        transform: none;
    }
}
