/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
    background: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 25px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 50px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tagline {
    color: #666;
    font-size: 1.1rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 1130px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .container {
        padding: 25px 15px;
    }
}

/* Project Card */
.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #b5b5b5;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 75ms ease, box-shadow 75ms ease;
}

.project-card:hover {
    transform: scale(1.023);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-card:active {
    transform: scale(1.01);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    aspect-ratio: 285 / 107;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 15px 20px;
    background: #fafafa;
}

.project-info h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.project-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #888;
}

footer a {
    color: #1a1a1a;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
