/* ========================================
   CSS Custom Properties (Variables)
   ======================================== */
:root {
    /* Layout */
    --navbar-height: 60px;
    --sidebar-top-offset: calc(var(--navbar-visible-height, var(--navbar-height)) + 1rem);

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.2s ease-in-out;

    /* Card Effects */
    --card-hover-transform: translateY(-4px);
    --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

    /* Colors - Site Brand */
    --brickguide-teal: #008080;
}

/* ========================================
   Base Styles
   ======================================== */

body {
    background-color: var(--brickguide-teal);
}

.pace-progress{background:-webkit-gradient(linear,left top,right top,color-stop(20%,#41cc83),color-stop(40%,#335ceb),color-stop(60%,#ed5e4a),color-stop(80%,#986de5));background:linear-gradient(to right,#41cc83 20%,#335ceb 40%,#ed5e4a 60%,#986de5 80%);position:fixed;z-index:2000;top:0;left:0;right:100%;width:100%;height:3px}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--bs-border-color);
}

.separator:not(:empty)::before {
    margin-right: .25em;
}

.separator:not(:empty)::after {
    margin-left: .25em;
}

/* ========================================
   Global Scroll to Top Button
   ======================================== */

.scroll-to-top-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1030;
    width: 3rem;
    height: 3rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.scroll-to-top-btn:hover {
    background: var(--bs-primary);
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.scroll-to-top-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.cookie-consent-visible .scroll-to-top-btn {
    bottom: 8rem;
}

/* ========================================
   Footer Social Links
   ======================================== */

.footer-social-link {
    transition: color var(--transition-fast);
}

.footer-social-link:hover {
    color: var(--bs-primary) !important;
}

/* Component and page styles are imported via app.js for Asset Mapper compatibility */
