/* Index page specific styles */
.project-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.project-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.project-title {
    font-size: 1.5em;
    color: #2c3e50;
    margin: 0;
}

.project-meta {
    color: #7f8c8d;
    font-size: 0.9em;
}

.project-description {
    color: #34495e;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: #e0f7fa;
    border: 1px solid #b2ebf2;
    border-radius: 12px;
    font-size: 0.9em;
    color: #4a4a4a;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.tag:hover {
    background-color: #b2ebf2;
}

.key-features {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.key-features h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
}

.key-features ul {
    padding-left: 20px;
    margin: 0;
}

.key-features li {
    margin-bottom: 5px;
}

.experiment-details {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 20px 0;
}

.training-notes {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.training-notes ul {
    padding-left: 20px;
    margin: 10px 0;
}

.training-notes li {
    margin-bottom: 5px;
}

.note {
    font-style: italic;
    color: #666;
    margin-top: 10px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-image {
    text-align: center;
}

.result-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-image h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Mobile responsive styles */
@media (max-width: 600px) {
    .project-card {
        padding: 15px;
        margin: 15px 0;
    }

    .project-title {
        font-size: 1.3em;
    }

    .project-tags {
        flex-wrap: wrap;
    }

    .tag {
        font-size: 0.85em;
        padding: 3px 6px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}