:root {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --accent: #38bdf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background-color: rgba(15, 23, 42, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Sections General */
section {
    padding: 6rem 10% 4rem 10%;
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.1), transparent 40%);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--accent);
    text-align: left;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-main);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    background-color: #7dd3fc;
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    margin-left: 1rem;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1max));
    gap: 2rem;
}

.skill-category {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.05);
}

.skill-category h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-category ul {
    list-style-type: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

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

.project-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    border: 1px solid rgba(148, 163, 184, 0.05);
}

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

.project-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.project-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.project-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: bold;
}

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

/* Contact */
.contact-section {
    text-align: center;
    background: radial-gradient(circle at 10% 90%, rgba(56, 189, 248, 0.05), transparent 40%);
}

.contact-section p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}