/* Village Baker — Catering Page */

/* ---------- Header banner ---------- */
.vb-ct-header {
    width: 100vw;
    margin-left: -50vw;
    position: relative;
    left: 50%;
    box-sizing: border-box;
    background: #1e1410;
    padding: 56px 24px;
    text-align: center;
}

.vb-ct-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 6vw, 52px);
    color: #f5f0e8;
    letter-spacing: 2px;
    margin: 0 0 12px;
    line-height: 1.1;
}

.vb-ct-header p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 2vw, 17px);
    color: #a89882;
    margin: 0 0 28px;
    line-height: 1.6;
}

.vb-ct-header__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.vb-ct-header__buttons a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s ease, background 0.2s ease;
}

.vb-ct-btn-primary {
    color: #fff;
    background: #483225;
}

.vb-ct-btn-primary:hover {
    background: #3a2a1a;
    color: #b0b579;
    transform: translateY(-2px);
}

.vb-ct-btn-outline {
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.vb-ct-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ---------- Sticky nav ---------- */
.vb-ct-nav {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 100;
    transition: box-shadow 0.2s ease;
}

.vb-ct-nav.fixed {
    position: fixed;
    left: 0;
    right: 0;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vb-ct-nav-spacer {
    display: none;
}

.vb-ct-nav-spacer.active {
    display: block;
}

.vb-ct-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.vb-ct-nav__inner::-webkit-scrollbar {
    display: none;
}

.vb-ct-nav__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    padding: 14px 16px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.vb-ct-nav__link:hover {
    color: #483225;
    text-decoration: none;
}

.vb-ct-nav__link.active {
    color: #483225;
    border-bottom-color: #b0b579;
}

/* ---------- Category section ---------- */
.vb-ct-section {
    width: 100vw;
    margin-left: -50vw;
    position: relative;
    left: 50%;
    box-sizing: border-box;
}

/* ---------- Mini hero ---------- */
.vb-ct-hero {
    position: relative;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.vb-ct-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.vb-ct-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 20%, rgba(30, 20, 15, 0.7));
}

.vb-ct-hero h2 {
    position: relative;
    z-index: 1;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    color: #f5f0e8;
    letter-spacing: 2px;
    margin: 0;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

/* No hero image fallback */
.vb-ct-hero--plain {
    height: auto;
    background: #f9f7f4;
    padding: 40px 24px;
}

.vb-ct-hero--plain h2 {
    color: #483225;
}

/* ---------- Items list ---------- */
.vb-ct-items {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.vb-ct-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0ece6;
}

.vb-ct-item__img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.vb-ct-item__img-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #f5f3ef;
    flex-shrink: 0;
    display: none;
    /* hidden when no image */
}

.vb-ct-item__body {
    flex: 1;
    min-width: 0;
}

.vb-ct-item__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.vb-ct-item__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #483225;
    margin: 0;
}

.vb-ct-item__serving {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #b0b579;
    white-space: nowrap;
    margin: 0;
}

.vb-ct-item__desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #8a7e6e;
    line-height: 1.6;
    margin: 4px 0 0;
}

/* ---------- Category description ---------- */
.vb-ct-section__desc {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #6b5a4e;
    line-height: 1.7;
}

/* ---------- Alternating section backgrounds ---------- */
.vb-ct-section:nth-child(even) .vb-ct-items {
    /* subtle difference for rhythm — kept white for now */
}

/* ---------- Form section ---------- */
.vb-ct-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.vb-ct-form h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 4vw, 36px);
    color: #483225;
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.vb-ct-form .vb-accent {
    width: 48px;
    height: 3px;
    background: #b0b579;
    margin: 0 auto 16px;
    border-radius: 2px;
}

.vb-ct-form p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #6b5a4e;
    line-height: 1.7;
    margin: 0 0 32px;
}

/* ---------- SEO paragraph ---------- */
.vb-ct-seo {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 24px 60px;
    text-align: center;
}

.vb-ct-seo p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #999;
    line-height: 1.8;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .vb-ct-items {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vb-ct-nav {
        top: 68px;
    }

    .admin-bar .vb-ct-nav {
        top: 114px;
    }

    .vb-ct-hero {
        height: 140px;
    }

    .vb-ct-item__img {
        width: 64px;
        height: 64px;
    }
}
