/* ============================================================
   D'BERG TRAVEL CO. — Book a Charter Page CSS
   page-book-a-charter.css v2.2
   ============================================================ */

/* ============================================================
   01. HERO ROW
   ============================================================ */

.bac-hero-row {
    position: relative !important;
    overflow: hidden !important;
}

.bac-hero-row > .dberg-hero-bg-layers {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.bac-hero-row .dberg-hero-bg-layer {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 0 !important;
    transition: opacity 1.5s ease-in-out !important;
}

.bac-hero-row .dberg-hero-bg-layer.active {
    opacity: 1 !important;
}

.bac-hero-row .wpex-bg-overlay-wrap {
    z-index: 1 !important;
}

.bac-hero-row .wpb_column {
    position: relative !important;
    z-index: 2 !important;
}

/* ============================================================
   02. INNER ROW
   ============================================================ */

.bac-two-col.vc_row {
    border: none !important;
}

/* ============================================================
   03. STRIP THE FORM SHORTCODE WRAPPER — column-inner is the card
   ============================================================ */

.bac-glass-form.vcex-form-shortcode {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}

/* ============================================================
   04. HEADINGS — "Booking Enquiry" matches "Find Your Charter"
   ============================================================ */

.bac-form-col .bac-glass-form h2,
.bac-glass-form h2,
.bac-form-col .vc_column-inner h2,
.vcex-form-shortcode.bac-glass-form h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    color: #FAF9F6 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    line-height: 1.2 !important;
}

/* "Find Your Charter" heading */
.bac-filter-col h2.vcex-heading .vcex-heading-inner {
    font-family: 'Playfair Display', serif !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    color: #FAF9F6 !important;
    line-height: 1.2 !important;
}

/* Subtitle — must be small regardless of what WPBakery thinks */
.bac-filter-col p.vcex-heading,
.bac-filter-col p.vcex-heading .vcex-heading-inner {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    color: rgba(250, 249, 246, 0.65) !important;
    line-height: 1.5 !important;
}

/* ============================================================
   05. CF7 FORM FIELDS
   ============================================================ */

.bac-glass-form .wpcf7-form p {
    color: rgba(250, 249, 246, 0.65) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
}

.bac-glass-form .wpcf7-form input[type="text"],
.bac-glass-form .wpcf7-form input[type="email"],
.bac-glass-form .wpcf7-form input[type="tel"],
.bac-glass-form .wpcf7-form input[type="number"],
.bac-glass-form .wpcf7-form input[type="date"],
.bac-glass-form .wpcf7-form textarea {
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    padding: 0 16px !important;
    background: rgba(250, 249, 246, 0.06) !important;
    border: 1px solid rgba(196, 163, 90, 0.35) !important;
    border-radius: 3px !important;
    color: #FAF9F6 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: border-color 0.2s ease !important;
}

.bac-glass-form .wpcf7-select,
.bac-glass-form select.wpcf7-form-control,
.bac-glass-form .wpcf7-form select {
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    padding: 0 40px 0 16px !important;
    background-color: #0d1e32 !important;
    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='%23C4A35A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    border: 1px solid rgba(196, 163, 90, 0.35) !important;
    border-radius: 3px !important;
    color: #FAF9F6 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
}

.bac-glass-form .wpcf7-select option,
.bac-glass-form select.wpcf7-form-control option {
    background: #0C1B2E !important;
    color: #FAF9F6 !important;
}

.bac-glass-form .wpcf7-form textarea {
    height: auto !important;
    min-height: 120px !important;
    padding: 14px 16px !important;
    resize: vertical !important;
}

.bac-glass-form .wpcf7-form input::placeholder,
.bac-glass-form .wpcf7-form textarea::placeholder {
    color: rgba(250, 249, 246, 0.35) !important;
}

.bac-glass-form .wpcf7-form input:focus,
.bac-glass-form .wpcf7-select:focus,
.bac-glass-form .wpcf7-form textarea:focus {
    border-color: #C4A35A !important;
    outline: none !important;
}

.bac-glass-form .wpcf7-form input[type="submit"] {
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    padding: 0 !important;
    background: #C4A35A !important;
    color: #0C1B2E !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: background 0.2s ease !important;
}

.bac-glass-form .wpcf7-form input[type="submit"]:hover {
    background: #d4b46a !important;
}

.bac-glass-form .wpcf7-acceptance .wpcf7-list-item-label {
    color: rgba(250, 249, 246, 0.55) !important;
    font-size: 13px !important;
    font-family: 'Inter', sans-serif !important;
}

.bac-glass-form .wpcf7-acceptance a {
    color: #C4A35A !important;
}

/* ============================================================
   06. FILTER PANEL FIELDS
   ============================================================ */

.bac-filter-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.bac-filter-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.bac-filter-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #C4A35A !important;
    margin: 0 !important;
}

.bac-filter-select {
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    padding: 0 40px 0 16px !important;
    background-color: rgba(250, 249, 246, 0.06) !important;
    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='%23C4A35A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    border: 1px solid rgba(196, 163, 90, 0.35) !important;
    border-radius: 3px !important;
    color: #FAF9F6 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
}

.bac-filter-select:focus {
    border-color: #C4A35A !important;
    outline: none !important;
}

.bac-filter-select option {
    background: #0C1B2E !important;
    color: #FAF9F6 !important;
}

.bac-filter-btn {
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    padding: 0 !important;
    margin-top: 8px !important;
    background: #C4A35A !important;
    color: #0C1B2E !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.bac-filter-btn:hover {
    background: #d4b46a !important;
}

/* ============================================================
   07. RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
    .bac-form-col,
    .bac-filter-col {
        width: 100% !important;
    }

    .bac-filter-col .vc_column-inner {
        margin-left: 0 !important;
        margin-top: 8px !important;
    }
}