/*
Theme Name: ReclaimDev v2
Theme URI: https://reclaimdev.com
Author: ReclaimDev
Author URI: https://reclaimdev.com
Description: A refined "New Yorker x Cyberpunk" theme for ReclaimDev.
Version: 2.0
License: MIT
License URI: http://opensource.org/licenses/MIT
Text Domain: reclaimdev-v2
*/

/* ========================================================================
   RECLAIMDEV - TECH CHRONICLE THEME (Refined / Light)
   A fusion of New Yorker sophistication and Cyberpunk utility.
   ======================================================================== */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,600;1,400&family=Fira+Code:wght@300;400;500&family=Inter:wght@400;500;600&display=swap');

:root {
    /* === COLOR PALETTE (New Yorker / Refined) === */
    /* Backgrounds */
    --bg-main: #ffffff;
    --bg-panel: #f8f9fa;
    --bg-input: #f8f9fa;
    /* Light terminal for 'Clean Report' look */
    --bg-header: rgba(255, 255, 255, 0.95);

    /* Text */
    --text-primary: #1a1a1a;
    --text-secondary: #5a6b7c;
    --text-accent: #2c5f8d;
    /* Classic Blue */

    /* Borders & Lines */
    --border-subtle: #e2e8f0;
    --border-active: #2c5f8d;

    /* Typography */
    --font-serif: 'Spectral', serif;
    --font-mono: 'Fira Code', monospace;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

/* === RESET & BASE === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-accent);
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.mono-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === HEADER === */
header {
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    /* Reset default margin */
    padding: 0;
    /* Reset default padding */
}

nav a {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
    color: var(--text-primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* === HERO SECTION === */
.hero {
    padding: 6rem 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Interactive Terminal Styles */
.hero-terminal {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    height: 400px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #e2e8f0;
    /* Light header for terminal */
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    gap: 8px;
    align-items: center;
}

.term-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.term-dot.red {
    background: #ef4444;
}

.term-dot.yellow {
    background: #f59e0b;
}

.term-dot.green {
    background: #10b981;
}

.terminal-body {
    padding: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
    color: var(--text-secondary);
    /* Dark text for light terminal */
}

/* Terminal Output Lines */
.term-line {
    margin-bottom: 0.25rem;
}

.term-line.command {
    color: var(--text-primary);
    font-weight: bold;
}

.term-line.success {
    color: #10b981;
}

.term-line.error {
    color: #ef4444;
}

.term-line.warning {
    color: #f59e0b;
}

/* === BLOG / SYSTEM LOGS === */
.system-logs {
    padding: 4rem 0;
    border-top: 1px solid var(--border-subtle);
}

.log-feed {
    position: relative;
    max-width: 800px;
    margin-top: 2rem;
}

/* The Timeline Line */
.log-feed::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-subtle);
}

.log-entry {
    margin-left: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

/* The Timeline Dot */
.log-entry::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--bg-main);
    border: 2px solid var(--text-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-main);
}

.log-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    gap: 1rem;
}

.log-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.log-title a {
    color: var(--text-primary);
}

.log-title a:hover {
    color: var(--text-accent);
}

.log-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.read-protocol {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-protocol::after {
    content: '->';
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    background: var(--text-primary);
    color: #ffffff;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn:hover {
    background: var(--text-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

/* === FOOTER === */
footer {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0;
    margin-top: 4rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* WordPress Admin Bar Fix */
.admin-bar header {
    top: 32px;
}