/* ============================================================
   MENUS.CSS
   Shared styles for all menu/form pages:
   - Report a Scam
   - Vacation (info + request form)
   - Shareholder (info + join form)
   - VIP Membership
   - Support
   Dark mode is handled entirely by CSS token system in frame.css
   ============================================================ */


/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.bhm-menu-page {
    width: 100%;
    background-color: var(--bg-primary);
    color: var(--txt-primary);
}


/* ============================================================
   INNER CONTAINER
   ============================================================ */
.bhm-menu-inner {
    padding: 0 0.625rem;
}

@media (min-width: 768px) {
    .bhm-menu-inner {
        padding: 0 1.25rem;
    }
}


/* ============================================================
   SECTION
   ============================================================ */
.bhm-menu-section {
    padding: 2.3rem 0;
}

@media (min-width: 768px) {
    .bhm-menu-section {
        padding: 3.3rem 0;
    }
}

/* Last section before footer — no bottom padding on mobile,
   generous padding on tablet and up */
.bhm-menu-section--last {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .bhm-menu-section--last {
        padding-bottom: 11rem;
    }
}


/* ============================================================
   HERO
   ============================================================ */
.bhm-menu-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.bhm-menu-hero__media {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-950);
}

@media (min-width: 768px) {
    .bhm-menu-hero__media {
        height: 300px;
    }
}

.bhm-menu-hero__intro {
    padding: 1.5rem 0.625rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.625rem;
    margin-top: -70px;
}

@media (min-width: 768px) {
    .bhm-menu-hero__intro {
        margin-top: -90px;
    }
}

.bhm-menu-hero__title {
    font-family: var(--ff-teko);
    font-size: 2.125rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    color: white;
    letter-spacing: 0;
}

@media (min-width: 768px) {
    .bhm-menu-hero__title {
        font-size: 3.4375rem;
    }
}

.bhm-menu-hero__lead {
    font-family: var(--ff-acumin);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    color: var(--txt-secondary);
    max-width: 50rem;
}

@media (min-width: 768px) {
    .bhm-menu-hero__lead {
        font-size: 1.55rem;
    }
}


/* ============================================================
   GUIDELINES / INFO GRID
   (used on pages that have a label + bullet list section)
   ============================================================ */
.bhm-menu-guidelines {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 40px 0;
}

@media (min-width: 768px) {
    .bhm-menu-guidelines {
        grid-template-columns: 1fr 2fr;
        gap: 0;
        /* padding: 20px 0; */
    }
}

.bhm-menu-guidelines__heading {
    font-family: var(--ff-teko);
    font-size: 2.125rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--txt-primary);
    text-align: center;
}

@media (min-width: 768px) {
    .bhm-menu-guidelines__heading {
        font-size: 2.5rem;
        text-align: left;
    }
}

.bhm-menu-guidelines__list ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bhm-menu-guidelines__list li {
    display: flex;
    align-items: center;
    gap: 0.20rem;
    font-family: var(--ff-acumin);
    font-size: 1rem;
    font-weight: 400;
    color: var(--txt-primary);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .bhm-menu-guidelines__list li {
        font-size: 1.25rem;
    }
}

/* Bullet dot */
.bhm-menu-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--txt-primary);
    flex-shrink: 0;
    margin-right: 0.375rem;
}


/* ============================================================
   INFO BLOCK
   (used on shareholder, vacation info pages — label + body text)
   ============================================================ */
.bhm-menu-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .bhm-menu-info {
        grid-template-columns: 290px 1fr;
        gap: 3.25rem;
    }
}

.bhm-menu-info__heading {
    font-family: var(--ff-teko);
    font-size: 2.125rem;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--txt-primary);
    text-align: center;
}

@media (min-width: 768px) {
    .bhm-menu-info__heading {
        font-size: 3.75rem;
        line-height: 1;
        text-align: left;
    }
}

.bhm-menu-info__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bhm-menu-info__text {
    font-family: var(--ff-acumin);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--txt-primary);
}

