/* Projects Section Styles */
.projects-section {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #12140E 0%,
        #1a1c17 25%,
        #22241e 50%,
        #2a2c25 75%,
        #32342b 100%
    );
    padding: 4rem 2rem;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

.projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-title {
    font-size: 4rem;
    color: #FEB52B;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.projects-subtitle {
    font-size: 1.4rem;
    color: #B1D18A;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    opacity: 0.9;
}

/* Filter Buttons */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.85rem 1.75rem;
    background-color: rgba(254, 181, 43, 0.1);
    color: #FEB52B;
    border: 2px solid #FEB52B;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-btn:hover {
    background-color: rgba(254, 181, 43, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 181, 43, 0.3);
}

.filter-btn.active {
    background-color: #FEB52B;
    color: #12140E;
    font-weight: 600;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Project Card */
.project-card {
    background: linear-gradient(135deg, #1a1c17 0%, #22241e 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(254, 181, 43, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: scale(1);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #FEB52B;
    box-shadow: 0 8px 24px rgba(254, 181, 43, 0.3);
}

.project-card.hidden {
    display: none;
}

.project-image-container {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2a2c25 0%, #32342b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.project-image-placeholder {
    font-size: 4rem;
    color: rgba(254, 181, 43, 0.3);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-name {
    font-size: 1.65rem;
    color: #FEB52B;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin: 0;
}

.project-category {
    padding: 0.5rem 1rem;
    background-color: rgba(177, 209, 138, 0.15);
    color: #B1D18A;
    border: 1px solid #B1D18A;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

.project-description {
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.project-tag {
    padding: 0.5rem 1rem;
    background-color: rgba(254, 181, 43, 0.1);
    color: #FEB52B;
    border: 1px solid rgba(254, 181, 43, 0.3);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #B1D18A;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.project-link:hover {
    color: #FEB52B;
    transform: translateX(5px);
}

.project-link svg {
    width: 16px;
    height: 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.empty-state.visible {
    display: block;
}

.empty-state p {
    font-size: 1.35rem;
    color: #B1D18A;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .projects-section {
        padding: 2rem 1rem;
    }

    .projects-title {
        font-size: 2.5rem;
    }

    .projects-subtitle {
        font-size: 1rem;
    }

    .filter-container {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .projects-title {
        font-size: 2rem;
    }

    .projects-subtitle {
        font-size: 0.9rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .project-name {
        font-size: 1.3rem;
    }

    .project-description {
        font-size: 0.9rem;
    }
}

/* Animation for filtering */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.project-card.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}
