/*
 Theme Name: Kadence Child - Dark
 Template: kadence
 Version: 1.5
*/

/* Dark Theme */
html, body { background-color: #0a0a0a !important; color: #ffffff !important; font-family: 'Inter', sans-serif !important; }
body, p, li, span, div, td, th { color: #cccccc !important; }
h1, h2, h3, h4, h5, h6 { color: #ffffff !important; font-weight: 800 !important; }
a { color: #C0E000 !important; text-decoration: none !important; }
a:hover { color: #d4ff00 !important; }*/

/* === KADENCE WHITE BACKGROUND FIX === */
.entry-hero-container-inner,
.entry-hero,
.entry-hero-layout-standard,
.entry-hero-layout-fullwidth,
.content-bg,
.entry-content-wrap,
.site-container,
.hero-container,
.content-container,
.content-area,
.site-main,
.entry-content,
.single-content,
.entry-header,
.page-hero-section,
.hero-section-overlay {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
}

/* Kadence palette override */
:root {
    --global-palette7: #0a0a0a !important;
    --global-palette8: #0a0a0a !important;
    --global-palette9: #0a0a0a !important;
    --global-palette-btn: #000000 !important;
    --global-palette-btn-hover: #000000 !important;
    --global-palette-btn-bg: #C0E000 !important;
    --global-palette-btn-bg-hover: #d4ff00 !important;
}

/* Header */
.site-header, #masthead, .kadence-header-wrap { background: rgba(10,10,10,0.95) !important; border-bottom: 1px solid rgba(192,224,0,0.1) !important; }
.site-header a, .main-navigation a { color: #ffffff !important; font-weight: 600 !important; }
.site-header a:hover { color: #C0E000 !important; }

/* Content */
.site-content, .content-area, #primary, #main, .site-main, .site-main, .entry-content { background: #0a0a0a !important; }
.kadence-row-layout-wrap, .kadence-column, .innerblocks-wrap, .wp-block-kadence-rowlayout, .wp-block-kadence-column { background: #0a0a0a !important; }

/* Cover */
.wp-block-cover { background: #0a0a0a !important; }
.wp-block-cover__background { background-color: #0a0a0a !important; opacity: 1 !important; }

/* Columns/Cards - but NOT hero columns */
.wp-block-column { background: linear-gradient(145deg, #1a1a1a, #0f0f0f) !important; border: 1px solid rgba(192,224,0,0.1) !important; border-radius: 16px !important; }

/* === BUTTON FIX: Force dark text on lime green === */
body .wp-block-button__link,
body a.wp-block-button__link,
body .wp-block-button .wp-block-button__link,
html body .wp-block-button__link {
    background: #C0E000 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border: none !important;
    padding: 14px 28px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Lime background button - force dark text */
body .wp-block-button__link.has-lime-background-color,
body a.wp-block-button__link.has-lime-background-color,
body .wp-block-button .has-lime-background-color,
body .wp-block-button a.has-lime-background-color,
html body a.wp-block-button__link.has-lime-background-color {
    background: #C0E000 !important;
    color: #000000 !important;
}

/* Hover state for ALL buttons */
body .wp-block-button__link:hover,
body a.wp-block-button__link:hover,
body .wp-block-button__link.has-lime-background-color:hover,
body a.wp-block-button__link.has-lime-background-color:hover {
    background: #d4ff00 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(192,224,0,0.4) !important;
}

/* Secondary button (outline/white) */
body .wp-block-button.is-style-outline .wp-block-button__link,
body .wp-block-button .has-white-background-color {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
}
body .wp-block-button.is-style-outline .wp-block-button__link:hover,
body .wp-block-button .has-white-background-color:hover {
    background: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
    border-color: #C0E000 !important;
}

/* Footer */
.site-footer, #colophon { background: #050505 !important; border-top: 1px solid rgba(192,224,0,0.1) !important; }
.site-footer a { color: #C0E000 !important; }

/* Site title */
.site-title a { color: #ffffff !important; font-weight: 800 !important; }
.site-description { color: #888888 !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px !important; }
::-webkit-scrollbar-track { background: #0a0a0a !important; }
::-webkit-scrollbar-thumb { background: #C0E000 !important; border-radius: 4px !important; }

/* Selection */
::selection { background: #C0E000 !important; color: #0a0a0a !important; }

/* Force override ALL inline white backgrounds */
[style*='background-color: rgb(255, 255, 255)'],
[style*='background: rgb(255, 255, 255)'],
[style*='background-color: #fff'],
[style*='background-color: #ffffff'],
[style*='background: #fff'],
[style*='background: #ffffff'],
[style*='background-color: white'],
[style*='background: white'] {
    background-color: #0a0a0a !important;
    background: #0a0a0a !important;
}

/* Navigation links */
.nav-menu a, .main-navigation a, .menu-item a { color: #ffffff !important; }
.nav-menu a:hover, .main-navigation a:hover { color: #C0E000 !important; }
.current-menu-item a, .current_page_item a { color: #C0E000 !important; }

/* === HERO SECTION FIX === */
.hero-split {
    align-items: stretch !important;
    min-height: 500px !important;
}
.hero-split .wp-block-column {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}
.hero-split .wp-block-column:first-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.hero-split .wp-block-column:last-child {
    overflow: hidden !important;
    position: relative !important;
}
.hero-split .wp-block-column:last-child img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}

/* Ensure images display properly */
.wp-block-image img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Navigation current item */
.current-menu-item > a {
    color: #C0E000 !important;
}

/* Remove any remaining white Kadence layout backgrounds */
.kadence-row-layout-wrap,
.kadence-row-layout-inner,
.wp-block-kadence-rowlayout,
.wp-block-kadence-column,
.kadence-column {
    background: #0a0a0a !important;
}

/* Fix entry title area */
.entry-title { color: #ffffff !important; }
.entry-header { background: #0a0a0a !important; }