@media (min-width: 768px) {
    .bhm-menu-info__text {
        font-size: 1.25rem;
        line-height: 1.5;
    }
}


/* ============================================================
   CTA BANNER
   (used on shareholder, vacation — full width image banner with text)
   ============================================================ */
.bhm-menu-banner {
    position: relative;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .bhm-menu-banner {
        height: 350px;
        border-radius: 1.875rem;
    }
}

.bhm-menu-banner__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.bhm-menu-banner__text {
    position: relative;
    z-index: 2;
    font-family: var(--ff-teko);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    color: #ffffff;
    max-width: 37.5rem;
    padding: 1.5rem 2rem;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .bhm-menu-banner__text {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}


/* ============================================================
   FORM
   ============================================================ */
.bhm-menu-form {
    width: 100%;
}

.bhm-menu-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .bhm-menu-form__grid {
        grid-template-columns: 1fr 2fr;
        gap: 1.5rem;
    }
}

/* ── Aside ────────────────────────────────────────────────── */
.bhm-menu-form__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .bhm-menu-form__aside {
        align-items: flex-start;
        text-align: left;
    }
}

.bhm-menu-section__heading {
    font-family: var(--ff-teko);
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 1;
    color: var(--txt-primary);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .bhm-menu-section__heading {
        font-size: 2.375rem;
    }
}

.bhm-menu-section__text {
    font-family: var(--ff-base);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--txt-secondary);
}

@media (min-width: 768px) {
    .bhm-menu-section__text {
        font-size: 1rem;
    }
}

/* ── Fields column ────────────────────────────────────────── */
.bhm-menu-form__fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Field wrapper ────────────────────────────────────────── */
.bhm-menu-form__field {
    width: 100%;
    position: relative;
}

/* ── Split row ────────────────────────────────────────────── */
.bhm-menu-form__row--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .bhm-menu-form__row--split {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* ── Inputs ───────────────────────────────────────────────── */
.bhm-menu-input,
.bhm-menu-select,
.bhm-menu-textarea {
    width: 100%;
    height: 3.4375rem;
    padding: 0 1.25rem;
    font-family: var(--ff-base);
    font-size: 1rem;
    font-weight: 400;
    color: var(--txt-primary);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-medium);
    border-radius: 0.5rem;
    outline: none;
    transition: border-color var(--t-base);
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.bhm-menu-input::placeholder,
.bhm-menu-textarea::placeholder {
    color: var(--txt-tertiary);
}

.bhm-menu-input:focus,
.bhm-menu-select:focus,
.bhm-menu-textarea:focus {
    border-color: var(--border-dark);
}

.bhm-menu-input.is-error,
.bhm-menu-select.is-error,
.bhm-menu-textarea.is-error {
    border-color: #e53935;
}

/* ── Select ───────────────────────────────────────────────── */
.bhm-menu-select {
    cursor: pointer;
    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 fill='%23757575' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 2.5rem;
}

.bhm-menu-select option {
    background-color: var(--bg-primary);
    color: var(--txt-primary);
}

/* ── Textarea ─────────────────────────────────────────────── */
.bhm-menu-textarea {
    height: auto;
    padding: 1rem 1.25rem;
    resize: vertical;
    line-height: 1.6;
}

/* ── Meta (char counter row) ──────────────────────────────── */
.bhm-menu-form__meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0.375rem;
    font-family: var(--ff-base);
    font-size: 0.8125rem;
    color: var(--txt-secondary);
}

/* ── Inline errors ────────────────────────────────────────── */
.bhm-menu-form__error {
    display: block;
    margin-top: 0.375rem;
    font-family: var(--ff-base);
    font-size: 0.8125rem;
    color: #e53935;
}

