/* Custom Design Variables */
:root {
    --bg-main: #0a192f;
    --bg-card: #112240;
    --text-primary: #ccd6f6;
    --text-muted: #8892b0;
    --accent-color: #64ffda;
    --accent-hover: rgba(100, 255, 218, 0.1);
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
}

/* Utility Layouts */
.max-width-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.border-top {
    border-top: 1px solid #233554;
}

.text-center { text-align: center; }
.justify-center { justify-content: center; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

.logo {
    font-family: var(--font-mono);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
}

.hero-intro {
    font-family: var(--font-mono);
    color: var(--accent-color);
    margin-bottom: 10px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 70px);
    font-weight: 700;
    color: #e6f1ff;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(30px, 6vw, 50px);
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 540px;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 22px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: var(--accent-hover);
}

/* Headings */
.section-heading {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: #e6f1ff;
    margin-bottom: 40px;
}

.section-heading span {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* About Section */
.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 10px;
    margin-top: 20px;
    list-style: none;
}

.skills-list li::before {
    content: "▹";
    color: var(--accent-color);
    margin-right: 10px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 15px;
    max-width: 600px;
}

/* Project Cards Layout */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1xl));
    gap: 20px;
}

.project-card {
    background-color: var(--bg-card);
    border-radius: 6px;
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
}

.project-title {
    color: #e6f1ff;
    margin-bottom: 10px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.project-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-right: 15px;
    font-size: 0.85rem;
}

.project-links a:hover {
    color: var(--accent-color);
}

/* Contact */
.contact-text {
    max-width: 500px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 40px 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 15px;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
}
