/*
Theme Name: reunisten-simple-theme
Description: An extremely simple WordPress theme with minimal styling - white background, black text, specially made for Reunisten RSG
Version: 1.0.6
Author: Wicher Hulzebosch
*/

:root {
    --rsg-purple: #532965;
    --rsg-purple-light: #5C3E8E;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

p {
    margin-bottom: 1.5em;
}

ul, ol {
    margin-bottom: 1.5em;
    list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0.5em;
    margin-bottom: 0.75em;
}

/* Header styles */
.site-header {
    padding: 20px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo styles - square placeholder for rsg_wapen.png */
.site-logo {
    width: 80px;
    height: 80px;
    float: left;
    margin-right: 20px;
    background-color: #ffffff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.site-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Fallback when no logo image */
.site-logo:empty::before {
    content: "LOGO";
    font-size: 12px;
    font-weight: bold;
    color: #000000;
}

/* Navigation styles */
.site-navigation {
    margin-left: 100px; /* Space for logo + margin */
    display: flex;
    align-items: flex-end;
    min-height: 80px;
}

.site-navigation ul {
    list-style: none;
    margin-bottom: 0;
}

.site-navigation li {
    display: inline-block;
    margin-right: 20px;
    position: relative;
}

.site-navigation a {
    color: #000000;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

.site-navigation a:hover {
    text-decoration: underline;
}

/* Sub-menu styles */
.site-navigation ul ul,
.site-navigation .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--rsg-purple-light);
    border: 2px solid var(--rsg-purple);
    display: none;
    min-width: 200px;
    z-index: 9999;
}

.site-navigation li:hover > ul,
.site-navigation .has-dropdown:hover > .dropdown {
    display: block;
}

.site-navigation ul ul li,
.site-navigation .dropdown li {
    display: block;
    margin: 0;
}

.site-navigation ul ul li:last-child {
    border-bottom: none;
}

.site-navigation ul ul a,
.site-navigation .dropdown a {
    color: #ffffff;
}

/* Third-level dropdown (nested submenu) */
.site-navigation .dropdown .has-dropdown {
    position: relative;
}

.site-navigation .dropdown .has-dropdown > .dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
}

.site-navigation .dropdown .has-dropdown:hover > .dropdown {
    display: block;
}

/* Ensure nested dropdown items display properly */
.site-navigation .dropdown .dropdown li {
    display: block;
    margin: 0;
}

.site-navigation .dropdown .dropdown a {
    color: #ffffff;
    padding: 10px 15px;
}

/* Content area */
.site-main {
    max-width: 800px;
    margin: 20px auto 40px;
    padding: 0 20px;
    text-align: left;
    flex: 1;
}

.content-area {
    background-color: #ffffff;
}

/* Footer styles */
.site-footer {
    margin-top: 60px;
    padding: 40px 0;
    background-color: var(--rsg-purple);
    color: #ffffff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    margin-right: 40px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

/* Clear floats */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Basic responsive */
@media (max-width: 768px) {
    .site-logo {
        float: none;
        margin: 0 auto 20px;
    }
    
    .site-navigation {
        margin-left: 0;
        margin-top: 0;
        text-align: center;
    }
    
    .footer-columns {
        flex-direction: column;
    }
    
    .footer-column {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

/* WooCommerce customizations */
.woocommerce-ordering {
    display: none !important;
}

/* Verberg product meta (artikelnummer & categorie) */
.product_meta {
    display: none !important;
}

/* Verberg gerelateerde producten */
.related.products {
    display: none !important;
}