/*
Theme Name: Stockbach Hexa Wittershausen
Theme URI: https://example.com
Author: Richard / RiKu Company
Description: Vereinswebsite der Stockbach Hexa Wittershausen e.V. im Hexen-Stil (giftgrün & schwarz).
Version: 1.0
Text Domain: stockbach-hexa
*/

:root {
    --hx-bg: #000000;
    --hx-green: #9aff00;
    --hx-green-light: #baff33;
    --hx-text: #eeeeee;
    --hx-grey-dark: #111111;
    --hx-font-body: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --hx-font-heading: 'UnifrakturCook', 'Impact', system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--hx-bg);
    color: var(--hx-text);
    font-family: var(--hx-font-body);
}

/* Header */

.site-header {
    background: rgba(0,0,0,0.95);
    border-bottom: 2px solid var(--hx-green);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    height: 60px;
    width: auto;
}

.site-title {
    font-family: var(--hx-font-heading);
    color: var(--hx-green);
    font-size: 1.8rem;
    margin: 0;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: #cccccc;
}

/* Navigation */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    color: var(--hx-text);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    border-bottom-color: var(--hx-green);
    color: var(--hx-green);
}

/* Mobile Nav */

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--hx-green);
    color: var(--hx-green);
    padding: 6px 10px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .main-navigation ul {
        display: none;
        flex-direction: column;
        background: #000;
        position: absolute;
        right: 20px;
        top: 70px;
        padding: 15px;
        border: 1px solid var(--hx-green);
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Layout */

.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Front Page */

.front-hero {
    background: #000;
    color: var(--hx-green);
    padding: 140px 20px 100px;
    text-align: center;
    background-image: url('assets/hexen-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}

.front-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.front-hero-logo img {
    width: 180px;
    margin-bottom: 20px;
}

.front-hero h1 {
    font-family: var(--hx-font-heading);
    font-size: 3.2rem;
    margin-bottom: 10px;
}

.front-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #d4ff9a;
}

/* Sections */

.section {
    padding: 80px 20px;
    text-align: center;
}

.section-dark {
    background: var(--hx-grey-dark);
}

.section h2 {
    font-family: var(--hx-font-heading);
    font-size: 2.6rem;
    color: var(--hx-green);
    margin-bottom: 25px;
}

.section p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--hx-text);
    font-size: 1.05rem;
}

/* Buttons */

.cta-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 26px;
    background: var(--hx-green);
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    background: var(--hx-green-light);
}

/* Quick links grid */

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

/* Allgemeine Seiten */

.page-title {
    font-family: var(--hx-font-heading);
    font-size: 2.4rem;
    color: var(--hx-green);
    text-align: center;
    margin-bottom: 30px;
}

.page-content {
    font-size: 1rem;
    line-height: 1.6;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Galerie / Instagram */

.instagram-embed-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Kontaktformular */

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Footer */

.site-footer {
    border-top: 2px solid var(--hx-green);
    padding: 20px 20px 30px;
    text-align: center;
    background: #000;
    color: #888;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.footer-legal {
    margin-top: 10px;
}

.footer-legal a {
    color: var(--hx-green);
    text-decoration: none;
    margin: 0 10px;
}

.footer-legal a:hover {
    text-decoration: underline;
}