body {
    background-color: #FFE9EF; /* Add background color to entire body */
}

.projects-section {
    padding-top: 100px; /* Adjust this value */
    margin-top: 1rem;
    min-height: 100vh;
    background-color: transparent; /* Make section transparent since body has background */
    color: #Fe5d9f;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.projects-content {
    max-width: 1750px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.projects-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #Fe5d9f;
    /* color: #B66681; */ 
    /* I Like the commented out one more */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 2.5rem;
    width: 100%;
    height: auto;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(182, 102, 129, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
}

.overlay h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.overlay p {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Updated button styles */
.overlay a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid white;
    border-radius: 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.overlay a:hover {
    background-color: white;
    color: #B66681;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project-card:hover .overlay {
    opacity: 1;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% + 10px);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .project-card:last-child:nth-child(odd) {
        max-width: 100%;
    }
}
