/* ================================================================
   vc-catering.css — Catering Page + Gravity Forms override
   ================================================================ */

.vc-cat-page {
    background: #111;
    min-height: 100vh;
}

/* Hero — reuses .vc-page-hero base */
.vc-cat-page .vc-page-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 32rem;
    background: #0d0d0d center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.vc-cat-page .vc-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.72) 100%);
    z-index: 0;
}

.vc-cat-page .vc-page-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 var(--side-pad);
}

.vc-cat-page .vc-page-hero__title {
    font-family: 'Anton', sans-serif !important;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    margin: 0;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.vc-cat-page .vc-page-hero__subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.88);
    margin: 0;
}

.vc-cat-page .vc-page-hero__rule {
    width: 3rem;
    height: 1.5px;
    background: var(--c-gold);
    opacity: 0.65;
    margin-top: 0.5rem;
}


/* ================================================================
   INTRO TEXT
   ================================================================ */
.vc-cat-intro {
    background: #111;
    padding: 4rem var(--side-pad) 2.5rem;
    text-align: center;
}

.vc-cat-intro__text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    color: rgba(215,202,180,0.88);
    line-height: 1.80;
    max-width: 52rem;
    margin: 0 auto;
}


/* ================================================================
   SERVICES CARDS
   ================================================================ */
.vc-cat-services {
    background: #111;
    padding: 2rem var(--side-pad) 4rem;
}

.vc-cat-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.vc-cat-service-card {
    background: #1a1a1a;
    border: 1px solid rgba(232,160,44,0.18);
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: border-color 0.25s ease;
}

.vc-cat-service-card:hover {
    border-color: rgba(232,160,44,0.45);
}

.vc-cat-service-card__title {
    font-family: 'Anton', sans-serif !important;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.875rem;
    line-height: 1.2;
}

.vc-cat-service-card__desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: rgba(200,188,168,0.82);
    line-height: 1.6;
    margin: 0;
}


/* ================================================================
   FORM SECTION
   ================================================================ */
.vc-cat-form {
    background: #111;
    padding: 3rem var(--side-pad) 5rem;
}

.vc-cat-form__inner {
    max-width: 42rem;
    margin: 0 auto;
}

.vc-cat-form__title {
    font-family: 'Anton', sans-serif !important;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.625rem;
    text-align: center;
    line-height: 1.1;
}

.vc-cat-form__rule {
    width: 3.25rem;
    height: 2px;
    background: var(--c-gold);
    opacity: 0.80;
    margin: 0 auto 2.5rem;
}


/* ================================================================
   GRAVITY FORMS OVERRIDE
   Works WITH gravity-theme's native grid — only overrides visuals
   ================================================================ */

