/* Projects Section */
.projects-section {
    padding: 100px 20px;
}

/* Featured Project */
.featured-project {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--surface);
    border: 1px solid var(--primary);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.featured-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.featured-project:hover::before {
    transform: translateX(100%);
}

.featured-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.featured-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--primary);
}

.featured-description {
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 800px;
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
}

.featured-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-cta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.featured-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--text);
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.featured-button:hover {
    background: var(--primary);
    color: var(--background);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.featured-button i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.featured-button:hover i {
    transform: scale(1.1);
}

/* Project Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 20px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px var(--primary);
}

.project-card:hover .project-icon {
    transform: scale(1.1);
    opacity: 1;
}

.project-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-type {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.project-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-features li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
    opacity: 0.9;
}

.project-features li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-project {
        padding: 2rem;
    }

    .featured-title {
        font-size: 2rem;
    }

    .featured-stats {
        gap: 2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .featured-cta {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .featured-button,
    a.featured-button,
    button.featured-button {
        width: fit-content;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 180px;
        max-width: fit-content;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .project-image {
        height: 200px;
    }

    .project-icon {
        font-size: 4rem;
    }
}
