/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
*/

/* --- 0. FONTS --- */
@font-face {
    font-family: 'Azonix';
    src: url('fonts/Azonix.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('fonts/Orbitron.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    letter-spacing: 1px;
    font-display: swap;
}

/* --- 1. VARIABLES --- */
:root {
    --bg-dark: #0b0e12;
    --bg-panel: #13171f;
    --neon-blue: #00f0ff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --font-tech: 'Orbitron', system-ui, sans-serif; 
    --glow: 0 0 10px rgba(0, 240, 255, 0.2);
	--accent: #00f0ff;
	--contrast: #e2e8f0;
}

/* --- 2. GLOBAL & LAYOUT --- */

/* The "Cyber Void" Background */
body {
    background: radial-gradient(circle at 50% 0%, #1a202c 0%, #0b0e12 80%) !important;
    background-color: var(--bg-dark); /* Fallback */
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-main);
}

/* Reset Backgrounds for Dark Mode Containers */
body .site-content,
body .inside-article,
body .comments-area {
    background-color: transparent !important;
}

/* --- 3. HEADER & NAVIGATION --- */

/* Header Background */
body .site-header,
body .main-navigation,
body .site-header .main-navigation {
    background-color: transparent !important; /* Let body gradient show through */
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

/* Logo / Site Title */
body .main-title a {
    color: var(--neon-blue) !important;
    font-family: var(--font-tech) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Menu Links */
body .main-navigation .main-nav ul li a {
    color: var(--neon-blue) !important;
    font-family: 'Orbitron','Inter', sans-serif;
	letter-spacing: 2px;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Menu Hover Effect */
body .main-navigation .main-nav ul li:hover > a, 
body .main-navigation .main-nav ul li.current-menu-item > a {
	background: var(--bg-dark) !important;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    border-radius: 10px;
    overflow: hidden;
}
body .main-navigation .main-nav ul li.current-menu-item > a {
    background-color: var(--neon-blue) !important;
	color: var(--bg-dark) !important;
}

/* Dropdown Sub-Menus */
body .main-navigation ul ul {
    background-color: var(--bg-panel) !important;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

/* Mobile Menu Toggle */
body button.menu-toggle {
    color: var(--neon-blue) !important;
}


/* --- 4. HOMEPAGE COMPONENTS --- */
.tech-home-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px; 
    font-family: 'Orbitron','Inter', system-ui, sans-serif;
	letter-spacing: 2px;
}

/* Custom "App-Like" Header (If used) */
.tech-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tech-logo h2 {
    font-family: var(--font-tech);
    color: var(--neon-blue);
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 2px;
}
.tech-search input {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 12px 25px;
    color: #fff;
    width: 300px;
    font-family: monospace;
    outline: none;
    transition: 0.3s;
}
.tech-search input:focus {
    border-color: var(--neon-blue);
    box-shadow: var(--glow);
}

/*  Category header */
header.page-header{
	background-color: var(--bg-dark) !important;
	color: var(--neon-blue);
	font-family: 'Orbitron', sans-serif;
	letter-spacing: 2px;
	padding: 10px 40px !important;
} 
.entry-header > .entry-title a{
	color: var(--neon-blue);
	font-family: 'Orbitron', sans-serif;
	letter-spacing: 2px;
}

.entry-meta{
	color: var(--text-muted);
}

/* --- 5. HERO SLIDER --- */
.tech-slider-container {
    position: relative;
    max-width: 100%;
    height: 450px; 
    margin-bottom: 50px;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.2); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.tech-slide {
    display: none; 
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    background-size: cover;
    background-position: center;
    align-items: flex-end; 
    padding: 40px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Gradient Overlay */
.tech-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(11,14,18,0.95) 0%, rgba(11,14,18,0.2) 100%);
    z-index: 1;
}

.tech-slide.active { display: flex; opacity: 1; z-index: 1; }

.tech-hero-content {
    max-width: 700px;
    color: #fff;
    z-index: 2;
    position: relative;
    animation: slideUp 0.8s ease-out;
}
.tech-hero-content > h2 > a {
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
    font-family: 'Orbitron', sans-serif;
	letter-spacing: 2px
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Slider Nav */
.tech-prev, .tech-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 5;
}
.tech-next { right: 0; border-radius: 3px 0 0 3px; }
.tech-prev:hover, .tech-next:hover {
    background-color: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Dots */
.tech-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 5;
}
.tech-dot {
    cursor: pointer;
    height: 10px; width: 10px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}
.tech-dot.active, .tech-dot:hover {
    background-color: var(--neon-blue); 
    box-shadow: 0 0 8px var(--neon-blue);
    transform: scale(1.2);
}

/* Plasma Button */
.tech-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1), inset 0 0 10px rgba(0, 240, 255, 0.1);
}
.tech-btn:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px var(--neon-blue);
}

