/*
 * Globals
 * NOTE: F5 (Page Template Redesign) is complete - Index/Contact/Finance/
 * StockDetail now use the gmc-band/gmc-card/gmc-btn design system.
 * .glass-dark is retained only for the unreferenced _StockListPartial.cshtml
 * (not used by any routed page); .video-banner is actively used by the
 * cinematic hero on Index.cshtml (see the redesigned rules below).
 * New work should use tokens from tokens.css / layout.css instead of adding here.
 */
/* Page background */
body {
    background-color: var(--gmc-off-white, #f6f6f6);
    font-family: var(--gmc-font-body, 'Ubuntu'), sans-serif;
}

.glass-dark {
    background-color: rgba(58, 58, 58, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: none;
}

/* Video Banner - cinematic hero that fades into the inventory grid below */
.video-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 78vh;
    min-height: 420px;
    max-height: 760px;
    background-color: var(--gmc-black, #000);
}

    .video-banner video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Reduced-motion / fallback: hide the video, keep the black background and overlay/content */
    .video-banner.gmc-reduced-motion video {
        display: none;
    }

    .video-banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Darkens for legibility near the top, then fades to the off-white
           inventory section background at the bottom - this is the
           cinematic "fade into inventory" transition. */
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.55) 60%,
            var(--gmc-off-white, #f6f6f6) 100%
        );
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        text-align: center;
    }

    .video-banner-content {
        color: var(--gmc-white, #fff);
        max-width: 720px;
    }

        .video-banner-content .gmc-eyebrow {
            color: var(--gmc-green-light, #2ae31b);
        }

        .video-banner-content .gmc-display {
            color: var(--gmc-white, #fff);
            margin-bottom: 1rem;
        }

        .video-banner-content p.lead {
            color: rgba(255, 255, 255, 0.85);
        }

/* Social media icons (footer only) - palette accents, no off-brand colours */
.social-icon {
    color: var(--gmc-white);
    opacity: 0.8;
    transition: color var(--gmc-transition-fast), opacity var(--gmc-transition-fast), transform var(--gmc-transition-fast);
}

.social-icon:hover {
    color: var(--gmc-green-light);
    opacity: 1;
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .social-icon:hover {
        transform: none;
    }
}