
/* --- Grid Layout --- */
.project-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* --- Individual Items --- */
.project-item {
    text-align: center;
}

/* --- Square Image Wrapper --- */
.project-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

/* --- Image zoom on hover --- */
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease; /* smooth zoom */
}

.project-item:hover .project-image img {
    transform: scale(1.1); /* zoom in */
}

/* --- Titles & Buttons --- */
.project-item h2 {
    margin: 15px 0 10px;
    font-size: 1.6rem;
	color:var(--acBlue);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #444;
}

/* --- Responsive: 2 columns on tablets --- */
@media (max-width: 1000px) {
    .project-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Responsive: Single column on mobile --- */
@media (max-width: 700px) {
    .project-container {
        grid-template-columns: 1fr;
    }
}

