/*
 * Vintage Gatherings — Corporate Hire Page
 * Design & Bloom | May 2026
 * All styles scoped to .vgh-hire-page — zero bleed onto existing site
 * ========================================================================
 */

/* ---- RESET & BASE ---- */
.vgh-hire-page *,
.vgh-hire-page *::before,
.vgh-hire-page *::after {
    box-sizing: border-box;
}

.vgh-hire-page {
    font-family: 'Zilla Slab', Georgia, serif;
    color: #7A7A7A;
    line-height: 1.6;
}

.vgh-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ======================================================================
   HERO
====================================================================== */

.vgh-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .vgh-hero {
        height: 500px;
    }
}

.vgh-hero__image-wrap {
    position: absolute;
    inset: 0;
    background: #86B9BA; /* teal fallback when no image is set */
}

.vgh-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vgh-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
}

.vgh-hero__content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.vgh-hero__inner {
    max-width: 760px;
}

.vgh-hero__title {
    color: #ffffff;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0 0 16px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .vgh-hero__title {
        font-size: 3.25rem;
    }
}

.vgh-hero__subtitle {
    color: #ffffff;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 1.0625rem;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .vgh-hero__subtitle {
        font-size: 1.25rem;
    }
}


/* ======================================================================
   HOW IT WORKS
====================================================================== */

.vgh-how-it-works {
    padding: 64px 0;
    background: #ffffff;
}

.vgh-section-title {
    text-align: center;
    color: #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 400;
    margin: 0 0 48px;
    font-size: 2rem;
}

.vgh-how-it-works__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .vgh-how-it-works__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

.vgh-step {
    text-align: center;
}

.vgh-step__circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #86B9BA;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.vgh-step__number {
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

.vgh-step__title {
    color: #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-weight: 400;
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.vgh-step__desc {
    color: #7A7A7A;
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}


/* ======================================================================
   CATALOGUE SECTION
====================================================================== */

.vgh-catalogue {
    padding: 40px 0 100px;
    background: #ffffff;
}


/* ---- CATEGORY FILTER ---- */

.vgh-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 32px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.vgh-filter::-webkit-scrollbar {
    display: none;
}

.vgh-filter__btn {
    flex-shrink: 0;
    padding: 10px 20px;
    border: 1px solid #86B9BA;
    background: #ffffff;
    color: #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 0.9375rem;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.vgh-filter__btn:hover:not(.vgh-filter__btn--active) {
    background: #f4f4f4;
}

.vgh-filter__btn--active {
    background: #86B9BA;
    color: #ffffff;
}


/* ---- PRODUCT GRID ---- */

.vgh-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 600px) {
    .vgh-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vgh-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vgh-no-results {
    text-align: center;
    padding: 80px 0;
    color: #999999;
    font-size: 1.0625rem;
}


/* ---- PRODUCT CARD ---- */

.vgh-card {
    background: transparent;
    border: none;
    padding: 0;
    transition: box-shadow 0.3s ease;
}

.vgh-card:hover {
    box-shadow: none;
}

.vgh-card__image-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f6f8f7;
    border: 8px solid #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grey overlay using darken blend — makes white image backgrounds 
   appear as the same grey (#f6f8f7) as the card background.
   Darken picks the darker of the two colours per pixel:
   white (255) vs grey (246) → grey wins.
   Dark product pixels → product always wins (darker).
   The hover overlay sits above this on z-index: 2. */
.vgh-card__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #f6f8f7;
    mix-blend-mode: darken;
    pointer-events: none;
    z-index: 1;
}

.vgh-card__image-wrap:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.vgh-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 0;
}

.vgh-card:hover .vgh-card__image {
    transform: none;
}

.vgh-card__no-image {
    width: 100%;
    height: 100%;
    background: #f6f8f7;
}

/* Hover overlay — sits above the grey darken overlay */
.vgh-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(134, 185, 186, 0.85);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.vgh-card:hover .vgh-card__overlay {
    opacity: 1;
}

.vgh-card__add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #ffffff;
    color: #86B9BA;
    border: 2px solid #ffffff;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 0.9375rem;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

.vgh-card__add-btn:hover,
.vgh-card__add-btn.is-added {
    background: #86B9BA;
    color: #ffffff;
}

/* Card info */
.vgh-card__info {
    padding: 0 8px 8px;
}

.vgh-card__name {
    color: #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0 0 8px;
    line-height: 1.3;
}

.vgh-card__desc {
    color: #7A7A7A;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4rem;
}

/* Mobile add button — visible below card on small screens */
.vgh-card__mobile-wrap {
    padding: 0 8px 8px;
}

