@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-color: #0a192f;
    --bg-navy-light: #112240;
    --bg-navy-lightest: #233554;
    --text-color: #8892b0;
    --text-light: #ccd6f6;
    --text-white: #e6f1ff;
    --accent-color: #64ffda;
    --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

section {
    padding: 100px 0;
    max-width: 1000px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    display: flex;
    align-items: center;
    margin: 10px 0 40px;
    width: 100%;
    font-size: clamp(26px, 5vw, 32px);
    white-space: nowrap;
}

.section-title::after {
    content: "";
    display: block;
    position: relative;
    width: 300px;
    height: 1px;
    margin-left: 20px;
    background-color: var(--bg-navy-lightest);
}

.btn {
    color: var(--accent-color);
    background-color: transparent;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 1.25rem 1.75rem;
    font-size: 14px;
    font-family: var(--font-mono);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

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

/* Header & Navigation */
header {
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 20px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.nav-links a {
    color: var(--text-light);
}

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

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

.mono {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.big-heading {
    font-size: clamp(40px, 8vw, 80px);
    color: var(--text-white);
    line-height: 1.1;
}

.medium-heading {
    font-size: clamp(30px, 6vw, 60px);
    color: var(--text-color);
    line-height: 0.9;
    margin-top: 10px;
}

.hero-desc {
    margin-top: 20px;
    max-width: 540px;
    font-size: 18px;
}

.hero .btn {
    margin-top: 50px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.skill-card {
    background-color: var(--bg-navy-light);
    padding: 30px;
    border-radius: 4px;
    transition: var(--transition);
}

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

.skill-card h3 {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 18px;
    margin-bottom: 20px;
}

.skill-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
}

.skill-card ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 100px;
}

.project-card {
    display: flex;
    background-color: var(--bg-navy-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-content {
    padding: 40px;
    width: 100%;
}

.project-overline {
    margin: 10px 0;
    font-size: 13px;
}

.project-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.project-description {
    background-color: var(--bg-navy-lightest);
    padding: 25px;
    border-radius: 4px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.project-tech-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.project-tech-list li {
    margin-right: 20px;
    font-size: 12px;
}

.project-links {
    margin-top: 10px;
}

/* Contact Section */
.contact-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-inner p {
    margin-bottom: 50px;
}

/* Footer */
footer {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real project, we'd add a hamburger menu */
    }

    section {
        padding: 80px 0;
    }

    .big-heading {
        font-size: 40px;
    }

    .medium-heading {
        font-size: 30px;
    }

    .project-card {
        flex-direction: column;
    }

    .project-content {
        padding: 30px 20px;
    }

    .section-title::after {
        width: 100px;
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
