/* Vaiables */
:root {
    --themeColor: #4888a5;
    --shadowColor: #00000063;
    --accentColor: #7e7e7e;

    --pageBackground: #1f2528;
    --cardBackground: rgba(0, 0, 0, 0.25);
    --textColor: #dddddd;
}

/* Global Base */
html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
    background-color: var(--pageBackground);
    padding-bottom: 100px;
}

img {
    max-width: 100%;
    height: auto;
    pointer-events: none;

    -webkit-filter: drop-shadow(0.7rem 0.4rem 0.5rem var(--shadowColor));
    filter: drop-shadow(0.7rem 0.4rem 0.5rem var(--shadowColor));
}

p,
li {
    color: var(--textColor);
    line-height: 1.6;
}

/* Typography */

h1,
h2,
h3 {
    color: var(--themeColor);
    filter: drop-shadow(0.7rem 0.4rem 0.5rem var(--shadowColor));
}

h1,
h2 {
    pointer-events: none;
}

h1 {
    font-size: 6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.8rem;
}

/* Background / Page Layers */

.page-content {
    position: relative;
    z-index: 1;
}

.behind {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* Home Page */

.logo-image {
    width: min(60vw, 650px);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Projects Page */

.projects-page {
    padding-top: 2rem;
}

.projects-header {
    margin-bottom: 4rem;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-card {
    background-color: var(--cardBackground);
    padding: 2rem;
    border-radius: 1rem;
}

.project-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.project-logo {
    width: min(45vw, 300px);
}

/* Faction / Model Gallery */

.faction-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faction-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faction-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.model-card {
    background-color: var(--cardBackground);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.model-card img {
    width: 100%;
    max-width: 420px;
    height: 260px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.model-card h3 {
    margin-bottom: 0.75rem;
}

.model-card p {
    margin-bottom: 0;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-card {
    margin: 0;
    text-align: center;
}

.screenshot-card img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 0.75rem;
    object-fit: contain;
}

.screenshot-card figcaption {
    margin-top: 0.75rem;
    color: var(--textColor);
    font-size: 0.95rem;
    line-height: 1.5;
}

.wip-note {
    color: #bbbbbb;
    font-style: italic;
    margin-top: 1rem;
}

/* Footer */

footer {
    position: fixed;
    background-color: var(--shadowColor);
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

/* Responsive */

@media (max-width: 768px) {
    body {
        padding-bottom: 120px;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .project-card {
        padding: 1.25rem;
    }

    .faction-gallery {
        grid-template-columns: 1fr;
    }

    .model-card img {
        height: 220px;
    }
}