@media (min-width: 768px) {
    .vgh-card__mobile-wrap {
        display: none;
    }
}

.vgh-card__mobile-btn {
    width: 100%;
    padding: 10px 16px;
    background: #86B9BA;
    color: #ffffff;
    border: 2px solid #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 0.9375rem;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.vgh-card__mobile-btn:hover,
.vgh-card__mobile-btn.is-added {
    background: #f4f4f4;
    color: #86B9BA;
    border-color: #86B9BA;
}

/* Icons */
.vgh-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}


/* ======================================================================
   SHARED BUTTONS
====================================================================== */

.vgh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 0.9375rem;
    font-weight: 400;
    cursor: pointer;
    border: none;
    background: none;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
    line-height: 1;
}

.vgh-btn--primary {
    background: #86B9BA;
    color: #ffffff;
    border-radius: 50px;  /* pill — matches existing site contact button */
}

.vgh-btn--primary:hover {
    background: #7A7A7A;
    color: #ffffff;
}

.vgh-btn--secondary {
    background: transparent;
    color: #86B9BA;
    border: 1px solid #86B9BA;
    border-radius: 0;
}

.vgh-btn--secondary:hover {
    background: #f4f4f4;
}

.vgh-btn--back {
    background: transparent;
    color: #7A7A7A;
    padding: 8px 0;
    font-size: 0.875rem;
    border-radius: 0;
}

.vgh-btn--back:hover {
    color: #86B9BA;
}


/* ======================================================================
   FLOATING QUOTE BASKET
====================================================================== */

.vgh-basket {
    position: fixed;
    top: 52px;
    right: 24px;
    z-index: 200;
}

.vgh-basket__btn {
    background: #86B9BA;
    color: #ffffff;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
    font-family: 'Zilla Slab', Georgia, serif;
    border-radius: 0;
    transition: background 0.25s ease;
}

.vgh-basket__btn:hover {
    background: #7A7A7A;
}

.vgh-basket__icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.vgh-basket__badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ffffff;
    color: #86B9BA;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.vgh-basket__label {
    text-align: left;
}

.vgh-basket__label-main {
    font-size: 0.875rem;
    line-height: 1.2;
    display: block;
}

.vgh-basket__label-sub {
    font-size: 0.75rem;
    opacity: 0.85;
    line-height: 1.2;
    display: block;
}


/* ======================================================================
   MODAL OVERLAY
====================================================================== */

.vgh-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    z-index: 500;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.vgh-overlay--centred {
    align-items: center;
    justify-content: center;
}

/* ======================================================================
   MODAL BASE
====================================================================== */

.vgh-modal {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    animation: vgh-slide-in 0.28s ease-out;
    position: relative;
}

@keyframes vgh-slide-in {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

.vgh-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #EAEAEA;
    flex-shrink: 0;
    gap: 12px;
}

.vgh-modal__title {
    color: #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    flex: 1;
}

.vgh-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #7A7A7A;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
    border-radius: 0;
}

.vgh-modal__close:hover {
    color: #2D2D2D;
}


/* ---- EMPTY STATE ---- */

.vgh-modal__empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    gap: 8px;
}

.vgh-modal__empty-title {
    color: #7A7A7A;
    font-size: 1.0625rem;
    margin: 12px 0 0;
}

.vgh-modal__empty-sub {
    color: #999999;
    font-size: 0.875rem;
    margin: 0 0 20px;
}


/* ---- ITEMS LIST ---- */

.vgh-modal__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.vgh-quote-items {
    flex: 1;
    padding: 8px 24px 0;
    overflow-y: auto;
}

/* Individual item row */
.vgh-quote-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #EAEAEA;
}

.vgh-quote-item__image {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid #EAEAEA;
    background: #fff;
}

.vgh-quote-item__placeholder {
    width: 56px;
    height: 56px;
    background: #f4f4f4;
    flex-shrink: 0;
    border: 1px solid #EAEAEA;
}

.vgh-quote-item__name {
    flex: 1;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 0.9375rem;
    color: #2D2D2D;
    margin: 0;
    line-height: 1.3;
}

.vgh-quote-item__qty {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.vgh-qty-btn {
    width: 28px;
    height: 28px;
    background: #f4f4f4;
    border: 1px solid #EAEAEA;
    color: #7A7A7A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    line-height: 1;
    border-radius: 0;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
    font-family: Arial, sans-serif;
}

.vgh-qty-btn:hover {
    background: #86B9BA;
    color: #ffffff;
    border-color: #86B9BA;
}

.vgh-qty-num {
    min-width: 28px;
    text-align: center;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 0.9375rem;
    color: #2D2D2D;
}

.vgh-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #cccccc;
    padding: 4px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
    border-radius: 0;
}