/* GF CSS variables override for gravity-theme */
.vc-cat-form__wrap .gform_wrapper.gravity-theme {
    --gf-color-bg:                #111;
    --gf-ctrl-bg:                 #1a1a1a;
    --gf-ctrl-border-color:       rgba(232,160,44,0.22);
    --gf-ctrl-border-color-hover: var(--c-gold);
    --gf-ctrl-color:              rgba(255,255,255,0.92);
    --gf-label-color:             #fff;
    --gf-sub-label-color:         rgba(255,255,255,0.40);
    --gf-font-size:               0.9375rem;
    --gf-ctrl-border-radius:      0;
    --gf-field-gap-y:             1.25rem;
    background: transparent !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide GF auto-generated form title */
.vc-cat-form__wrap .gform_title { display: none !important; }

/* Wrapper reset */
.vc-cat-form__wrap .gform_body { padding: 0 !important; }

/* Let GF handle the grid — just reset unwanted spacing */
.vc-cat-form__wrap .gform_fields {
    row-gap: 1.25rem !important;
    padding: 0 !important;
}

.vc-cat-form__wrap .gfield {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* Labels */
.vc-cat-form__wrap .gfield_label,
.vc-cat-form__wrap legend.gfield_label {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    margin-bottom: 0.375rem !important;
}

/* Required text */
.vc-cat-form__wrap .gfield_required,
.vc-cat-form__wrap .gfield_required_text {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic !important;
    letter-spacing: 0.06em !important;
    text-transform: lowercase !important;
    color: #fff !important;
    font-size: 0.6875rem !important;
}

/* All inputs, select, textarea */
.vc-cat-form__wrap input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.vc-cat-form__wrap select,
.vc-cat-form__wrap textarea {
    width: 100% !important;
    background: #1a1a1a !important;
    border: 1px solid rgba(232,160,44,0.22) !important;
    border-radius: 0 !important;
    color: rgba(255,255,255,0.92) !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.9375rem !important;
    padding: 0.75rem 1rem !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.vc-cat-form__wrap input:not([type="submit"]):focus,
.vc-cat-form__wrap select:focus,
.vc-cat-form__wrap textarea:focus {
    border-color: var(--c-gold) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Placeholder */
.vc-cat-form__wrap input::placeholder,
.vc-cat-form__wrap textarea::placeholder {
    color: rgba(255,255,255,0.22) !important;
    opacity: 1 !important;
}

/* Select custom arrow */
.vc-cat-form__wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e8a02c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.875rem center !important;
    padding-right: 2.5rem !important;
    cursor: pointer !important;
    color: rgba(255,255,255,0.92) !important;
}

.vc-cat-form__wrap select option {
    background: #1a1a1a !important;
    color: #fff !important;
}

/* Textarea */
.vc-cat-form__wrap textarea {
    min-height: 9rem !important;
    resize: vertical !important;
}

/* Name field — fix single name input to full width */
.vc-cat-form__wrap .ginput_container_name,
.vc-cat-form__wrap .ginput_complex.ginput_container {
    display: flex !important;
    gap: 0.875rem !important;
    width: 100% !important;
}

.vc-cat-form__wrap .ginput_complex .gform-grid-col {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
}

.vc-cat-form__wrap .ginput_complex .gform-grid-col input {
    width: 100% !important;
}

/* Sub-labels (Name, First, Last) */
.vc-cat-form__wrap .ginput_complex .gform-field-label--type-sub {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.625rem !important;
    letter-spacing: 0.08em !important;
    text-transform: capitalize !important;
    color: rgba(255,255,255,0.38) !important;
    margin-top: 0.25rem !important;
    display: block !important;
}

/* Hide honeypot field */
.vc-cat-form__wrap .gform_validation_container {
    display: none !important;
    visibility: hidden !important;
}

/* Validation errors */
.vc-cat-form__wrap .gfield_error input,
.vc-cat-form__wrap .gfield_error select,
.vc-cat-form__wrap .gfield_error textarea {
    border-color: #c0392b !important;
}

.vc-cat-form__wrap .gfield_validation_message,
.vc-cat-form__wrap .validation_message {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.75rem !important;
    color: #e74c3c !important;
    margin-top: 0.25rem !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.vc-cat-form__wrap .gform_validation_errors,
.vc-cat-form__wrap .validation_error {
    background: rgba(192,57,43,0.10) !important;
    border: 1px solid rgba(192,57,43,0.30) !important;
    color: #e74c3c !important;
    padding: 0.875rem 1rem !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.875rem !important;
    margin-bottom: 1.25rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.vc-cat-form__wrap .gform_validation_errors h2 { display: none !important; }

/* Footer / submit */
.vc-cat-form__wrap .gform_footer,
.vc-cat-form__wrap .gform-footer {
    padding: 0 !important;
    margin-top: 1.75rem !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
}

.vc-cat-form__wrap input[type="submit"],
.vc-cat-form__wrap .gform_button {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: var(--c-gold) !important;
    background: transparent !important;
    border: 1.5px solid var(--c-gold) !important;
    padding: 0.875rem 3rem !important;
    cursor: pointer !important;
    transition: background 0.25s ease, color 0.25s ease !important;
    border-radius: 0 !important;
    width: auto !important;
    display: inline-block !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.vc-cat-form__wrap input[type="submit"]:hover,
.vc-cat-form__wrap .gform_button:hover {
    background: var(--c-gold) !important;
    color: #111 !important;
}

/* Confirmation */
.vc-cat-form__wrap .gform_confirmation_wrapper {
    text-align: center !important;
    padding: 2rem !important;
    border: 1px solid rgba(232,160,44,0.30) !important;
    background: rgba(232,160,44,0.05) !important;
}

.vc-cat-form__wrap .gform_confirmation_message {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.125rem !important;
    color: var(--c-gold) !important;
    letter-spacing: 0.04em !important;
}

/* Hide unneeded GF elements */
.vc-cat-form__wrap .gform_page_footer,
.vc-cat-form__wrap .gf_progressbar_wrapper,
.vc-cat-form__wrap .gfield_description { display: none !important; }


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .vc-cat-services__grid { grid-template-columns: 1fr; gap: 1rem; }

    .vc-cat-form__wrap .gform_fields {
        grid-template-columns: 1fr !important;
    }

    .vc-cat-form__wrap .gfield--type-textarea,
    .vc-cat-form__wrap .gfield.gfield--full-width {
        grid-column: 1 !important;
    }
}

@media (max-width: 576px) {
    .vc-cat-intro__text { font-size: 1rem; }
    .vc-cat-service-card { padding: 1.75rem 1.25rem; }
}