/*
Theme Name: KMR Music Enhanced V20.7
Theme URI: https://kmrmusic.online
Description: A custom dark-mode child theme for K.M.R. Music (V20.7 - Rescue Edition).
Author: AIGravity
Template: astra
Version: 20.7.0
*/

/* VARIABLES */
:root {
    --bg-black: #050505;
    --text-white: #ffffff;
    --accent: #2979ff;
    --glass-bg: rgba(10, 10, 10, 0.95);
    /* Darker opacity to replace blur */
    --glass-border: rgba(255, 255, 255, 0.15);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700;900&display=swap');

/* BASE & RESET */
body {
    background-color: var(--bg-black) !important;
    color: #ffffff !important;
    /* Force Pure White */
    font-family: 'Outfit', sans-serif !important;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff !important;
    /* High Contrast Headers */
    font-weight: 700;
    margin-bottom: 20px;
}

p,
li,
span,
div {
    color: #e0e0e0;
    /* Slightly softer white for body text */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

/* VIDEO BG z-index */
.kmr-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -2;
}

/* PARALLAX SECTIONS */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ANIMATIONS & LIFT */
.kmr-scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.kmr-scroll-anim.in-view {
    opacity: 1;
    transform: translateY(0);
}

.lift-text {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: inline-block;
    transition: transform 0.3s;
}

.lift-text:hover {
    transform: translateY(-5px);
}

/* PAGE WRAPPER (V17 FIX) */
#primary.content-area {
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    z-index: 10;
    position: relative;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.site-header {
    padding: 30px 0;
    position: absolute;
    width: 100%;
    z-index: 9999;
    /* Boosted Z-Index */
}

/* ... existing Header Inner ... */

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-title a,
.site-title a:visited,
.site-title a:hover,
.site-title a:active {
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff !important;
    /* Force White always */
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    opacity: 1 !important;
    text-decoration: none !important;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    font-weight: 700;
    font-size: 0.9rem;
    /* Increased size */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
    /* Force White */
    opacity: 0.9;
}

.main-navigation a:hover {
    color: var(--accent) !important;
    /* Cyan Hover */
    opacity: 1;
    text-shadow: 0 0 15px rgba(41, 121, 255, 0.8);
}

/* HERO */
.kmr-hero-wrap {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.kmr-hero-content h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.kmr-btn-primary {
    padding: 15px 45px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 20px rgba(41, 121, 255, 0.3);
}

.kmr-btn-primary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* FEATURE SECTION */
.kmr-section-feature {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to bottom, transparent, #050505);
}

.kmr-feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
}

.feature-media img {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.feature-text h2 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.feature-text h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* SECTIONS (News, Sync, etc) */
.kmr-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
}

.kmr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    transition: 0.3s;
}

.info-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.info-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* SYNC CARDS */
.sync-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: 0.3s;
}

.sync-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.sync-card h4 {
    color: var(--accent);
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

/* FOOTER */
.site-footer {
    background: #000;
    padding: 60px 40px;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0;
}

.footer-links a {
    color: #aaa;
    margin: 0 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-disclosure {
    font-size: 0.8rem;
    margin: 20px auto;
    max-width: 800px;
    line-height: 1.5;
    color: #555;
}

/* MOBILE */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .kmr-hero-content h1 {
        font-size: 4rem;
    }

    .kmr-feature-split,
    .kmr-grid {
        grid-template-columns: 1fr;
    }

    .feature-media {
        order: 1;
    }

    .feature-text {
        order: 2;
        text-align: center;
    }
}

/* WOOCOMMERCE STYLING (V13) */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
}

.woocommerce ul.products li.product {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    padding: 20px !important;
    transition: 0.3s;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    border-color: var(--accent) !important;
}

.woocommerce ul.products li.product h2 {
    font-size: 1.2rem !important;
    text-transform: uppercase !important;
    padding: 10px 0 !important;
}

.woocommerce .woocommerce-Price-amount {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

.woocommerce a.button {
    background-color: var(--accent) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    padding: 10px 20px !important;
}

.woocommerce a.button:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* WC Mobile */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}