/**
 * IRONCREST Software - Portfolio Styles
 */

/* Page Badge - Standard Component */
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
}

.page-badge i {
    font-size: 1.125rem;
    color: #60a5fa;
}

/* Portfolio Hero */
.portfolio-hero {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #2A3B8F 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.portfolio-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.portfolio-hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Category Filter */
.portfolio-filter {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-pill:hover {
    background: #e0f2fe;
    color: #2B68C1;
    transform: translateY(-2px);
}

.filter-pill.active {
    background: linear-gradient(135deg, #2A3B8F 0%, #2B68C1 100%);
    color: white;
}

.filter-pill__count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* Featured Projects */
.portfolio-featured {
    padding: 6rem 0;
    background: #f8fafc;
}

.featured-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-project:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.featured-project__image {
    height: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.featured-project__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-project:hover .featured-project__image img {
    transform: scale(1.05);
}

.featured-project__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42, 59, 143, 0.9) 0%, rgba(43, 104, 193, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-project:hover .featured-project__overlay {
    opacity: 1;
}

.featured-project__link {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.featured-project__link:hover {
    gap: 1rem;
}

.featured-project__content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-project__meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.meta-client {
    color: #2B68C1;
    font-weight: 700;
}

.meta-type {
    color: #64748b;
}

.featured-project__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-project__title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-project__title a:hover {
    color: #2B68C1;
}

.featured-project__description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-project__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: #e0f2fe;
    color: #2A3B8F;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Projects Grid */
.portfolio-grid {
    padding: 6rem 0;
}

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

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.project-card__image {
    height: 220px;
    overflow: hidden;
    display: block;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__content {
    padding: 1.5rem;
}

.project-card__type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e0f2fe;
    color: #2A3B8F;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.project-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-card__title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card__title a:hover {
    color: #2B68C1;
}

.project-card__client {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.project-card__description {
    color: #64748b;
    line-height: 1.6;
}

/* Empty State */
.portfolio-empty {
    padding: 6rem 0;
    text-align: center;
}

.portfolio-empty i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.portfolio-empty h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.portfolio-empty p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-hero__title {
        font-size: 2.5rem;
    }
    
    .portfolio-filter {
        top: 60px;
    }
    
    .featured-project {
        grid-template-columns: 1fr;
    }
    
    .featured-project__image {
        min-height: 250px;
    }
    
    .featured-project__content {
        padding: 2rem;
    }
    
    .featured-project__title {
        font-size: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
