/*
Theme Name: Bobermania Design Clean
Theme URI: https://bobermania.de
Author: Bobermania
Author URI: https://bobermania.de
Description: Clean Design für Bobermania mit dezenter gelber Umrandung
Version: 1.1
License: GPL v2 or later
Text Domain: bobermania
*/

/* Grundlegendes Reset und Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: url('https://bobermania.de/wp-content/uploads/2026/01/carbon.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Header Styling */
.site-header {
    background-color: #000000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo Styling */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo a {
    display: inline-block;
}

.site-logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    max-height: 60px;
}

.site-logo img:hover {
    transform: scale(1.05);
}

/* Navigation Styling */
.main-navigation {
    display: flex;
}

.bobermania-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bobermania-menu li {
    margin-left: 25px;
    position: relative;
}

.bobermania-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
}

.bobermania-menu a:hover {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.1);
}

.bobermania-menu .current-menu-item > a {
    color: #FFD700;
    font-weight: 600;
}

/* Hauptinhalt Container */
.content-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    margin: 30px auto;
    max-width: 1200px;
    width: 100%;
}

/* Content-Box Styling - DEZENTER GLOW */
.content-box {
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    padding: 50px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

/* Einfacher gelber Glow beim Hover */
.content-box:hover {
    transform: scale(1.01);
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Noch dezenterer Effekt - nur sehr subtiler Glow */
.content-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: transparent;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-box:hover::after {
    opacity: 1;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.1) 20%, 
        rgba(255, 215, 0, 0.2) 50%, 
        rgba(255, 215, 0, 0.1) 80%, 
        transparent 100%);
}

/* Inhalt Styling */
.entry-title {
    color: #FFD700;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    color: #FFD700;
    margin: 30px 0 15px 0;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 8px;
}

.entry-content h3 {
    color: #FFD700;
    margin: 25px 0 12px 0;
    font-size: 1.5rem;
}

/* Links in Inhalten */
.entry-content a {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 215, 0, 0.5);
    transition: all 0.2s ease;
}

.entry-content a:hover {
    color: #ffed4e;
    border-bottom: 1px solid #ffed4e;
}

/* Listen */
.entry-content ul, 
.entry-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content ul li::marker {
    color: #FFD700;
}

/* WordPress spezifische Klassen */
.aligncenter {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wp-block-button a {
    background-color: rgba(255, 215, 0, 0.9);
    color: #000 !important;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.wp-block-button a:hover {
    background-color: rgba(255, 237, 78, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

/* Zitate */
.wp-block-quote {
    border-left: 4px solid #FFD700;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    background: rgba(255, 215, 0, 0.05);
    padding: 15px 20px;
    border-radius: 0 5px 5px 0;
}

/* Footer Styling */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 30px;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin: 5px 0;
    font-size: 16px;
    opacity: 0.9;
}

.heart {
    color: #ff4d6d;
    animation: heartbeat 2s infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    5% { transform: scale(1.1); }
    10% { transform: scale(1); }
    15% { transform: scale(1.1); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Separator */
.entry-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.5), 
        transparent);
    margin: 40px 0;
}

/* Code */
.entry-content code {
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #ffed4e;
}

/* Tabellen */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    overflow: hidden;
}

.entry-content th {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.entry-content td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-content tr:hover td {
    background: rgba(255, 215, 0, 0.05);
}

/* Kommentarbereich */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* Suchformular */
.search-form {
    display: flex;
    margin: 20px 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.search-form button {
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: rgba(255, 237, 78, 0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-container {
        padding: 30px 15px;
    }
    
    .content-box {
        padding: 40px 35px;
    }
    
    .entry-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        padding: 15px 20px;
        position: relative;
    }
    
    .site-logo {
        margin-bottom: 15px;
    }
    
    .site-logo img {
        height: 50px;
    }
    
    .bobermania-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .bobermania-menu li {
        margin: 0;
    }
    
    .content-box {
        padding: 30px 25px;
        border-radius: 8px;
    }
    
    .entry-title {
        font-size: 1.9rem;
    }
    
    .bobermania-menu a {
        font-size: 16px;
        padding: 8px 14px;
    }
    
    .footer-content p {
        font-size: 15px;
    }
    
    .content-box:hover {
        transform: scale(1.005);
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 12px 15px;
    }
    
    .content-box {
        padding: 25px 20px;
        border-radius: 6px;
    }
    
    .entry-title {
        font-size: 1.7rem;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    .bobermania-menu {
        gap: 8px;
    }
    
    .bobermania-menu a {
        font-size: 15px;
        padding: 6px 12px;
    }
    
    .content-box::after {
        display: none; /* Auf kleinen Geräten keinen Glow */
    }
}