/* ==========================================================================
   NACS Show 2026 - Call to Action A Component
   (Image/Video Background with Centered Glass Panel)
   Tokens: NACSShow2026Tokens.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   CTA A Container
   -------------------------------------------------------------------------- */
.cta-a {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
}

/* Full-bleed Background Image / Video */
.cta-a__bg {
    position: absolute;
    inset: 0;
}

.cta-a__bg img,
.cta-a__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --------------------------------------------------------------------------
   Content Container (Desktop)
   -------------------------------------------------------------------------- */
.cta-a__content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: var(--nacs-gutter, 20px);
    align-items: center;
    min-height: 480px;
    padding: var(--nacs-padding-56, 56px) var(--nacs-margin-desktop, 80px);
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Spacers (flex-based centering)
   -------------------------------------------------------------------------- */
.cta-a__spacer {
    width: 305px;
    height: 104px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Frosted Glass Panel
   -------------------------------------------------------------------------- */
.cta-a__panel {
    flex: 1 0 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: var(--nacs-padding-32, 32px);
    align-items: center;
    justify-content: center;
    padding: var(--nacs-padding-40, 40px);
    background: var(--nacs-glass-bg, rgba(0, 0, 0, 0.2));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 4px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Heading
   -------------------------------------------------------------------------- */
.cta-a__heading {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0;
    text-transform: capitalize;
    color: var(--nacs-color-white);
    text-align: center;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* --------------------------------------------------------------------------
   Description
   -------------------------------------------------------------------------- */
.cta-a__description {
    font-family: var(--nacs-font-gotham);
    font-weight: 325;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--nacs-color-white);
    text-align: center;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* --------------------------------------------------------------------------
   CTA Button (Yellow Pill)
   -------------------------------------------------------------------------- */
.cta-a__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 24px;
    background-color: var(--nacs-color-yellow, #FAE100);
    border-radius: 360px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.cta-a__btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.cta-a__btn-text {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nacs-color-navy, #00205B);
}

.cta-a__btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Mobile Styles (max-width: 768px) - matches Figma node 9494:101781
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .cta-a__content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-height: auto;
        padding: 88px 20px;
        gap: 0;
    }

    .cta-a__spacer {
        display: none;
    }

    .cta-a__panel {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        gap: 24px;
        padding: 32px;
        align-items: center;
        justify-content: center;
    }

    .cta-a__heading {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
    }

    .cta-a__description {
        font-size: 16px;
        line-height: 18px;
        text-align: center;
    }

    .cta-a__btn {
        height: 48px;
        padding: 0 20px;
        align-self: center;
    }

    .cta-a__btn-text {
        font-size: 14px;
        line-height: 20px;
    }
}
