/* --- General Setup & Variables --- */
:root {
    --bg-color: #0d1117;
    --primary-text-color: #c9d1d9;
    --secondary-text-color: #8b949e;
    --accent-color: #FFC700;
    --border-color: #30363d;
    --card-bg-color: #161b22;
    --font-primary: 'Poppins', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-text-color);
    margin-bottom: 3rem;
    text-align: center;
}

.accent-text {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 1.8rem;
    margin-right: 0.5rem;
}

section {
    padding: 6rem 0;
}

ul {
    list-style: none;
}

/* --- Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--primary-text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

/* --- Hero Section --- */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding-top: 70px; /* Offset for fixed navbar */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 1rem 0;
}

.waving-hand {
    margin-bottom: -1rem;
}

.typing-svg {
    max-width: 100%;
    height: auto;
}

/* --- About Section --- */
.about-section h2 {
    text-align: left;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    margin-bottom: 1rem;
}

.about-status ul {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.about-status li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.about-status li:last-child {
    margin-bottom: 0;
}

.about-status .icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* --- Projects Section --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project-card h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.project-description {
    color: var(--secondary-text-color);
    margin-bottom: 0.5rem;
}
.project-description strong {
    color: var(--primary-text-color);
}
.feature-list {
    color: var(--secondary-text-color);
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}
.feature-list li {
    list-style-type: '✓  ';
    padding-left: 0.5rem;
    margin-bottom: 0.25rem;
}

.project-status {
    margin: 1rem 0;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.project-stack span {
    background-color: #21262d;
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.project-links {
    margin-top: auto; /* Aligns to the bottom */
}

.btn {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.btn-disabled {
    background-color: var(--border-color);
    border-color: var(--border-color);
    color: var(--secondary-text-color);
    cursor: not-allowed;
}
.btn-disabled:hover {
    background-color: var(--border-color);
    color: var(--secondary-text-color);
}

/* --- Skills Section --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-category {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    border-radius: 8px;
}

.skill-category h4 {
    font-size: 1.2rem;
    color: var(--primary-text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.skill-description {
    color: var(--secondary-text-color);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1rem;
}

/* --- Contact Section --- */
.contact-section {
    text-align: center;
}

.contact-section p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: var(--secondary-text-color);
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-links img {
    height: 30px; /* Taller badges for contact */
    transition: transform 0.3s ease;
}
.contact-links a:hover img {
    transform: scale(1.1);
}

/* --- Footer --- */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-text-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    .accent-text { font-size: 1.5rem; }

    .nav-menu {
        /* In a real project, you'd implement a JS-based hamburger menu here */
        display: none; 
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .typing-svg {
        width: 90%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .nav-logo { font-size: 1.2rem; }
}