@import './default.css';
@import './fontFamily.css';
@import './bg-animations.css';

/* Global layout */
@import './topbar.css';
@import './hamburger.css';
@import './header.css';
@import './home.css';
@import './sidebar.css';
@import './posts.css';
@import './footer.css';
@import './mission.css';

/* Page specific */
@import './team.css';
@import './blog.css';
@import './contact.css';
@import './vehicles.css';
@import './gallery.css';
@import './timeline.css';

/* ¦¦ LOADING SCREEN ¦¦ */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050507;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    padding: 0 32px;
}

.loader-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background-color: var(--accent);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    pointer-events: none;
}

.loader-title {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 40px;
    z-index: 10;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.loader-bar-bg {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 12px;
    z-index: 10;
}

.loader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--accent);
    width: 0%;
    transition: width 0.3s ease-out;
    box-shadow: 0 0 15px rgba(181, 14, 8, 0.8);
}

.loader-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.65rem;
    color: #a0a0a0;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 10;
    margin-top: 8px;
}

.loader-stats span:last-child {
    color: #fff;
}