/* ========================================
   SKAW TECH-CORP'S - Projects Page Styles
   ======================================== */

/* ===== PROJECTS HERO ===== */
.projects-hero {
    padding: 180px 2rem 100px;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.projects-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 51, 0.15) 0%, transparent 50%);
}

.projects-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== PROJECTS STATS ===== */
.projects-stats {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--darker-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-text);
    font-size: 1rem;
    font-weight: 500;
}

/* ===== FILTERS ===== */
.projects-filters {
    padding: 3rem 2rem;
    background: var(--darker-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.filters-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.filter-btn {
    padding: 0.9rem 1.8rem;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--light-text);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-1);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.3);
}

/* ===== PROJECTS GALLERY ===== */
.projects-gallery {
    padding: 6rem 2rem;
    background: var(--darker-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: var(--dark-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.95);
}

.project-card.visible {
    opacity: 1;
    transform: scale(1);
}

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

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.25);
    border-color: var(--primary-blue);
}

/* Project Image */
.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--darker-bg);
    overflow: hidden;
}

.project-placeholder {
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.project-action {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-action:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* Project Info */
.project-info {
    padding: 2rem;
}

.project-category {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.category-tag {
    padding: 0.4rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.project-info p {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    padding: 0.4rem 0.9rem;
    background: var(--darker-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--light-text);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    font-size: 0.7rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.project-card.filtering {
    animation: fadeInScale 0.5s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }

    .filters-wrapper {
        gap: 0.8rem;
    }

    .filter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .projects-hero {
        padding: 140px 1.5rem 80px;
    }

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

    .filters-wrapper {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .project-actions {
        gap: 0.8rem;
    }

    .project-action {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}
