/* projects.css */

body {
    background-color: #121218;
    color: white;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

.page-header {
    text-align: center;
    padding: 3rem 1rem 1.5rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#search-bar {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    width: 80%;
    max-width: 500px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #1e1e2f;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

#search-bar::placeholder {
    color: #aaa;
}

.layout {
    display: flex;
    max-width: 1300px;
    margin: auto;
    padding: 2rem;
}

.sidebar {
    width: 200px;
    background: #1e1e2f;
    border-radius: 12px;
    padding: 1.5rem;
    margin-right: 2rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sidebar h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #00aaff;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem 4rem;
    flex: 1;
}

.project-card {
    background-color: #1e1e2f;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.1);
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.project-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

.project-card a {
    text-decoration: none;
    color: #00aaff;
    font-weight: bold;
    margin-top: auto;
    transition: color 0.2s;
}

.project-card a:hover {
    color: #66d0ff;
}