/*
Theme Name: gemini-hw
Theme URI: https://www.haehnchenwirt.de
Author: der-mali
Description: Ein einfaches, einspaltiges Theme mit Slide-In Menü, Overlay und Spalten-Layouts.
Version: 20251209.4
*/

/* =========================================
   1. BASIS & GLOBAL STYLES
   ========================================= */
body {
    background-color: #DDDDDD;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

#page-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (min-width: 1024px) {
    #page-container {
        box-shadow: 10px 10px 0 0 grey;
    }
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: red;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */

/* Header Container */
.header-container {
    background-color: red;
    color: white !important;
    position: relative;
    padding: 10px;
}

.header-container a {
    color: white !important;
}

.header-container a:hover {
    color: black !important;
}

/* Desktop Header */
header#masthead.site-header {
    display: block;
    background-color: red;
    padding: 20px;
    text-align: center;
}

.site-branding img {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

/* Desktop Navigation */
.desktop-navigation {
    margin-top: 10px !important;
}

/* Span Navigation Items */
span.active,
span:not(.active) {
    display: inline-block;
    margin: 0;
}

.active-menu-item, .navi-passive {
    float: left;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: -10px !important;
}

.active-menu-item {
    background: white;
    color: black !important;
    border-radius: 5px 5px 0 0;
    cursor: default;
}

.navi-passive a {
    display: block;
    color: white;
    text-decoration: none;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
}

.navi-passive a:hover {
    color: black;
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================================
   3. MOBILE HEADER & MENU
   ========================================= */

/* Mobile Header */
.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 20px;
    background-color: red;
    min-height: 70px;
}

.mobile-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
}

.mobile-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.mobile-title h1 {
    margin: 0;
    font-size: 16px;
    color: white;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-title p {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: white;
    opacity: 0.9;
    line-height: 1.3;
}

.mobile-header .menu-toggle {
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    align-self: flex-start;
    margin-top: 5px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    order: 2;
}

.mobile-header .menu-toggle:hover {
    transform: scale(1.1);
    color: black;
}

/* Mobile Slide-In Menu */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
/*	height: 100vh;	*/
    background-color: red;
    z-index: 1001 !important;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 15px rgba(0,0,0,0.3);
    overflow-y: auto;
}

.mobile-menu-container.toggled {
    right: 0;
}

.mobile-menu-container .menu-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 35px;
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-container .menu-close-btn:hover {
    color: black !important;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.mobile-menu-container ul {
    list-style: none;
    margin: 0;
    padding: 70px 0 0 0;
}

.mobile-menu-container li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-container li a {
    color: white !important;
    text-decoration: none !important;
    padding: 15px 20px;
    font-size: 18px;
    display: block;
    transition: all 0.3s ease;
	text-align: right; 
}

.mobile-menu-container li a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: black !important;
}

/* =========================================
   4. OVERLAY
   ========================================= */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000 !important;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.menu-is-open .menu-overlay {
    display: block;
    opacity: 1;
}

/* =========================================
   5. CONTENT AREA
   ========================================= */
#content {
    padding: 10px;
	background: white;
    color: black;
}

.boxgreen, .boxred {
    width: 100%;
    font-weight: bold;
}

.boxgreen {
    color: #28a745;
}

.boxred {
    color: #dc3545;
}

/* =========================================
   6. FOOTER
   ========================================= */
footer#colophon {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 20px;
    margin-top: auto;
    background-color: red;
}

footer#colophon a {
    color: white !important;
    text-decoration: none;
}

footer#colophon a:hover {
    color: red !important;
}

/* =========================================
   7. TYPOGRAPHY
   ========================================= */
h1, h2 {
    text-transform: uppercase;
}

h1 {
    letter-spacing: 3px;
}

h2 {
    letter-spacing: 2px;
}

h3 {
    letter-spacing: 1px;
}

h1, h2, h3 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

h1.site-branding, h2.site-branding {
    padding: 0;
    margin: 0;
    letter-spacing: 0;
    color: white;
}

h1.site-branding {
    font-size: 2.5em;
    font-weight: bold;
}

h2.site-branding {
    font-size: 1.8em;
    font-weight: normal;
}

h1.site-branding a:hover,
h2.site-branding a:hover {
    color: black !important;
}

/* =========================================
   8. RESPONSIVE BREAKPOINTS
   ========================================= */

/* Mobile Typography */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 19px;
        letter-spacing: 1.5px;
    }
    
    h2 {
        font-size: 18px;
        letter-spacing: 1.0px;
    }
    
    .header-container h2 {
        color: white !important;
        padding: 0 !important;
        margin: 0 !important;
        font-weight: bold !important;
        letter-spacing: 0;
    }
    
    h3 {
        font-size: 17px;
        letter-spacing: 0.5px;
    }
    
    h4 {
        font-size: 16px;
        letter-spacing: 0;
    }
}

/* Mobile Only */
@media screen and (max-width: 768px) {
    .mobile-header {
        display: flex;
    }
    
    .desktop-navigation,
    header#masthead.site-header,
    .header-top-navigation {
        display: none !important;
    }
    
    /* Small Mobile Adjustments */
    @media screen and (max-width: 480px) {
        .mobile-header {
            padding: 8px 15px;
            min-height: 60px;
        }
        
        .mobile-title h1 {
            font-size: 14px;
        }
        
        .mobile-title p {
            font-size: 11px;
        }
        
        .mobile-logo img {
            max-height: 35px;
        }
        
        .mobile-header .menu-toggle {
            font-size: 24px;
            padding: 4px 8px;
        }
    }
    
    @media screen and (max-width: 360px) {
        .mobile-title h1 {
            font-size: 12px;
        }
        
        .mobile-title p {
            font-size: 10px;
        }
        
        .mobile-header-left {
            gap: 10px;
        }
    }
}

/* Desktop Only */
@media screen and (min-width: 769px) {
    .mobile-header,
    .mobile-menu-container {
        display: none;
    }
}

/* =========================================
   9. SPECIAL COMPONENTS
   ========================================= */

/* Inline Page List */
.inline-page-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    gap: 20px;
}

.inline-page-list li {
    margin: 0;
}

.inline-page-list li a {
    color: white !important;
    font-size: 14px;
    padding: 5px 10px;
    display: inline-block;
}

.inline-page-list li a:hover {
    color: red !important;
}

@media screen and (max-width: 768px) {
    .inline-page-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .inline-page-list li a {
        font-size: 16px;
        padding: 10px;
    }
}

/* Menu Columns */
.menu-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.menu-column-left,
.menu-column-right {
    flex: 1;
}

@media screen and (max-width: 768px) {
    .menu-columns {
        flex-direction: column;
        gap: 20px;
    }
}

/* Platform Links */
.menu-platform-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* =========================================
   10. HELPER CLASSES
   ========================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }

/* Hide old navigation */
.header-top-navigation {
    display: none !important;
}