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

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #07110b 0%, #0d1b12 100%);
    color: #f5f5f5;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(9, 18, 13, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #00ff88;
    letter-spacing: 1px;
}

.navbar {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: #00ff88;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
}

#menu-toggle {
    display: none;
}

.page {
    padding: 80px 8% 100px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.eyebrow {
    display: inline-block;
    color: #00ff88;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 16px;
}

.page-header h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin-bottom: 16px;
    color: #ffffff;
}

.page-header p {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
    color: #c7c7c7;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}

.project-card {
    background: rgba(17, 42, 29, 0.72);
    border: 1px solid rgba(0, 255, 136, 0.35);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 136, 0.7);
}

.project-image {
    height: 220px;
    background: linear-gradient(135deg, rgba(0,255,136,0.2), rgba(0,255,136,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: #00ff88;
}

.project-body {
    padding: 24px 22px 28px;
}

.project-tag {
    display: inline-block;
    background: rgba(0, 255, 136, 0.12);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.35);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.project-body h3 {
    color: #ffffff;
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.project-body p {
    color: #cfcfcf;
    line-height: 1.7;
    margin-bottom: 18px;
}

.project-link {
    display: inline-block;
    color: #00ff88;
    font-weight: 600;
    text-decoration: none;
}

.project-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: #0b130e;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: 0.3s ease;
        border-bottom: 1px solid #1a2e22;
    }

    #menu-toggle:checked ~ .navbar {
        left: 0;
    }
}

@media (max-width: 560px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .page {
        padding-top: 60px;
    }

    .logo {
        font-size: 18px;
    }
}
