/* -----------------------------------
   ALGEMENE BASIS
----------------------------------- */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #020d06;
    background-image: url("jplenio-halloween-4582988_1920.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
    color: #e8f7ff;
}

/* Donkere overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: -1;
}

html, body {
    height: 100%;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100% - 80px);
}

/* -----------------------------------
   HEADER & TITEL
----------------------------------- */
.header-lines {
    height: 2px;
    background: linear-gradient(to right, transparent, #c9b37a, transparent);
    margin: 10px 0;
}

.site-title {
    font-size: 3.4rem;
    color: #c9b37a;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-align: center;
    text-shadow:
        0 0 10px rgba(201,179,122,0.5),
        2px 2px 0 #0a2a2f,
        4px 4px 8px rgba(0,0,0,0.7);
}


/* -----------------------------------
       LANGUAGE SWITCH
----------------------------------- */

.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
}

.language-switch img {
    margin-left: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.language-switch img:hover {
    transform: scale(1.1);
}

/* -----------------------------------
   NAVIGATIE
----------------------------------- */
nav {
    margin-top: 25px;
    background: rgba(5, 25, 30, 0.85);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0,0,0,0.7);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav > ul > li {
    position: relative;
}

nav a {
    display: block;
    padding: 12px 20px;
    color: #e8f7ff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
}

nav a:hover {
    background: rgba(20, 60, 70, 0.7);
    color: #c9b37a;
}

/* Submenu */
nav ul ul {
    nav ul ul {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
}

nav li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(5, 20, 25, 0.9);
    min-width: 200px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.7);
    flex-direction: column !important;
}

nav ul ul li a {
    padding: 10px 16px;
    font-size: 0.95rem;
    white-space: nowrap;
}

nav li:hover > ul {
    display: block;
}
/* -----------------------------------
   DUNNE LIJN ONDER LEES VERDER
----------------------------------- */
article::after,
section::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin: 25px 0;
    background: linear-gradient(to right, transparent, #c9b37a, transparent);
}
  
  .lees-verder { 
    margin-top: 10px;
    padding-bottom: 6px;
    position: relative;
    display: inline-block;
}

.lees-verder::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #c9b37a, transparent);
}


/* -----------------------------------
   GALERIJ
----------------------------------- */
.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #c9b37a;
}

/* -----------------------------------
   RUNEN
----------------------------------- */
.rune-big {
    font-size: 35px;
    color: #c9b37a;
    display: inline-block;
    margin-right: 10px;
}

.rune-name {
    color: #c9b37a;
    font-weight: bold;
}

/* -----------------------------------
   LEES VERDER LINKS
----------------------------------- */
.lees-verder a {
    color: #c9b37a;
    font-weight: bold;
    text-decoration: none;
}

.lees-verder a:hover {
    text-decoration: underline;
}

/* -----------------------------------
   SMILEY / EMOJI BALK
----------------------------------- */
.smiley-balk {
    margin: 10px 0;
    padding: 10px;
    background: #f4f0e6;
    border: 1px solid #d6c9a3;
    border-radius: 6px;
}

.smiley-balk h6 {
    margin: 6px 0 4px 0;
    color: #8a774a;
    font-size: 14px;
    font-weight: bold;
}

.smiley-balk span {
    font-size: 18px; /* KLEINER EN NETJES */
    margin-right: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    display: inline-block;
}

.smiley-balk span:hover {
    transform: scale(1.25);
}


/* -----------------------------------
   GASTENBOEK – MAGISCHE LAYOUT
----------------------------------- */

/* Container voor elk bericht */
.gb-bericht {
    background: rgba(5, 20, 25, 0.75);
    border: 1px solid #c9b37a;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 25px 0;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    position: relative;
    transition: 0.3s ease;
}

.gb-bericht:hover {
    box-shadow: 0 0 20px rgba(201,179,122,0.4);
}

/* Naam + datum */
.gb-header {
    font-size: 0.9rem;
    color: #c9b37a;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Tekst van het bericht */
.gb-tekst {
    font-size: 1rem;
    line-height: 1.6;
    color: #e8f7ff;
}

/* Reactie van beheerder */
.gb-reactie {
    margin-top: 15px;
    padding: 12px 15px;
    border-left: 3px solid #c9b37a;
    background: rgba(201,179,122,0.08);
    border-radius: 4px;
    color: #c9b37a;
    font-size: 0.95rem;
    box-shadow: inset 0 0 10px rgba(201,179,122,0.2);
}

/* Beheerknoppen */
.gb-knoppen {
    margin-top: 12px;
}

.gb-knoppen a {
    color: #c9b37a;
    margin-right: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s ease;
}

.gb-knoppen a:hover {
    text-shadow: 0 0 6px #c9b37a;
}

/* Formulier */
.text-panel form input,
.text-panel form textarea {
    background: rgba(5, 20, 25, 0.7);
    border: 1px solid #c9b37a;
    border-radius: 6px;
    padding: 10px;
    color: #e8f7ff;
}

.text-panel form button {
    background: #c9b37a;
    color: #1a1a1a;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.text-panel form button:hover {
    background: #e8d7a8;
    box-shadow: 0 0 10px #c9b37a;
}


/* -----------------------------------
   FOOTER
----------------------------------- */
.footer {
    background-color: #1a1a1a;
    color: #c9b37a;
    padding: 25px;
    text-align: center;
    margin-top: 40px;
    border-top: 2px solid #c9b37a;
    opacity: 0.8;
}

.footer p {
    margin: 0;
}
