:root {
    --primary: #0077cc;
    --bg: #f0f2f5;
    --text: #222;
    --accent: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

header {
    background: white;
    box-shadow: 0 2px 8px var(--shadow);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    height: 48px;
}

nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

.hero {
    background: linear-gradient(135deg, #0077cc 0%, #00c6ff 100%);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
}

.hero-content {
    max-width: 800px;
    margin: auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: white;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s;
}

.cta-button:hover {
    background: #f5f5f5;
}

.section {
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: auto;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 8px var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    transition: transform 0.2s ease;
}

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

.project-image-container {
    position: relative;
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-content {
    padding: 1rem;
    text-align: center;
}

.project-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: var(--primary);
}

.project-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #333;
}

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

.project-links a {
    font-size: 1.2rem;
    color: var(--primary);
    transition: color 0.2s;
}

.project-links a:hover {
    color: #005fa3;
}


/* WIP Overlay */

.project-card.wip .project-image-container {
    position: relative;
}

.wip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.link-buttons a {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background 0.2s;
}

.link-buttons a:hover {
    background: #005fa3;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #666;
}