/* ── Submit button ────────────────────────────────────────── */
.bhm-menu-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 3.4375rem;
    padding: 0 1.5rem;
    font-family: var(--ff-teko);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: 0.75rem;
    cursor: pointer;
    transition:
        background-color var(--t-base),
        color var(--t-base),
        border-color var(--t-base),
        box-shadow var(--t-base);
    border: 1px solid var(--border-black);
    background-color: var(--bg-heavy);
    color: var(--txt-white);
    text-decoration: none;
}

.bhm-menu-form__submit:hover:not(:disabled) {
    background-color: var(--bg-primary);
    color: var(--txt-primary);
    box-shadow: 0 4px 16px rgba(var(--c-black-rgb), 0.12);
}

.bhm-menu-form__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Outline variant — secondary button */
.bhm-menu-form__submit--outline {
    background-color: var(--bg-primary);
    color: var(--txt-primary);
    border-color: var(--border-medium);
}

.bhm-menu-form__submit--outline:hover:not(:disabled) {
    background-color: var(--bg-heavy);
    color: var(--txt-white);
    border-color: var(--border-black);
}

@media (min-width: 768px) {
    .bhm-menu-form__submit {
        height: 3.75rem;
    }
}

/* ── Button row (back + submit side by side) ──────────────── */
.bhm-menu-form__btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 3rem;
}


/* ── Spinner ──────────────────────────────────────────────── */
.bhm-menu-spinner {
    width: 1.25rem;
    height: 1.25rem;
    animation: bhm-spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes bhm-spin {
    to { transform: rotate(360deg); }
}


/* ============================================================
   FLOATING DATE LABEL
   ============================================================ */
.bhm-menu-date-wrapper {
    position: relative;
}

.bhm-menu-floating-label {
    position: absolute;
    left: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--ff-base);
    font-size: 1rem;
    color: var(--txt-tertiary);
    background: var(--bg-primary);
    padding: 0 0.375rem;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.bhm-menu-date-input:focus ~ .bhm-menu-floating-label,
.bhm-menu-date-input:not(:placeholder-shown) ~ .bhm-menu-floating-label,
.bhm-menu-date-input.has-value ~ .bhm-menu-floating-label {
    top: 0;
    font-size: 0.75rem;
    color: var(--txt-secondary);
}


/* ============================================================
   SUCCESS MODAL
   ============================================================ */
.bhm-menu-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background-color: rgba(var(--c-black-rgb), 0.75);
    backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        backdrop-filter 0.4s ease;
}

.bhm-menu-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(8px);
}

.bhm-menu-modal__dialog {
    background-color: var(--bg-heavy);
    color: var(--txt-white);
    border-radius: 1rem;
    padding: 3rem 2rem 3.5rem;
    width: 100%;
    max-width: 34.375rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.92) translateY(1.25rem);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bhm-menu-modal.is-open .bhm-menu-modal__dialog {
    transform: scale(1) translateY(0);
}

.bhm-menu-modal__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.bhm-menu-modal__icon img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.bhm-menu-modal__title {
    font-family: var(--ff-teko);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--txt-white);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .bhm-menu-modal__title {
        font-size: 2rem;
    }
}

.bhm-menu-modal__text {
    font-family: var(--ff-base);
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .bhm-menu-modal__text {
        font-size: 1.125rem;
    }
}

.bhm-menu-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

/* Modal buttons — always contrast against --bg-heavy dialog.
   --bg-primary is always the opposite of --bg-heavy so it
   contrasts correctly in both light and dark mode. */
.bhm-menu-modal .bhm-menu-form__submit {
    background-color: var(--bg-primary);
    color: var(--txt-primary);
    border-color: var(--bg-primary);
}

.bhm-menu-modal .bhm-menu-form__submit:hover:not(:disabled) {
    background-color: var(--bg-heavy);
    color: var(--txt-white);
    border-color: var(--bg-primary);
}

.bhm-menu-modal .bhm-menu-form__submit--outline {
    background-color: transparent;
    color: var(--txt-white);
    border-color: rgba(var(--c-white-rgb), 0.3);
}

