/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Intro Section */
#intro-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #2c3e50;
    color: white;
    margin-bottom: 40px;
}

#intro-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

#intro-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Project Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

#top-bar {
    display: flex;             /* Activates flexbox */
    justify-content: space-between; /* Pushes first item left, last item right */
    align-items: center;       /* Vertically centers the text */
    
    background-color: #333;    /* Dark background */
    color: white;
    padding: 15px 20px;        /* Spacing inside the bar */
    width: 100%;               /* Ensures it spans the full width */
}
#move-left {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}
#move-right {
    color: white;
    font-size: 0.9rem;
    color: #ddd;
}

/* Individual Project Box */
.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Removes underline from link */
    color: inherit;
    display: block; /* Makes the whole card clickable */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

/* Image Div Container */
.image-container {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Content */
.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
}