/* Base styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #0a192f; /* Dark blue background */
    color: #8892b0; /* Light gray text */
    counter-reset: section;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px;
}

/* Header */
header {
    background-color: #0a192f;
    padding: 12px 0;
    border-bottom: 1px solid #112240;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #64ffda; /* Green accent */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

nav a {
    color: #8892b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #64ffda;
}

.resume-button {
    background-color: transparent;
    border: 1px solid #64ffda;
    color: #64ffda;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.resume-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px); /* Adjust based on header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 16px 0;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    color: #64ffda;
    font-size: 18px;
    margin-bottom: 12px;
}

.hero-content h2 {
    font-size: 48px;
    color: #ccd6f6; /* Lightest gray */
    margin-bottom: 10px;
}

.hero-content h3 {
    font-size: 36px;
    color: #8892b0;
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.call-to-action {
    background-color: transparent;
    border: 1px solid #64ffda;
    color: #64ffda;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.call-to-action:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* Main Content Sections */
main {
    padding: 32px 0;
}

section {
    margin-bottom: 32px;
}

section h2 {
    font-size: 28px;
    color: #ccd6f6;
    margin-bottom: 16px;
    position: relative;
}

section h2::before {
    counter-increment: section;
    content: "0" counter(section) ".";
    color: #64ffda;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    font-size: 18px;
    position: relative;
    bottom: 4px;
    margin-right: 10px;
}

section h2::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #233554;
    z-index: -1;
}

section h2 span {
    background-color: #0a192f;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

section p {
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 10px;
}

section ul {
    list-style: none;
    padding: 0;
}

section ul li {
    color: #8892b0;
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

section ul li::before {
    content: '▹';
    color: #64ffda;
    position: absolute;
    left: 0;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.project-card {
    background-color: #112240;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
    transition: transform 0.3s ease;
}

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

.project-card h3 {
    color: #ccd6f6;
    font-size: 18px;
    margin-bottom: 8px;
}

.project-card p {
    color: #8892b0;
    font-size: 14px;
    margin-bottom: 10px;
}

.project-card .meta {
    display: flex;
    align-items: center;
    color: #8892b0;
    font-size: 13px;
    margin-bottom: 10px;
}

.project-card .meta svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    color: #64ffda;
}

.project-card .meta span {
    margin-right: 15px;
}

.project-card a {
    color: #64ffda;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-card a:hover {
    color: #64ffda;
}

.github-button {
    background-color: transparent;
    border: 1px solid #64ffda;
    color: #64ffda;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block; /* Make it behave like a block for padding/margin, but inline for flow */
    margin-top: 12px; /* Add some space above the button */
}

.github-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* Contact Section */
.contact-links {
    list-style: none;
    padding: 0;
}

.contact-links li {
    margin-bottom: 5px;
}

.contact-links a {
    color: #64ffda;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #64ffda;
}

/* Footer */
footer {
    background-color: #0a192f;
    color: #8892b0;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #112240;
}

/* Social Links (Left Sidebar) */
.social-links {
    position: fixed;
    bottom: 0;
    left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    list-style: none;
    padding: 0;
}

.social-links::after {
    content: '';
    display: block;
    width: 1px;
    height: 90px;
    background-color: #8892b0;
}

.social-links a {
    color: #8892b0;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #64ffda;
    transform: translateY(-3px);
}

/* Email Link (Right Sidebar) */
.email-link {
    position: fixed;
    bottom: 0;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    list-style: none;
    padding: 0;
}

.email-link::after {
    content: '';
    display: block;
    width: 1px;
    height: 90px;
    background-color: #8892b0;
}

.email-link a {
    color: #8892b0;
    font-size: 14px;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.email-link a:hover {
    color: #64ffda;
    transform: translateY(-3px);
}

/* Utility classes for spacing and text */
.text-green-accent {
    color: #64ffda;
}

.text-lightest-slate {
    color: #ccd6f6;
}

.text-slate {
    color: #8892b0;
}

.font-mono {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
}

.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-10 { margin-bottom: 2rem; }
.mt-8 { margin-top: 1.5rem; }
.p-6 { padding: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-4xl { font-size: 2.25rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.leading-relaxed { line-height: 1.625; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.md:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.rounded-lg { border-radius: 0.5rem; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.border { border-width: 1px; }
.border-gray-200 { border-color: #edf2f7; }
.flex { display: flex; }
.items-center { align-items: center; }
.mr-1 { margin-right: 0.25rem; }
.ml-4 { margin-left: 1rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.object-cover { object-fit: cover; }
.border-4 { border-width: 4px; }
.border-blue-500 { border-color: #3b82f6; }
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }
.rounded-full { border-radius: 9999px; }