.bhm-menu-modal .bhm-menu-form__submit--outline:hover:not(:disabled) {
    background-color: var(--bg-primary);
    color: var(--txt-primary);
    border-color: var(--bg-primary);
}

@media only screen and (max-width: 768px) {
    .bhm-menu-modal__dialog {
        padding: 1.5rem 1.25rem 2rem;
    }
}


/* ============================================================
   EXPERIENCE CARDS
   (used on vacation info page — image cards with hover overlay)
   ============================================================ */
.bhm-menu-experiences {
    width: 100%;
}

.bhm-menu-experiences__title {
    font-family: var(--ff-teko);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    color: var(--txt-primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .bhm-menu-experiences__title {
        font-size: 2.5rem;
    }
}

.bhm-menu-experiences__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .bhm-menu-experiences__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bhm-menu-experiences__col {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* ── Experience card ──────────────────────────────────────── */
.bhm-menu-exp-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .bhm-menu-exp-card {
        border-radius: 1.875rem;
    }
}

.bhm-menu-exp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.5s ease;
}

.bhm-menu-exp-card:hover .bhm-menu-exp-card__img {
    filter: brightness(0.75);
}

.bhm-menu-exp-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #ffffff;
}

.bhm-menu-exp-card__overlay-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bhm-menu-exp-card:hover .bhm-menu-exp-card__overlay-dim {
    opacity: 1;
}

.bhm-menu-exp-card__title {
    position: relative;
    font-family: var(--ff-acumin);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.bhm-menu-exp-card:hover .bhm-menu-exp-card__title {
    transform: translateY(-0.75rem);
}

.bhm-menu-exp-card__desc {
    position: relative;
    font-family: var(--ff-base);
    font-size: 1rem;
    color: #ffffff;
    z-index: 1;
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding-bottom: 0;
}

.bhm-menu-exp-card:hover .bhm-menu-exp-card__desc {
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 1.5rem;
}




/* ============================================================
   VIP — STORIES WORTH SHARING
   ============================================================ */
.bhm-vip-stories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.bhm-vip-stories__title {
    font-family: var(--ff-teko);
    font-size: 2.125rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--txt-primary);
}

@media (min-width: 768px) {
    .bhm-vip-stories__title {
        font-size: 2.5rem;
    }
}

.bhm-vip-stories__lead {
    font-family: var(--ff-base);
    font-size: 0.9375rem;
    color: var(--txt-secondary);
    line-height: 1.6;
    max-width: 30rem;
}

@media (min-width: 768px) {
    .bhm-vip-stories__lead {
        font-size: 1.0625rem;
    }
}

/* ── Layout: avatars left, testimonial right ── */
.bhm-vip-stories__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 56rem;
}

@media (min-width: 768px) {
    .bhm-vip-stories__layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
    }
}




.bhm-vip-stories__members-img {
    width: 100%;
    height: auto;
    display: block;
}


/* ── Testimonial ── */
.bhm-vip-stories__testimonial {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.bhm-vip-quote {
    font-family: var(--ff-teko);
    font-size: 4rem;
    line-height: 1;
    color: var(--txt-primary);
    opacity: 0.15;
}

.bhm-vip-stories__quote {
    font-family: var(--ff-acumin);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--txt-primary);
}

@media (min-width: 768px) {
    .bhm-vip-stories__quote {
        font-size: 1.375rem;
    }
}

.bhm-vip-stories__author {
    font-family: var(--ff-teko);
    font-size: 1.25rem;
    color: var(--txt-secondary);
    text-transform: uppercase;
}

/* ── Waveform signal image ── */
.bhm-vip-waveform {
    width: 100%;
    max-width: 25rem;
}

.bhm-vip-waveform img {
    width: 100%;
    height: auto;
    opacity: 0.5;
}

.bhm-menu-form__btn-row--full {
     grid-column: 1 / -1;
    padding-top: 3rem;
    border-top: 1px solid var(--border-medium);
}
