/**
 * @file-header
 * path: "public/assets/css/main.css"
 * purpose: "Main Vantage styles. Dark cockpit aesthetic with filtered background crest."
 * version: "1.0.0"
 * author: "Chris Pattullo - cpattullo@deltapolice.ca"
 */

:root {
    --background-crest-url: url('../img/crest.png');
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #E0E0E0;
}

/**
 * FIXED BACKGROUND CREST
 * Centers the crest behind the UI with a blue-grey tactical filter.
 */
body::before {
    content: '';
    position: fixed;
    top: 5%; left: 0;
    width: 100%; 
    height: 90vh;
    z-index: -1;
    background-image: var(--background-crest-url);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: auto 90%;
    /* Blue-grey tactical filter */
    filter: grayscale(80%) sepia(20%) hue-rotate(190deg) brightness(0.7);
    opacity: 0.15;
}

/* ==========================================================================
   CORE CONTAINERS
   ========================================================================== */

.dashboard-card {
    border: 1px solid #3F3F46; /* zinc-700 */
    background-color: rgba(31, 31, 35, 0.85); /* zinc-800 at 85% opacity */
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    border-color: #52525B; /* zinc-600 */
}

/* ==========================================================================
   GLOBAL UI COMPONENTS
   ========================================================================== */

.global-ui-button {
    padding: 0.75rem;
    color: #E0E0E0;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3);
    transition: all 0.3s ease;
    background-color: #3F3F46; /* zinc-700 */
}

.global-ui-button:hover {
    background-color: #52525B; /* zinc-600 */
    color: #FFFFFF;
    transform: scale(1.05);
}

.global-ui-button:active {
    transform: scale(0.95);
}