/* --- 6. CARDS & GRID --- */
.tech-section-header {
    margin-bottom: 30px; margin-top: 40px;
    display: flex; align-items: center;
}
.tech-section-header h3 {
    font-size: 1.5rem; font-weight: 700; margin: 0;
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    white-space: nowrap; margin-right: 20px;
}
.tech-divider {
    height: 1px; width: 100%;
    background: rgba(0, 240, 255, 0.3);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Holographic Cards */
.tech-card {
    background: rgba(19, 23, 31, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.15); 
    transition: all 0.3s ease;
}
.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15); 
    border-color: var(--neon-blue);
}
.tech-card-img {
    height: 200px; overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tech-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.tech-card:hover .tech-card-img img { transform: scale(1.05); }

.tech-card-body { padding: 20px; }
.tech-cat {
    color: var(--neon-blue);
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    display: block; margin-bottom: 8px;
}
.tech-card h4 a {
    color: #e2e8f0; text-decoration: none;
    font-size: 1.2rem; font-weight: 700;
    display: block; margin: 5px 0 10px 0;
    line-height: 1.4; font-family: 'Orbitron', sans-serif;
    transition: color 0.2s;
}
.tech-card h4 a:hover { color: var(--neon-blue); }
.tech-meta {
    font-size: 0.85rem; color: #94a3b8;
    font-family: monospace;
}

/* --- 7. SINGLE POST TYPOGRAPHY & ELEMENTS --- */

/* Typography */
body.single-post .entry-title {
    font-family: var(--font-tech);
    font-size: 2.5rem; color: #fff;
    margin-bottom: 10px; line-height: 1.2; letter-spacing: 2px;
}

body.single-post .entry-meta {
    font-family: monospace; color: var(--text-muted);
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

body.single-post .entry-content {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.1rem; line-height: 1.8;
    color: var(--text-main);
}

body.single-post .entry-content h2, 
body.single-post .entry-content h3 {
    color: var(--neon-blue);
    font-family: var(--font-tech);
    margin-top: 40px; margin-bottom: 20px;
    letter-spacing: 2px;
}

body.single-post .entry-content a {
    color: var(--neon-blue);
    text-decoration: underline; text-underline-offset: 4px;
}

body.single-post .entry-content blockquote {
    border-left: 4px solid var(--neon-blue);
    margin: 30px 0; padding: 10px 20px;
    background: rgba(0, 240, 255, 0.05);
    font-style: italic; color: #fff;
}

body.single-post .entry-content pre {
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 20px;
    overflow-x: auto;
}

/* Sidebar   */
.widget-area .widget{
	padding: 15px;
	border-radius: 8px;
	border: 0.5px solid var(--neon-blue);
		background: var(--bg-panel) !important;
}
.widget-area .widget ul > li a{
	padding-bottom: 5px
	
}
.widget-area .widget ul > li a img{
	border-radius: 7px;
}

/* Comments */
body.single-post .comment-body {
    background: var(--bg-panel);
    padding: 20px; border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text-main);
}
.form-submit .submit {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 10px 20px; cursor: pointer;
    font-family: var(--font-tech); text-transform: uppercase;
}
.form-submit .submit:hover {
    background: var(--neon-blue); color: #000;
}

/* --- 8. FAQ ACCORDION (STRUCTURED CONTENT) --- */
.sc_fs_faq.sc_card {
    border: 1px solid rgba(0, 240, 255, 0.2) !important;
    margin-bottom: 12px;
    border-radius: 12px !important;
    background: #13171f !important;
    overflow: hidden;
    box-shadow: none !important;
    transition: all 0.3s ease;
}
.sc_fs_faq.sc_card:hover {
    border-color: #00f0ff !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1) !important;
}
.sc_fs_faq.sc_card > div {
    background: transparent !important; padding: 0 !important; border: none !important;
}
.sc_fs_faq.sc_card h2 {
    margin: 0 !important; padding: 18px 25px !important;
    cursor: pointer;
    font-size: 1.1rem !important; font-weight: 600 !important;
    background: transparent !important;
    display: flex; justify-content: space-between; align-items: center;
    color: #e2e8f0 !important;
    font-family: 'Orbitron', system-ui, sans-serif !important;
    transition: color 0.2s ease;
}
.sc_fs_faq.sc_card h2:hover {
    color: #00f0ff !important;
    background: rgba(255,255,255,0.02) !important;
}
.sc_fs_faq.sc_card h2::after {
    content: '+'; color: #00f0ff !important;
    font-size: 1.5rem; line-height: 1; margin-left: auto;
}
.sc_fs_faq.is-open h2::after { content: '−'; }
.sc_fs_faq.sc_card h2 + div {
    display: none; 
    padding: 10px 25px 25px 25px;
    background: transparent !important;
    color: #94a3b8 !important;
    line-height: 1.7; font-size: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.sc_fs_faq.is-open h2 + div { display: block; }


/* --- 9. MOBILE RESPONSIVENESS FIXES (CRITICAL) --- */
@media (max-width: 768px) {
    /* Fix Slider Height */
    .tech-slider-container { height: 380px; }
    .tech-slide { padding: 20px; }
    .tech-hero-content h2 a { font-size: 1.4rem; line-height: 1.3; }
    .tech-hero-content p { display: none; }
    
    /* Fix Grid */
    .tech-grid { grid-template-columns: 1fr; }
    
    /* Fix Header Layout */
    .tech-header-bar { flex-direction: column; gap: 15px; }
    .tech-search input { width: 100%; }

    /* Fix Single Post Padding & Table Overflow */
    .grid-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Force Tables to Scroll Sideways */
    .entry-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        border: 1px solid rgba(0, 240, 255, 0.1);
    }
    
    /* Fix Images */
    .entry-content img, .entry-content iframe {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* --- Single Post Featured Image Wrapper --- */
.neon-featured-wrapper {
    margin: 30px 0;
    border: 1px solid var(--neon-blue); /* The Neon Border */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1); /* Subtle Glow */
}

.neon-featured-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}
.comment-form input, .comment-form-comment {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
	.container .site-content .content-area {
		width: 100%;
	}
	body.single-post .entry-title {
		font-size: 1.5rem;
	}
	h3{
		font-size: 1.2rem;
    	line-height: 1.6rem;
	} 
    .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header
 	{
        padding: 0px;
    } 
	.comment-form-comment textarea {
    	background-color: var(--bg-panel);
		border-color: var(--neon-blue)
	}
	.sc_fs_faq.sc_card {
		padding: 0px;
		margin: 10px auto;
	}
	.sc_fs_faq.sc_card h2 {
        padding: 10px 15px !important;
        font-size: 12px !important;
	}
	.sc_fs_faq.is-open h2 + div {
        padding: 10px 15px !important;
        font-size: 13px !important;
	}
	/* 1. Fix the Collision: Push content UP to make room for dots */
    .tech-slide {
        padding-bottom: 60px !important; /* Forces the content to stop 60px from bottom */
        align-items: center !important; /* Center content vertically */
    }

    /* 2. Fix Readability: Darker Overlay */
    /* This makes the background image darker so white text pops */
    .tech-slide::before {
        background: linear-gradient(to top, rgba(11,14,18, 0.95) 10%, rgba(11,14,18, 0.6) 100%) !important;
    }

    /* 3. Text & Button Adjustments */
    .tech-hero-content {
        text-align: center; /* Center align looks better on mobile */
        width: 100%;
    }

    .tech-hero-content h2 a {
        font-size: 1.4rem !important; 
        text-shadow: 0 2px 5px rgba(0,0,0,1); /* Strong shadow for readability */
		letter-spacing: 2px;
    }

    .tech-btn {
        margin-top: 15px !important;
        font-size: 0.8rem !important;
		letter-spacing: 2px;
        padding: 10px 20px !important;
        background: rgba(0, 240, 255, 0.1) !important; /* Add slight background to button for contrast */
    }

    /* 4. Hide Arrows (Optional - cleans up the sides) */
    .tech-prev, .tech-next {
        display: none !important;
    }
	
	.tech-section-header h3,.tech-card h4 a{
		font-size: 1rem;
		letter-spacing: 2px;
	}
}
