/* 
  Cyber Minimalist Theme
  Default: Dark Mode
*/

:root {
    --bg-color: #0d1117;
    --surface-color: #161b22;
    --primary-color: #00f0ff; /* Neon Cyan */
    --text-color: #c9d1d9;
    --text-muted: #8b949e;
    --border-color: #30363d;
    
    --font-primary: 'Segoe UI', system-ui, sans-serif;
}

[data-theme="light"] {
    --bg-color: #f0f6fc;
    --surface-color: #ffffff;
    --primary-color: #008b96; /* Deep Teal */
    --text-color: #24292f;
    --text-muted: #57606a;
    --border-color: #d0d7de;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 1.5rem;
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

/* Typography & Content */
h1, h2, h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

.hero {
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.hero p.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Cards (Posts, Projects) */
.card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.card h3 {
    margin-top: 0;
}

.tech-stack {
    display: inline-block;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
}

/* Forms */
input, textarea {
    width: 100%;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: inherit;
}

button.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
}

button.btn-primary:hover {
    opacity: 0.9;
}

/* Homepage Flair */
.btn { display: inline-block; padding: 0.8rem 1.5rem; background: var(--primary-color); color: #fff; text-decoration: none; border-radius: 4px; font-weight: bold; transition: all 0.2s ease; border: 2px solid var(--primary-color); }
.btn:hover { background: transparent; color: var(--primary-color); box-shadow: 0 0 15px rgba(0,240,255,0.3); }
.btn-outline { background: transparent; color: var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: #fff; }
.matrix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.matrix-card { background: var(--surface-color); border-top: 4px solid var(--primary-color); border-radius: 6px; padding: 1.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.2s ease; }
.matrix-card:hover { transform: translateY(-5px); }
.matrix-card h3 { margin-top: 0; color: var(--primary-color); }
.quote-block { border-left: 4px solid var(--primary-color); padding: 1.5rem; font-style: italic; background: var(--surface-color); margin: 3rem 0; border-radius: 0 6px 6px 0; }
.typing-container { min-height: 1.5rem; color: var(--primary-color); font-family: monospace; font-size: 1.1rem; }

/* AI Frontier Split */
.split-section { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; margin: 5rem 0; }
.split-image { flex: 1; min-width: 300px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.split-image img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.split-image:hover img { transform: scale(1.05); }
.split-text { flex: 1; min-width: 300px; }
/* Teaser Cards */
.teaser-container { margin: 5rem 0; text-align: center; }
.teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.teaser-card { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 2rem; transition: all 0.3s ease; text-decoration: none; color: inherit; display: block; }
.teaser-card:hover { border-color: var(--primary-color); box-shadow: 0 0 20px rgba(0,240,255,0.1); transform: translateY(-5px); }
.teaser-card h3 { color: var(--primary-color); margin-top: 0; }
/* Connect Card */
.connect-section { margin: 5rem 0; padding: 3rem; background: linear-gradient(135deg, var(--surface-color) 0%, var(--bg-color) 100%); border: 2px solid var(--border-color); border-radius: 12px; text-align: center; position: relative; overflow: hidden; }
.connect-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary-color), transparent); }
.connect-btns { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; border-radius: 50px; }

/* Expanded Split Layouts */
.split-reverse { flex-direction: row-reverse; }
@media (max-width: 768px) { .split-reverse { flex-direction: column; } }
.blurb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.blurb-item { border-left: 2px solid var(--primary-color); padding-left: 1rem; }
.blurb-item h4 { margin: 0 0 0.5rem 0; color: var(--text-color); }
.blurb-item p { margin: 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
.tech-marquee { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 4rem 0; }
.tech-badge { padding: 0.5rem 1.2rem; background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 50px; font-weight: 600; color: var(--primary-color); }

/* Video Header & Gallery */
.hero-wrapper { position: relative; padding: 4rem 2rem; border-radius: 12px; overflow: hidden; margin-top: 2rem; margin-bottom: 4rem; display: flex; align-items: center; justify-content: center; min-height: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.4; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(13,17,23,0.9) 0%, rgba(13,17,23,0.6) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; max-width: 1200px; width: 100%; }
[data-theme='light'] .hero-overlay { background: linear-gradient(135deg, rgba(240,246,252,0.9) 0%, rgba(240,246,252,0.6) 100%); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 2rem 0; }
.gallery-item { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.gallery-item:hover { transform: scale(1.03); border-color: var(--primary-color); box-shadow: 0 0 20px rgba(0,240,255,0.2); }
.gallery-video { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
