/* LostUrbexMap - Dunkles Slide-Menu Design */

/* === GRUNDLEGENDES DUNKLES THEME === */
body {
    background-color: #2c2c2c !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
}

/* Header/Navigation Bar */
.site-header, .header, .navbar {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 10px 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #404040;
}

/* Logo/Titel im Header */
.site-title, .logo {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

/* === SIDEBAR KOMPLETT AUSBLENDEN === */
.sidebar, 
.widget-area, 
.secondary, 
#secondary,
.sidebar-primary,
.wp-sidebar,
.sidebar-right,
.sidebar-left,
.widget,
.wp-block-group.is-layout-flex,
.wp-block-group.is-layout-grid,
.sidebar-1,
#sidebar-1,
.complementary,
#complementary,
.extendable-sidebar,
.theme-sidebar,
aside,
[role="complementary"],
.wp-sidebar-area {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* Auch für spezifische Theme-Klassen */
.extendable .sidebar,
.extendable .widget-area,
.extendable aside {
    display: none !important;
}

/* Shortcode-Inhalte NICHT verstecken */
.shortcode-content .sidebar,
.shortcode-content [class*="sidebar"],
.wp-block-shortcode .sidebar,
.wp-block-shortcode [class*="sidebar"],
[class*="shortcode"] .sidebar,
[class*="shortcode"] [class*="widget"],
.entry-content .sidebar,
.entry-content [class*="sidebar"],
.post-content .sidebar,
.post-content [class*="sidebar"],
/* Plugin-spezifische Sidebars */
[class*="plugin"] .sidebar,
[class*="plugin"] [class*="widget"],
[class*="elementor"] .sidebar,
[class*="elementor"] [class*="widget"],
[class*="gutenberg"] .sidebar,
[class*="gutenberg"] [class*="widget"],
/* Alle interaktiven Elemente in Content-Bereichen */
.entry-content button,
.entry-content [role="button"],
.entry-content input,
.entry-content select,
.entry-content textarea,
.post-content button,
.post-content [role="button"],
.post-content input,
.post-content select,
.post-content textarea {
    display: block !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Spezifisch für interaktive Buttons */
.entry-content .sidebar button,
.entry-content [class*="sidebar"] button,
.post-content .sidebar button,
.post-content [class*="sidebar"] button {
    background-color: #4a9eff !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.entry-content .sidebar button:hover,
.entry-content [class*="sidebar"] button:hover,
.post-content .sidebar button:hover,
.post-content [class*="sidebar"] button:hover {
    background-color: #3a8eef !important;
}

/* === HAUPTINHALT VOLLBREITE === */
.main-content, 
.content-area,
#main,
.site-main,
.primary,
.content,
#content,
.site-content,
.main,
.container,
.wp-site-blocks,
.entry-content,
.post-content,
.page-content,
.extendable-content,
.wp-block-group,
.wp-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 60px 15px 15px 15px !important;
    box-sizing: border-box !important;
}

/* Layout auf Single-Column zwingen */
body {
    grid-template-columns: 1fr !important;
}

.site,
#page,
.wp-site-blocks {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
}

/* === HAMBURGER MENU BUTTON === */
.menu-toggle, 
.hamburger-menu,
.mobile-menu-toggle {
    display: block !important;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle:before {
    content: "☰";
    font-size: 24px;
}

/* === SLIDE-OUT NAVIGATION === */
.slide-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    z-index: 999;
    padding: 80px 0 20px 0;
    overflow-y: auto;
}

.slide-menu.active {
    left: 0;
}

.slide-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.slide-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-menu a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.slide-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Icons für Menu-Items */
.slide-menu a:before {
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 15px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* === OVERLAY FÜR MENU === */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* === CONTENT STYLING === */
.entry-title, h1, h2, h3 {
    color: #ffffff !important;
}

.entry-content, .post-content {
    color: #ffffff !important;
}

/* Links */
a {
    color: #4a9eff !important;
}

a:hover {
    color: #6bb6ff !important;
}

/* === BUTTONS/FORMS === */
.btn, button, input[type="submit"] {
    background-color: #4a9eff !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
}

.btn:hover, button:hover {
    background-color: #3a8eef !important;
}

/* === WAPPPRESS SPEZIFISCHE ANPASSUNGEN === */
.wapppress-container {
    background-color: #2c2c2c !important;
}

.wapppress-header {
    background-color: #1a1a1a !important;
}

/* === CARD/BOX STYLING === */
.card, .box, .widget {
    background-color: #3a3a3a !important;
    border: 1px solid #505050 !important;
    color: #ffffff !important;
}

/* === MOBILE DESIGN WIE SCREENSHOTS 3+4 === */
@media (max-width: 768px) {
    /* FORCE MOBILE LAYOUT - Alle Container auf Mobile zwingen */
    html {
        -webkit-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
    }
    
    body {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }
    
    /* Alle Container auf volle Breite zwingen */
    .main-content, 
    .content-area,
    #main,
    .site-main,
    .primary,
    .content,
    #content,
    .site-content,
    .main,
    .container,
    .wp-site-blocks,
    .entry-content,
    .post-content,
    .page-content,
    .extendable-content,
    .wp-block-group,
    .wp-container,
    .site,
    #page,
    .wp-site-blocks {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        padding: 20px 15px 80px 15px !important; /* Platz für Bottom Tab Bar */
        box-sizing: border-box !important;
        display: block !important;
        grid-template-columns: none !important;
        grid-template-areas: none !important;
        flex-direction: column !important;
    }
    
    /* Responsive Breakpoints überschreiben */
    .wp-block-columns {
        flex-direction: column !important;
    }
    
    .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }
    
    /* Text und Content für Mobile optimieren */
    h1, h2, h3, h4, h5, h6 {
        font-size: calc(1rem + 0.5vw) !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
        word-wrap: break-word !important;
    }
    
    p, .entry-content p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
        word-wrap: break-word !important;
    }
    
    /* Bilder und Medien responsive machen */
    img, video, iframe {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Tables responsive machen */
    table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        max-width: 100% !important;
    }
    
    /* Buttons mobile-friendly */
    .btn, button, input[type="submit"], .wp-block-button .wp-block-button__link {
        min-height: 44px !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        width: 100% !important;
        max-width: 300px !important;
        margin-bottom: 10px !important;
    }
    
    /* Slide Menu auf Mobile ausblenden */
    .slide-menu {
        display: none !important;
    }
    
    /* Hamburger Menu auf Mobile ausblenden */
    .menu-toggle {
        display: none !important;
    }
    
    /* Header auf Mobile minimieren */
    .site-header, .header, .navbar {
        position: relative !important;
        padding: 15px !important;
        text-align: center !important;
    }
    
    .site-title, .logo {
        font-size: 20px !important;
        margin: 0 !important;
    }
    
    
    /* === MOBILE CARD SYSTEM === */
    .mobile-card {
        background: rgba(42, 42, 42, 0.9) !important;
        border-radius: 16px !important;
        padding: 20px !important;
        margin-bottom: 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }
    
    .mobile-card-header {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 12px !important;
    }
    
    .mobile-card-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: 12px !important;
        font-size: 18px !important;
    }
    
    .mobile-card-title {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #e0e0e0 !important;
        margin: 0 !important;
    }
    
    .mobile-card-content {
        color: #b0b0b0 !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    /* === MOBILE SEITEN-SPEZIFISCH === */
    
    /* Home/Übersicht */
    .mobile-overview-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .mobile-stat-card {
        background: rgba(42, 42, 42, 0.9) !important;
        border-radius: 12px !important;
        padding: 16px !important;
        text-align: center !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    
    .mobile-stat-number {
        font-size: 24px !important;
        font-weight: bold !important;
        color: #64b5f6 !important;
        display: block !important;
    }
    
    .mobile-stat-label {
        font-size: 12px !important;
        color: #b0b0b0 !important;
        margin-top: 4px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
    }
    
    /* Profil-Sektion */
    .mobile-profile-card {
        background: rgba(42, 42, 42, 0.9) !important;
        border-radius: 16px !important;
        padding: 24px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    
    .mobile-profile-avatar {
        width: 80px !important;
        height: 80px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%) !important;
        margin: 0 auto 16px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 32px !important;
        color: white !important;
    }
    
    .mobile-profile-name {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #e0e0e0 !important;
        margin-bottom: 8px !important;
    }
    
    .mobile-profile-stats {
        display: flex !important;
        justify-content: space-around !important;
        margin-top: 16px !important;
    }
    
    .mobile-profile-stat {
        text-align: center !important;
    }
    
    .mobile-profile-stat-number {
        font-size: 16px !important;
        font-weight: bold !important;
        color: #64b5f6 !important;
        display: block !important;
    }
    
    .mobile-profile-stat-label {
        font-size: 11px !important;
        color: #b0b0b0 !important;
        text-transform: uppercase !important;
    }
    
    /* Quick Actions */
    .mobile-quick-actions {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .mobile-quick-action {
        background: rgba(42, 42, 42, 0.9) !important;
        border-radius: 12px !important;
        padding: 16px !important;
        text-align: center !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-decoration: none !important;
        color: #e0e0e0 !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-quick-action:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
        border-color: rgba(100, 181, 246, 0.3) !important;
    }
    
    .mobile-quick-action .icon {
        font-size: 24px !important;
        margin-bottom: 8px !important;
        display: block !important;
    }
    
    .mobile-quick-action .label {
        font-size: 12px !important;
        font-weight: 500 !important;
    }
    
}

/* === LOADING ANIMATION === */
.menu-toggle {
    transition: transform 0.3s ease;
}

.menu-toggle.active {
    transform: rotate(90deg);
}