
.references {
    margin: 100px 10%;
}

.references > h1 {
    margin: 0 auto 20px auto;
    max-width: 1200px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-description {
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Responsive breakpoints */
@media (max-width: 1000px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }

}

@media (max-width: 750px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    
    .project-content {
        padding: 16px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }

}

/* Placeholder images using CSS gradients */
.img-smareg8 {
    background: linear-gradient(45deg, #4a90e2, #357abd),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="100%" height="100%" fill="%234a90e2"/><text x="50%" y="50%" font-family="Arial" font-size="16" fill="white" text-anchor="middle" dy=".3em">Battery Storage Facility</text></svg>');
}

.img-smareg7 {
    background: linear-gradient(45deg, #5cb85c, #449d44),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="100%" height="100%" fill="%235cb85c"/><text x="50%" y="50%" font-family="Arial" font-size="16" fill="white" text-anchor="middle" dy=".3em">Energy Storage Array</text></svg>');
}

.img-smareg6 {
    background: linear-gradient(45deg, #6c757d, #495057),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="100%" height="100%" fill="%236c757d"/><text x="50%" y="50%" font-family="Arial" font-size="16" fill="white" text-anchor="middle" dy=".3em">Industrial Storage</text></svg>');
}

.img-smareg4 {
    background: linear-gradient(45deg, #17a2b8, #138496),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="100%" height="100%" fill="%2317a2b8"/><text x="50%" y="50%" font-family="Arial" font-size="16" fill="white" text-anchor="middle" dy=".3em">Wartburgspeicher</text></svg>');
}

.img-wind {
    background: linear-gradient(45deg, #28a745, #1e7e34),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="100%" height="100%" fill="%2328a745"/><text x="50%" y="50%" font-family="Arial" font-size="16" fill="white" text-anchor="middle" dy=".3em">Wind Turbine</text></svg>');
}

.img-smareg2 {
    background: linear-gradient(45deg, #dc3545, #c82333),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="100%" height="100%" fill="%23dc3545"/><text x="50%" y="50%" font-family="Arial" font-size="16" fill="white" text-anchor="middle" dy=".3em">Breitenworbis Facility</text></svg>');
}