.vgh-remove-btn:hover {
    color: #cc4444;
}


/* ---- MODAL FOOTER ---- */

.vgh-modal__footer {
    padding: 16px 24px 28px;
    border-top: 1px solid #EAEAEA;
    flex-shrink: 0;
}

.vgh-modal__total {
    color: #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 1rem;
    margin: 0 0 16px;
}

.vgh-modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* ======================================================================
   QUOTE FORM MODAL
====================================================================== */

.vgh-modal--form {
    max-width: 820px;
}

.vgh-form-layout {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

@media (min-width: 640px) {
    .vgh-form-layout {
        flex-direction: row;
        overflow-y: unset;
    }
}

.vgh-form-layout__main {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.vgh-modal__subtitle {
    color: #7A7A7A;
    font-size: 0.9375rem;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* Sidebar */
.vgh-form-layout__sidebar {
    width: 100%;
    background: #f4f4f4;
    padding: 24px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .vgh-form-layout__sidebar {
        width: 220px;
        overflow-y: auto;
    }
}

.vgh-sidebar__title {
    color: #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0 0 16px;
}

.vgh-sidebar__items {
    margin-bottom: 8px;
}

.vgh-sidebar__row {
    font-size: 0.875rem;
    color: #2D2D2D;
    padding: 6px 0;
    border-bottom: 1px solid #EAEAEA;
    line-height: 1.3;
}

.vgh-sidebar__divider {
    height: 1px;
    background: #EAEAEA;
    margin: 12px 0;
}

.vgh-sidebar__total {
    color: #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 0.9375rem;
    margin: 0 0 12px;
}

.vgh-sidebar__note {
    font-size: 0.75rem;
    color: #999999;
    margin: 0;
    line-height: 1.5;
}


/* ======================================================================
   CONTACT FORM 7 — scoped styles
====================================================================== */

.vgh-hire-page .wpcf7 {
    margin: 0;
    padding: 0;
}

.vgh-hire-page .wpcf7-form p {
    margin-bottom: 16px;
}

.vgh-hire-page .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}

.vgh-hire-page .wpcf7-form input[type="text"],
.vgh-hire-page .wpcf7-form input[type="email"],
.vgh-hire-page .wpcf7-form input[type="tel"],
.vgh-hire-page .wpcf7-form input[type="date"],
.vgh-hire-page .wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #EAEAEA;
    background: #ffffff;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 0.9375rem;
    color: #2D2D2D;
    border-radius: 0;
    outline: none;
    transition: border-color 0.25s ease;
    box-sizing: border-box;
    display: block;
}

.vgh-hire-page .wpcf7-form input:focus,
.vgh-hire-page .wpcf7-form textarea:focus {
    border-color: #86B9BA;
}

.vgh-hire-page .wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}

.vgh-hire-page .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 14px 32px;
    background: #86B9BA;
    color: #ffffff;
    border: none;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 0.9375rem;
    font-weight: 400;
    cursor: pointer;
    border-radius: 50px;
    margin-top: 8px;
    transition: background 0.25s ease;
}

.vgh-hire-page .wpcf7-form input[type="submit"]:hover {
    background: #7A7A7A;
}

.vgh-hire-page .wpcf7-not-valid-tip {
    color: #cc4444;
    font-size: 0.8125rem;
    display: block;
    margin-top: 4px;
}

.vgh-hire-page .wpcf7-response-output {
    border: none !important;
    padding: 12px 16px !important;
    margin: 16px 0 0 !important;
    font-size: 0.875rem;
}

.vgh-hire-page .wpcf7-form.sent .wpcf7-response-output {
    background: #f0f9f9;
    color: #86B9BA;
}

.vgh-hire-page .wpcf7-form.invalid .wpcf7-response-output,
.vgh-hire-page .wpcf7-form.failed .wpcf7-response-output {
    background: #fff0f0;
    color: #cc4444;
}

.vgh-hire-page .wpcf7-spinner {
    display: none;
}


/* ======================================================================
   SUCCESS MODAL
====================================================================== */

.vgh-modal--success {
    max-width: 480px;
    height: auto;
    min-height: auto;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: vgh-fade-in 0.3s ease-out;
}

@keyframes vgh-fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.vgh-success__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #86B9BA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.vgh-success__title {
    color: #86B9BA;
    font-family: 'Zilla Slab', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 16px;
    line-height: 1.2;
}

.vgh-success__body {
    color: #7A7A7A;
    font-size: 1.0625rem;
    margin: 0 0 36px;
    line-height: 1.6;
    max-width: 380px;
}
