.content-wrapper {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title h1 {
    font-size: 3rem;
    margin: 0;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.project-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border: 1px solid var(--accent);
}

.project-image {
    width: 100%;
    height: 180px;
    background: #000;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: 0.3s;
}

.project-card:hover .project-image img {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-link a {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.3s;
    text-align: center;
    width: fit-content;
}

.project-link a:hover {
    background: var(--accent);
    color: #08030d;
}

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