/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f9faf7;
    color: #212121;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom text selection */
::selection {
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

/* Navigation Bar */
/* Navigation styles are now in nav-bar.css */

/* Projects Section */
.projects-section {
    background-color: #f9faf7;
    padding: 36px 10px 72px;
    position: relative;
    z-index: 0;
    height: fit-content;
    min-height: auto;
    display: flex;
    flex-direction: column;
}

.projects-container {
    max-width: 1069px;
    width: 100%;
    margin: 0 auto;
    height: fit-content;
    padding-top: 0px !important;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 25px;
    align-items: flex-start;
}

#playgroundGrid {
    column-gap: 36px;
}

/* Project Cards */
.project-card {
    border: 1px solid #DEDEDE;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card svg {
    stroke: #DEDEDE;
}

.project-card:hover {
    /* No hover animation */
}

.project-card.coming-soon {
    cursor: pointer;
}

.project-card.coming-soon .coming-soon-overlay {
    opacity: 0.7;
}

.project-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.project-image {
    width: 100%;
    height: 244px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #eaeaea;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-image img {
    filter: brightness(1.1);
}

.coming-soon-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.coming-soon-overlay p {
    font-size: 18px;
    font-weight: 500;
    color: #999;
    letter-spacing: -0.18px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-title {
    font-size: 18px;
    font-weight: 500;
    color: #212121;
    margin: 0;
}

.project-tags {
    display: flex;
    gap: 10px;
    align-items: center;
}

.project-tag {
    width: 32px;
    height: 32px;
    background: #eaeaea;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tag-icon {
    width: 20px;
    height: 20px;
    color: #606060;
}

/* Footer Section */
.footer {
    background-color: #101010;
    position: relative;
    padding: 0;
}

.footer-transition {
    width: 100%;
    height: 43px;
    background-color: #f9faf7;
    border-radius: 16px 16px 0 0;
    transform: scaleY(-1);
}

.footer-content {
    max-width: 214.5px;
    width: 100%;
    margin: 0 auto;
    padding: 72px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 59px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.footer-name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: normal;
    letter-spacing: -0.18px;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.social-link {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: transparent;
    position: relative;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: brightness(0) invert(1);
}

.footer-copyright {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    letter-spacing: -0.14px;
    text-align: center;
    color: #606060;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-container {
        max-width: 90%;
    }
}

@media (min-width: 1441px) {
    .projects-section {
        padding-top: 43px;
        margin-top: -43px;
    }
}

@media (min-width: 682px) and (max-width: 1440px) {
    .projects-section {
        margin-top: -43px;
        padding-top: 43px;
        position: relative;
        z-index: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Navigation styles are now in nav-bar.css */
    
    /* Projects Section */
    .projects-section {
        padding: 0 20px 0;
    }
    
    /* Projects Container */
    .projects-container {
        max-width: 100%;
        width: 100%;
        padding-top: 0px;
        height: fit-content;
    }
    
    /* Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
    }
    
    .project-card {
        max-width: 100%;
        width: 100%;
    }

    .project-image {
        height: 200px;
    }

    /* Footer */
    .footer-content {
        padding: 48px 0 24px;
    }
}

/* Large Desktop */
@media (min-width: 1441px) {
    .projects-section {
        padding-top: 43px;
        margin-top: -43px;
    }

    .footer-section {
        padding-top: 43px;
        margin-top: 0;
    }
}

