
:root {
    --bg: #0b1120;
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #60a5fa;
    --accent-dark: #2563eb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation */

.site-header {
    border-bottom: 1px solid #1e293b;
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--muted);
    transition: color 0.2s ease;
}

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

/* Hero */

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

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

.hero-intro {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin: 12px 0;
    letter-spacing: -2px;
}

.hero h2 {
    color: var(--muted);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin: 0;
}

.hero-description {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 28px 0;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s ease;
}
.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--accent-dark);
    color: white;
}

.btn-secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

/* Responsive navigation */
.menu-toggle {
    display: none;
}


@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        color: var(--text);
        border: 1px solid var(--accent);
        border-radius: 6px;
        padding: 8px 12px;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .nav-links.is-open {
        display: flex;
    }

    .hero {
        min-height: 65vh;
        padding: 60px 24px;
    }
}
/* Projects Section */

.projects {
    padding: 100px 24px;
    background-color: var(--bg);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.projects h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text);
    margin-bottom: 16px;
}

.section-description {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 650px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}
.project-card {
    background-color: #111c30;
    border: 1px solid #263449;
    border-radius: 12px;
    padding: 28px;
    transition: transform 0.2s ease;
}

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

.project-card h3 {
    color: var(--accent);
    margin-bottom: 12px;
}

.project-card p {
    color: var(--muted);
    line-height: 1.7;
}

.tech-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-badge {
    background-color: #1e3a5f;
    color: #93c5fd;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}
.project-link {
    display: inline-block;
    margin-top: 24px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.project-link:hover {
    text-decoration: underline;
}

.project-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.resume {
    padding: 100px 24px;
    text-align: center;
}

.resume p {
    color: var(--muted);
    margin: 20px auto 30px;
    max-width: 600px;
    line-height: 1.7;
}
/* About Section */

.about {
    padding: 100px 24px;
    background-color: #0f172a;
}

.about h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text);
    margin-bottom: 30px;
}

.about-content {
    max-width: 800px;
}

.about-content p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}
/* Technical Skills Section */

.skills {
    padding: 100px 24px;
    background-color: var(--bg);
}

.skills h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text);
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-card {
    background-color: #111c30;
    border: 1px solid #263449;
    border-radius: 12px;
    padding: 28px;
}

.skill-card h3 {
    color: var(--accent);
    margin-bottom: 16px;
}

.skill-card p {
    color: var(--muted);
    line-height: 1.8;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
/* Experience Section */

.experience {
    padding: 100px 24px;
    background-color: #0f172a;
}

.experience h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text);
    margin-bottom: 40px;
}

.experience-list {
    display: grid;
    gap: 24px;
}

.experience-card {
    background-color: #111c30;
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 28px;
}

.experience-card h3 {
    color: var(--text);
    margin-bottom: 8px;
}

.experience-company {
    color: var(--accent);
    font-weight: 600;
}

.experience-date {
    font-size: 0.9rem;
}

.experience-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 10px;
}
.resume-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}
.contact {
    padding: 100px 24px;
    background-color: #0f172a;
    text-align: center;
}

.contact h2 {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.contact p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.site-footer {
    padding: 30px 24px;
    text-align: center;
    background-color: var(--bg);
    border-top: 1px solid #263449;
}

.site-footer p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}