/* ===================================
   PORTFOLIO PAGE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #FFFFFF;
    line-height: 1.6;
}

/* Hero Section */
.portfolio-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%);
}

.portfolio-hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 167, 38, 0.1);
    border: 1px solid rgba(255, 167, 38, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #FFA726;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFA726;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.3); }
}

.portfolio-hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, #5E35B1, #FFA726, #FF6F26);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Filter Section */
.filter-section {
    padding: 60px 0;
    background: rgba(94, 53, 177, 0.03);
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-btn {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 167, 38, 0.1);
    border-color: #FFA726;
    color: #FFA726;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #FF6F26, #FFA726);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(255, 111, 38, 0.4);
}

/* Portfolio Grid */
.portfolio-grid-section {
    padding: 80px 0;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.portfolio-project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.portfolio-project-card.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
}

.portfolio-project-card:hover {
    transform: translateY(-12px);
    border-color: #FFA726;
    box-shadow: 0 24px 60px rgba(255, 167, 38, 0.3);
}

.project-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: grayscale(50%);
}

.portfolio-project-card:hover .project-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.9), rgba(255, 111, 38, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: scale(1.2) rotate(45deg);
    background: rgba(255, 255, 255, 0.3);
}

.project-info {
    padding: 32px;
}

.project-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 167, 38, 0.15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FFA726;
    margin-bottom: 16px;
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.project-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: rgba(94, 53, 177, 0.05);
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.process-title {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 80px;
    color: #FFFFFF;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #5E35B1, #FFA726, #FF6F26);
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step-number {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #FF6F26, #FFA726);
    border: 4px solid #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(255, 111, 38, 0.4);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.step-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.1), rgba(255, 111, 38, 0.1));
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-title {
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.cta-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 48px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: linear-gradient(135deg, #FF6F26, #FFA726);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 111, 38, 0.4);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(255, 111, 38, 0.6);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        padding: 80px 0 60px;
    }
    
    .portfolio-hero-container,
    .filter-container,
    .portfolio-container,
    .process-container,
    .cta-container {
        padding: 0 24px;
    }
    
    .portfolio-hero-title,
    .process-title,
    .cta-title {
        font-size: 32px;
    }
    
    .filter-section {
        padding: 40px 0;
    }
    
    .filter-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .portfolio-grid-section {
        padding: 60px 0;
    }
    
    .process-section {
        padding: 60px 0;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .project-image {
        height: 240px;
    }
}
