/*
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: 20251217.1
*/


@import url('../gemini-common/style-common.css');
@import url('../gemini-common/style-red.css');


/* =========================================
   THEME-SPEZIFISCHE STYLES
   ========================================= */

#page-container {
    background-color: white;
}

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

.header-container a {
    color: white !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 !important;
    background-color: rgba(255, 255, 255, 0.2);
}

/* MOBILE HEADER */
.mobile-header {
    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 MENÜ ANPASSUNG */
.mobile-menu-container {
    background-color: red;
}

.mobile-menu-container li a:hover {
    color: black !important;
}

.mobile-menu-container .menu-close-btn:hover {
    color: black !important;
}

/* CONTENT AREA */
.boxgreen, .boxred {
    width: 100%;
    font-weight: bold;
}

.boxgreen {
    color: #28a745;
}

.boxred {
    color: #dc3545;
}

/* 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;
}

/* TYPOGRAPHY */
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;
}

/* RESPONSIVE ANPASSUNGEN */
@media screen and (max-width: 768px) {
    .header-container h2 {
        color: white !important;
        padding: 0 !important;
        margin: 0 !important;
        font-weight: bold !important;
        letter-spacing: 0;
    }
}

/* 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;
    }
}

/* =========================================
   RESPONSIVE UMSCHALTUNG FÜR gemini-hw
   Diesen Abschnitt nicht in style-common
   aufnehmen, dies wird je Theme benötigt!
   ========================================= */
/* MOBILE (max-width: 768px) */
@media screen and (max-width: 768px) {
    .mobile-header {
        display: flex;
    }
    .desktop-navigation {
        display: none;
    }
    header#masthead.site-header {
        display: none;
    }
}
/* DESKTOP (min-width: 769px) */
@media screen and (min-width: 769px) {
    .mobile-header {
        display: none;
    }
    .mobile-menu-container {
        display: none;
    }
}