/* ====================================================================
 *                        Brutal Engine Site
 * Author:    Théo Baudoin-Malnoë
 * Date:      2026-01-14
 * File:      ../BrutalEngineSite/style.css
   ==================================================================== */

:root {
    --bg-dark: #0a0a0a;
    --bg-panel: #161616;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --accent: #ff3333;

    --font-head: 'JetBrains Mono', monospace;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1,
h2,
h3,
.logo {
    font-family: var(--font-head);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.under-construction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 40, 40, 0.98);
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(10, 10, 10, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-primary,
.btn-secondary,
.btn-nav {
    padding: 12px 24px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: #cc2929;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--text-main);
    color: var(--bg-dark);
}

.btn-nav {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 16px;
}

.btn-nav:hover {
    background-color: var(--accent);
    color: white;
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.render-placeholder {
    width: 100%;
    height: 70%;
    background: linear-gradient(45deg, #222, #111);
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-family: var(--font-head);
}

.section-dark {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    border-top: 1px solid var(--accent);
    padding-top: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.section-light {
    padding: 100px 0;
    background-color: var(--bg-panel);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    height: 400px;
}

.gallery-item {
    background-color: #333;

    transition: transform 0.3s;
    background-size: cover;
    background-position: center;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.split-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    background: var(--bg-panel);
    padding: 40px;
    border: 1px solid #333;
    min-width: 300px;
}

.pricing-card h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: var(--font-head);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-card ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.donation-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.full-width {
    width: 100%;
}

footer {
    padding: 60px 0;
    border-top: 1px solid #333;
    color: var(--text-muted);
}

footer .container {
    display: flex;
    justify-content: space-between;
}

footer .socials a {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding: 100px 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .split-container {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-item {
        height: 250px;
    }
}

div[id*="kofi-widget-overlay"] {
    overflow: hidden !important;
}

iframe[src*="ko-fi.com"] {
    overflow: hidden !important;
    border: 0 !important;
    width: 100% !important;
}

.tech-specs {
    margin-top: 80px;
    border-top: 1px solid #333;
    padding-top: 60px;
}

.tech-specs h3 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: var(--font-head);
    font-size: 0.9rem;
}

.spec-item {
    display: flex;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}

.spec-label {
    width: 200px;
    color: var(--accent);
    font-weight: 700;
}

.spec-value {
    color: var(--text-main);
}

body.docs-body {
    overflow-y: scroll;

}

.docs-navbar {
    border-bottom: 1px solid #333;
    background: rgba(10, 10, 10, 0.95);
}

.docs-badge {
    font-weight: 300;
    color: var(--text-muted);
    font-size: 0.8em;
}

.docs-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 80px;

    min-height: 100vh;
}

.docs-sidebar {
    background: #111;
    border-right: 1px solid #222;
    padding: 40px 20px;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-group {
    margin-bottom: 30px;
}

.sidebar-group h3 {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: 700;
}

.sidebar-group ul {
    list-style: none;
    padding: 0;
}

.sidebar-group li {
    margin-bottom: 8px;
}

.sidebar-group a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: block;
    padding: 5px 0;
}

.sidebar-group a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.docs-content {
    padding: 60px 80px;
    max-width: 900px;
}

.docs-header {
    margin-bottom: 60px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.doc-section {
    margin-bottom: 60px;
}

.doc-section h2 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.doc-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ccc;
}

.doc-section ul,
.doc-section ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: #ccc;
}

.doc-section li {
    margin-bottom: 10px;
}

.doc-code {
    background: #151515;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #eee;
    overflow-x: auto;
    margin: 20px 0;
}

.doc-alert {
    background: rgba(0, 185, 254, 0.1);
    border-left: 3px solid var(--accent);
    padding: 15px;
    margin: 20px 0;
    color: #fff;
}

code {
    background: #222;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    color: var(--accent);
}

@media (max-width: 900px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        display: none;

    }

    .docs-content {
        padding: 40px 20px;
    }
}