/*
Theme Name: QOVOLT Neon
Theme URI: https://qovolt.com
Author: Antigravity
Author URI: https://generated-by-ai.com
Description: A high-contrast, Neon Yellow industrial theme for QOVOLT.
Version: 3.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, neon, industrial, responsive
Text Domain: qovolt
*/

/* 
 * QOVOLT Neon - Main Stylesheet
 * Fonts are now enqueued via functions.php for better performance.
 */

:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-surface-hover: #1f1f1f;
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-primary: #FFD700;
    /* Replaced --color-neon with primary config var */
    --color-secondary: #1a1a1a;
    --font-main: 'Michroma', sans-serif;
    --layout-max-width: 1200px;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    /* Light Theme for standard pages */
    color: #1a1a1a;
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Keep Dark/Neon Theme for Home and Quantum Template */
body.home,
body.page-template-template-quantum,
body.page-template-template-quantum-70,
body.page-template-template-quantum-80,
body.page-template-template-quantum-90,
body.page-template-elementor-canvas {
    background-color: var(--color-bg);
    color: var(--color-text-main);
}

/* WP Admin Bar Adjustment */
body.admin-bar .main-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .main-header {
        top: 46px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background-color: #000000;
    /* Solid Black */
    /* backdrop-filter: blur(10px); Removed per user request */
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ... existing styles ... */

.container {
    max-width: 1600px;
    /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 60px;
}

/* Specific Override for Quantum Page to match new wider container */
.quantum-page-wrapper .container {
    max-width: 1400px;
    /* Increased relative to standard */
    padding: 0 40px;
}

.brand-logo {
    height: 40px;
    /* Adjust based on logo aspect ratio */
    display: block;
}

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: var(--color-primary);
}

.cta-button {
    border: 1px solid var(--color-neon);
    color: var(--color-primary);
    padding: 8px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--color-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(234, 255, 0, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 60px;
    max-width: var(--layout-max-width);
    margin: 0 auto;
    gap: 60px;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.neon-text {
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(234, 255, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.primary-btn {
    background-color: var(--color-primary);
    color: #000;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(234, 255, 0, 0.5);
}

.secondary-btn {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-main);
}

/* Hero Image & Effects */
.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    /* For 3D feel */
}

@keyframes antigravity-float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-product-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    z-index: 2;
    /* Longer duration for smoother effect, ease-in-out for natural feel */
    animation: antigravity-float 8s ease-in-out infinite;
    will-change: transform;
    pointer-events: none;
    /* Let clicks pass through if needed, though usually valid image */
}

.hero-section:hover .hero-product-img {
    /* Slight slowdown on hover to "stabilize" */
    animation-duration: 12s;
}

.glow-effect {
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(234, 255, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    /* Keep hardcoded or make dynamic if wanted, staying hardcoded for now or simple replace if hex matches default */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(40px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 60px 40px 120px;
}

.feature-card {
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.feature-card p {
    color: var(--color-text-muted);
}

.feature-card.highlight {
    border-color: rgba(234, 255, 0, 0.3);
    background: linear-gradient(145deg, var(--color-surface) 0%, rgba(234, 255, 0, 0.05) 100%);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {

    /* Menu Toggle (Hamburger) */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.05);
        /* Subtle background to ensure visibility */
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        cursor: pointer;
        z-index: 1001;
        margin-right: -10px;
        /* Offset padding */
    }

    .hamburger-box {
        width: 24px;
        height: 18px;
        display: inline-block;
        position: relative;
    }

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        width: 24px;
        height: 2px;
        background-color: var(--color-primary);
        position: absolute;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .hamburger-inner {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger-inner::before {
        content: "";
        top: -7px;
    }

    .hamburger-inner::after {
        content: "";
        top: 7px;
    }

    /* Active Hamburger */
    .menu-toggle.is-active .hamburger-inner {
        background-color: transparent;
    }

    .menu-toggle.is-active .hamburger-inner::before {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-active .hamburger-inner::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Navigation */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #000;
        padding: 100px 30px 40px;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        z-index: 1000;
        border-left: 1px solid var(--color-primary);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
        visibility: hidden;
    }

    .main-nav.is-active {
        right: 0 !important;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: flex-start !important;
    }

    .main-nav a {
        font-size: 1.1rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Typography Scaling */
    .hero-title,
    .quantum-title {
        font-size: 1.8rem !important;
        /* Scaled down further for mobile */
        line-height: 1.1;
        word-break: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
        margin-bottom: 15px;
    }

    .quantum-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 100px;
        gap: 20px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 30px;
        gap: 15px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        margin: 0 !important;
    }

    /* Header Refinements */
    .main-header {
        padding: 0 15px;
        height: 60px;
    }

    .brand-logo {
        height: 28px;
        /* Smaller logo */
        width: auto;
    }
}

/* Hide toggle on desktop */
.menu-toggle {
    display: none;
}

/* --- Dynamic Menu Support --- */
.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-primary);
}

/* --- Generic Page Content --- */
.page-content,
.page-content-full {
    padding-top: 120px;
    /* Header override */
    padding-bottom: 60px;
    min-height: 80vh;
}

.page-content-90 {
    max-width: 90%;
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 80vh;
}

.page-content-80 {
    max-width: 80%;
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 80vh;
}

.page-content-full {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

.container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.entry-title {
    font-size: 3rem;
    color: #1a1a1a;
    /* Dark text for light pages */
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 20px;
}

.entry-content {
    color: #333;
    /* Dark text for light pages */
    font-size: 1.1rem;
    max-width: 800px;
}

.entry-content p {
    margin-bottom: 20px;
}




.quantum-hero {
    background-color: var(--color-surface);
    padding: 160px 0 80px;
    text-align: center;
    border-bottom: 2px solid var(--color-primary);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        linear-gradient(0deg, #0a0a0a 0%, #141414 100%);
}

.quantum-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: 20px;
}

.quantum-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.quantum-intro {
    font-size: 1.25rem;
    color: #ddd;
    text-align: center;
    max-width: 900px;
    margin: 60px auto;
    line-height: 1.8;
}

.neon-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 60px 0;
    opacity: 0.5;
}

.quantum-features h2,
.quantum-specs h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 40px;
}

/* Specs Table Responsiveness */
.quantum-cta {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.tech-specs-table {
    width: 100%;
    min-width: 600px;
    /* Ensure table keeps its structure */
    max-width: 900px;
    margin: 0 auto 80px;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
}

.tech-specs-table th,
.tech-specs-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
}

.tech-specs-table th {
    background-color: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    width: 30%;
    color: var(--color-primary);
}

.tech-specs-table tr:last-child td,
.tech-specs-table tr:last-child th {
    border-bottom: none;
}

.quantum-cta {
    text-align: center;
    padding: 60px 0;
    background: var(--color-surface);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quantum-cta h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

.hero-actions.center {
    justify-content: center;
}