/* Projects Page Styles */

/* Header Section */
.projects-header {
    padding: 120px 0 40px;
    text-align: center;
    background-color: var(--bg-main);
}

.projects-header h1 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.header-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.disclaimer {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--accent);
    opacity: 0.8;
}

/* Filter Section */
.filter-section {
    padding: 0 0 60px;
    background-color: var(--bg-main);
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn i {
    font-size: 0.9rem;
    color: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
}

/* Projects Grid */
.projects-section {
    padding: 0 0 120px;
    background-color: var(--bg-main);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.2);
}

.project-image {
    height: 200px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(5, 5, 5, 0.8), rgba(212, 175, 55, 0.1));
}

.project-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    z-index: 1;
}

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

.project-category {
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 400;
}

.project-description {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-tech span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn-link {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.btn-link:hover {
    opacity: 0.8;
}

.private-tag {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .projects-header {
        padding: 110px 0 30px;
    }
    
    .projects-header h1 {
        font-size: 2.2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-header {
        padding: 100px 0 25px;
    }
    
    .projects-header h1 {
        font-size: 1.8rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .disclaimer {
        font-size: 0.9rem;
    }
    
    .filter-section {
        padding: 0 0 40px;
    }
    
    .projects-section {
        padding: 0 0 80px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .filter-container {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-title {
        font-size: 1.15rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .project-tech span {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .projects-header {
        padding: 65px 0 20px;
    }
    
    .projects-header h1 {
        font-size: 1.5rem;
    }
    
    .header-subtitle {
        font-size: 0.9rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    .filter-btn i {
        font-size: 0.7rem;
    }
    
    .project-image {
        height: 160px;
    }
    
    .project-category {
        font-size: 0.8rem;
    }
    
    .project-title {
        font-size: 1.05rem;
    }
    
    .project-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .project-tech {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .project-tech span {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .btn-link {
        font-size: 0.9rem;
    }
}
