/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0f172a; 
    color: #cbd5e1; 
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Header */
.hero {
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    text-align: center;
    padding: 4rem 1rem;
}

.hero h1 {
    color: #f8fafc;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero .tagline {
    color: #38bdf8; 
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons and Links */
.action-buttons {
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: #38bdf8;
    color: #0f172a;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #7dd3fc;
    transform: translateY(-2px);
}

.social-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 0.75rem;
    font-weight: 500;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #38bdf8;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

section h2 {
    color: #f8fafc;
    border-bottom: 2px solid #334155;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Skills Grid */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid #334155;
    transition: border-color 0.2s;
}

.skill-tag:hover {
    border-color: #38bdf8;
}

/* Projects Layout */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media(min-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.project-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.project-card h3 {
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.project-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    color: #94a3b8;
}

.project-tags {
    margin-bottom: 1.5rem;
}

.project-tags span {
    font-size: 0.8rem;
    background-color: #0f172a;
    color: #38bdf8;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-right: 0.4rem;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.card-links {
    margin-top: auto;
}

.project-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.project-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-size: 0.85rem;
    border-top: 1px solid #1e293b;
}