/* styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary-color: #420690;
    --primary-light: #6428b0;
    --primary-dark: #2a0460;
    --text-light: #ffffff;
    --text-dark: #888888;
    --background-dark: #121212;
    --background-darker: #0a0a0a;
    --card-bg: #1b1b1b;
}

body {
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

header h1 {
    color: var(--text-light);
}

.project-section {
    margin-bottom: 40px;
}

.project-section h2 {
    color: var(--primary-light);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-dark);
    padding-bottom: 10px;
}

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

.project-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

.project-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 170px; /* Approximate height of other images */
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-style: italic;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    color: var(--primary-light);
    margin-bottom: 10px;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: var(--background-darker);
    border-radius: 10px;
}
