/* ===== RENOVATED PORTFOLIO SECTION ===== */

/* Portfolio Section Container */
.portfolio-showcase-new {
    background: linear-gradient(135deg, #0a1419 0%, #0f1f26 50%, #0a1419 100%);
    padding: 3rem 0 !important;
    position: relative;
    overflow: hidden;
}

/* Subtle cyan glow */
.portfolio-showcase-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 255, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 60%);
    animation: gentleGlow 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Grid overlay */
.portfolio-showcase-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

@keyframes gentleGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Portfolio Header */
.portfolio-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.portfolio-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 255, 255, 0.1) 100%);
    border: 1.5px solid rgba(0, 255, 255, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    }
}

.portfolio-badge i {
    font-size: 1rem;
}

.portfolio-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text-portfolio {
    background: linear-gradient(135deg, #00ffff 0%, #00ffff 35%, #00ffff 65%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShiftPortfolio 5s ease infinite;
}

@keyframes gradientShiftPortfolio {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.portfolio-subtitle {
    font-size: 1.1rem;
    color: rgba(200, 215, 235, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Project */
.featured-project-new {
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.fp-new-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    background: linear-gradient(135deg, rgba(15, 20, 30, 0.8) 0%, rgba(20, 25, 35, 0.8) 100%);
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 24px;
    overflow: hidden;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.fp-new-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fp-new-container:hover::before {
    opacity: 1;
}

.fp-new-container:hover {
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 
        0 25px 80px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.fp-new-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    max-height: 400px;
}

.fp-new-image img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fp-new-container:hover .fp-new-image img {
    transform: scale(1.05);
}

.fp-new-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fp-new-container:hover .fp-new-overlay {
    opacity: 1;
}

.fp-new-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    top: auto;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #00ffff;
    color: #00ffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
    z-index: 2;
}

.fp-new-badge i {
    font-size: 0.9rem;
}

.fp-new-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.fp-new-header {
    margin-bottom: 1rem;
}

.fp-new-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f0f5ff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    font-family: 'Inter', 'Segoe UI', -apple-system, system-ui, sans-serif;
}

.fp-new-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00ffff 0%, #00ffff 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.fp-new-desc {
    font-size: 0.95rem;
    color: rgba(200, 215, 235, 0.85);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-family: 'Inter', 'Segoe UI', -apple-system, system-ui, sans-serif;
}

.fp-new-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.15);
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
}

.fp-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fp-stat i {
    font-size: 1.5rem;
    color: #00ffff;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
}

.fp-stat-content {
    display: flex;
    flex-direction: column;
}

.fp-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f0f5ff;
}

.fp-stat-label {
    font-size: 0.85rem;
    color: rgba(200, 215, 235, 0.7);
}

.fp-new-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tech-pill {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tech-pill:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(0, 255, 255, 0.15) 100%);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3);
}

.fp-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
    transition: all 0.3s ease;
    width: fit-content;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.fp-new-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.6);
}

.fp-new-btn i {
    transition: transform 0.3s ease;
}

.fp-new-btn:hover i {
    transform: translateX(5px);
}

/* Projects Grid */
.projects-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.project-card-new {
    background: linear-gradient(135deg, rgba(15, 20, 30, 0.7) 0%, rgba(20, 25, 35, 0.7) 100%);
    border: 2px solid rgba(0, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-card-new:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.2);
}

.pc-new-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.pc-new-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card-new:hover .pc-new-image img {
    transform: scale(1.1);
}

.pc-new-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.pc-new-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: transparent;
    border: 2px solid rgba(0, 255, 255, 0.5);
    color: #00ffff;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.4);
    z-index: 2;
}

.pc-new-content {
    padding: 1.75rem;
}

.pc-new-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f0f5ff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    font-family: 'Inter', 'Segoe UI', -apple-system, system-ui, sans-serif;
    transition: color 0.3s ease;
}

.project-card-new:hover .pc-new-title {
    color: #00ffff;
}

.pc-new-desc {
    font-size: 0.9rem;
    color: rgba(200, 215, 235, 0.8);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.pc-new-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.pc-new-tech span {
    padding: 0.35rem 0.75rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.pc-new-tech span:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
}

.pc-new-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 255, 255, 0.1) 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.pc-new-link:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 255, 255, 0.1) 100%);
    border-color: rgba(0, 255, 255, 0.6);
    color: #00ffff;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

.pc-new-link i {
    transition: transform 0.3s ease;
}

.pc-new-link:hover i {
    transform: translateX(3px);
}

/* Portfolio CTA */
.portfolio-cta-new {
    text-align: center;
    position: relative;
    z-index: 1;
}

.portfolio-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.portfolio-btn-main:hover::before {
    left: 100%;
}

.portfolio-btn-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.6);
}

.portfolio-btn-main i {
    transition: transform 0.3s ease;
}

.portfolio-btn-main:hover i {
    transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .fp-new-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .portfolio-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .portfolio-showcase-new {
        padding: 5rem 0;
    }
    
    .portfolio-header {
        margin-bottom: 3rem;
    }
    
    .portfolio-title {
        font-size: 2.2rem;
    }
    
    .portfolio-subtitle {
        font-size: 1rem;
    }
    
    .featured-project-new {
        margin-bottom: 3rem;
    }
    
    .fp-new-container {
        padding: 1.5rem;
    }
    
    .fp-new-header h3 {
        font-size: 1.8rem;
    }
    
    .fp-new-stats {
        gap: 1rem;
    }
    
    .projects-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .portfolio-orb {
        opacity: 0.08;
    }
}
