:root {
    --bg-color: #0d1117;
    --text-color: #c9d1d9;
    --accent-color: #00f3ff; /* Cyberpunk Cyan */
    --secondary-color: #161b22;
    --border-color: #30363d;
    --font-main: 'Courier New', Courier, monospace;
}

[data-theme="light"] {
    --bg-color: #f0f0f0;
    --text-color: #1a1a1a;
    --accent-color: #0056b3;
    --secondary-color: #ffffff;
    --border-color: #cccccc;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links { list-style: none; display: flex; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: bold; font-size: 1.1rem; }
.nav-links a:hover { color: var(--accent-color); }
.logo { font-size: 1.5rem; color: var(--accent-color); font-weight: bold; }

/* Sections */
section {
    padding: 80px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Hero Text */
h1 { font-size: 3.5rem; margin: 15px 0; color: var(--accent-color); }
.subtitle { font-size: 1.4rem; opacity: 0.9; }

/* Buttons */
.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn-primary:hover { background: var(--accent-color); color: var(--bg-color); }

.btn-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Cards (Projects) */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    width: 100%; 
    max-width: 800px; 
    margin: 20px auto 0;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.card-link:hover {
    transform: translateY(-5px);
}

.card {
    background: var(--secondary-color);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 243, 255, 0.1);
}

.card h3 {
    margin-top: 0;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 i {
    font-size: 1.2em;
}

.read-more {
    margin-top: auto;
    padding-top: 15px;
    color: var(--accent-color);
    font-weight: bold;
    text-align: right;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.card:hover .read-more {
    opacity: 1;
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    line-height: 1.8;
}

.blog-post h1 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    line-height: 1.3;
}

.blog-post h2 {
    color: var(--accent-color);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    font-size: 1.8rem;
}

.blog-post p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.post-meta {
    margin-bottom: 2rem;
    opacity: 0.8;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-back {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.btn-back:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-post {
        padding: 1rem;
    }
    
    .blog-post h1 {
        font-size: 2rem;
    }
    
    .blog-post h2 {
        font-size: 1.5rem;
    }
}
.tag {
    font-size: 0.8rem;
    background: var(--border-color);
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

.profile-pic {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* rest of your existing navbar styles */
}

/* Contact Buttons */
.contact-links { margin-top: 20px; display: flex; gap: 15px; }
.btn-outline {
    padding: 10px 20px;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
    transition: 0.3s;
}
.btn-outline:hover { border-color: var(--accent-color); color: var(--accent-color); }

footer { padding: 20px; text-align: center; font-size: 0.8rem; opacity: 0.6; }