* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
}

body {
    background: #0b0b0b;
    color: #ffffff;
}

.navbar {
    padding: 20px;
    display: flex;
    gap: 20px;
}

.navbar a {
    color: #aaa;
    text-decoration: none;
}

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

.projects-container {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

.projects-container h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

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

.project-card {
    background: #141414;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.project-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 8px;
}

.project-info p {
    color: #ccc;
    margin-bottom: 15px;
}

.project-info a {
    background: #ffffff;
    color: #000;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.project-info button:hover {
    opacity: 0.85;
}


.project-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.project-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
