:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --text-color: #e0e0e0;
    --accent-color: #00ff88;
    /* Cyberpunk/Lab Green or just crisp White? Let's go with a subtle elegant Gold or Teal. Let's try Electric Violet/Blue to match the "Rare" vibe or keep it monochromatic with White. User said "Lab", maybe clean White/Silver. */
    --accent-color: #ffffff;
    --hover-color: #333;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 0 60px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 0 100px;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #222;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: #444;
}

.card-image {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.project-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.card-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

.card-link {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.card-link:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #222;
    max-width: 800px;
}

.about-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.about-section p {
    font-size: 1rem;
    color: #999;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-section p:last-child {
    margin-bottom: 0;
}

footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}