/* The main wiki css file */

/* ============================================================
   RadioDJ Help Wiki – Responsive Neon Dark UI
   Clean, modern, mobile‑first layout
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Inter:wght@400;600&display=swap');

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.04em;
    color: #00eaff;
    margin-top: 0;
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: #050509;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

/* PAGE HEADER */
.page-header {
    width: 100%;
    background: #222;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-header h2 {
    margin: 0;
    font-size: 22px;
    text-align: center;
}

.go-back {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.adsolut-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Special go back button */
.BBback {
    border: #009900 solid 3px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #00FF99;
    color: #FF9900;
}

/* ============================================================
   RESPONSIVE IMAGES (ESSENTIEEL)
   ============================================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wiki_container img {
    width: 100%;
    height: auto;
}

/* ============================================================
   NO ZOOM FOR TABLE IMAGES (GEÏNTEGREERD)
   ============================================================ */
.wiki_container table td {
    overflow: visible;
}

.wiki_container table img {
    display: inline-block;
    position: relative;
    z-index: 10;
    transition: none;
    transform: none;
}

.wiki_container table img:hover {
    transform: none !important;
}

/* EDIT BUTTON */
.wiki-edit-floating {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.wiki-edit-floating a {
    display: inline-block;
    padding: 10px 16px;
    background: #0d0d0d;
    border: 1px solid #333;
    color: #4cc2ff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 0 8px rgba(76, 194, 255, 0.4);
    transition: 0.2s ease;
}

.wiki-edit-floating a:hover {
    background: #111;
    border-color: #4cc2ff;
    box-shadow: 0 0 12px rgba(76, 194, 255, 0.7);
}

/* WIKI CONTENT CONTAINER */
.wiki_container {
    max-width: 80%;
    padding: 20px 25px;
    background: #0d0d12;
    border: 1px solid #222;
    border-radius: 8px;
    box-shadow: 0 0 10px #00eaff22;
    color: #ddd;
    position: absolute;
    left: 50%;
    top: 125px;
    transform: translateX(-50%);
}

/* BUTTONS */
.welcome-button,
.rdj-button {
    display: inline-block;
}

.welcome-button {
    padding: 14px 26px;
    background: #00eaff;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 25px;
    transition: 0.2s ease;
}

.welcome-button:hover {
    background: #00ffaa;
    transform: translateY(-2px);
}

/* WRAPPER */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    top: 0 !important;
    width: 320px;
    background: #0d0d15;
    border-right: 2px solid #1f1f2b;
    padding: 10px;
    position: sticky;
    height: 100vh;
    overflow-y: auto;
}

.sidebar h2, h3, h4 {
    color: #00eaff;
    margin: 0 0 20px 0;
    font-size: 22px;
    letter-spacing: 0.04em;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 6px;
}

.sidebar-nav a {
    display: block;
    padding: 10px 8px;
    color: #FFCC66;
    text-decoration: none;
    font-size: 15px;
    border-radius: 4px;
    transition: 0.2s ease;
}

.sidebar-nav a:hover {
    background: rgba(0, 234, 255, 0.12);
    color: #00eaff;
    transform: translateX(3px);
}

/* SIDEBAR DROPDOWN */
.dropdown {
    margin-bottom: 12px;
}

.dropdown-btn {
    width: 100%;
    background: #14141f;
    color: #00eaff;
    padding: 10px;
    border: 1px solid #1f1f2b;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    text-align: left;
    transition: 0.2s ease;
}

.dropdown-btn:hover {
    background: #1a1a28;
    color: #00ffaa;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    background: #0d0d15;
    border-left: 2px solid #00eaff;
    margin-top: 6px;
    padding-left: 8px;
}

.dropdown-content a {
    padding: 8px 6px;
    color: #FFCC66;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(0, 234, 255, 0.12);
    color: #00eaff;
    transform: translateX(3px);
}

/* CONTENT */
.content {
    flex: 1;
    padding: 30px;
    max-width: 1100px;
}

/* FOOTER */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: #888;
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #333;
    font-size: 14px;
    z-index: 9999;
}

/* ============================================================
   GLOBAL STICKY PAGE HEADER
   ============================================================ */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;

    background: linear-gradient(180deg, #0d0d15, #14141f);
    border-bottom: 1px solid #154a7f;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 9999;
}

.page-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.back-start {
    position: absolute;
    left: 20px;
    top: 0px;
    padding: 8px 14px;
    background: #ffffff22;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #ffffff55;
    transition: 0.2s;
}

.back-start:hover {
    background: #ffffff33;
    border-color: #ffffff88;
}

body {
    padding-top: 70px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Kleine telefoons (max 400px) */
@media (max-width: 400px) {
    .wrapper { flex-direction: column; }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 2px solid #1f1f2b;
    }

    .content { padding: 20px; }

    .sidebar h2 { font-size: 18px; }

    .sidebar-nav a {
        font-size: 14px;
        padding: 8px 6px;
    }

    .welcome-button {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 12px 0;
    }
}

/* Smartphones (max 600px) */
@media (max-width: 600px) {
    .wrapper { flex-direction: column; }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content { padding: 22px; }

    .page-header {
        height: auto;
        padding: 12px 15px 18px;
        flex-direction: column;
    }

    .back-start {
        position: relative;
        left: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    .page-header h2 {
        font-size: 18px;
        width: 100%;
        text-align: center;
    }
}

/* Tablets (max 900px) */
@media (max-width: 900px) {
    .sidebar { width: 240px; }
    .content { padding: 26px; }
}

/* Laptops (max 1200px) */
@media (max-width: 1200px) {
    .sidebar { width: 260px; }
    .content { padding: 28px; }
}
