/* About Skills Showcase Styling */
/* Replaces the profile photo with an interactive tech skills display */

.about-skills-showcase {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.05) 0%, 
        rgba(var(--primary-rgb), 0.1) 50%, 
        rgba(var(--primary-rgb), 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(var(--primary-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.about-skills-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(var(--primary-rgb), 0.1),
        transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.about-skills-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(var(--primary-rgb), 0.2),
        0 0 30px rgba(var(--primary-rgb), 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.skills-visual {
    position: relative;
    z-index: 2;
}

.skills-visual h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills-visual h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Tech Icons Grid */
.tech-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.1), 
        rgba(var(--accent-rgb), 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
    border-color: var(--primary-color);
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-item i {
    font-size: 2.5rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--text-color);
}

/* Tech-specific colors with neon glow effects */
.tech-item:nth-child(1) i { 
    color: #e34c26; 
    text-shadow: 0 0 10px rgba(227, 76, 38, 0.6), 0 0 20px rgba(227, 76, 38, 0.4);
} /* HTML5 */

.tech-item:nth-child(2) i { 
    color: #1572b6; 
    text-shadow: 0 0 10px rgba(21, 114, 182, 0.6), 0 0 20px rgba(21, 114, 182, 0.4);
} /* CSS3 */

.tech-item:nth-child(3) i { 
    color: #f7df1e; 
    text-shadow: 0 0 10px rgba(247, 223, 30, 0.6), 0 0 20px rgba(247, 223, 30, 0.4);
} /* JavaScript */

.tech-item:nth-child(4) i { 
    color: #61dafb; 
    text-shadow: 0 0 10px rgba(97, 218, 251, 0.6), 0 0 20px rgba(97, 218, 251, 0.4);
} /* React */

.tech-item:nth-child(5) i { 
    color: #027dfd; 
    text-shadow: 0 0 10px rgba(2, 125, 253, 0.6), 0 0 20px rgba(2, 125, 253, 0.4);
} /* Flutter - Fixed color */

.tech-item:nth-child(6) i { 
    color: #f05032; 
    text-shadow: 0 0 10px rgba(240, 80, 50, 0.6), 0 0 20px rgba(240, 80, 50, 0.4);
} /* Git */

.tech-item:hover i {
    transform: scale(1.1) rotateY(10deg);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

/* Enhanced hover effects with stronger neon glow */
.tech-item:hover:nth-child(1) i {
    text-shadow: 0 0 15px rgba(227, 76, 38, 0.8), 0 0 30px rgba(227, 76, 38, 0.6), 0 0 45px rgba(227, 76, 38, 0.4);
}

.tech-item:hover:nth-child(2) i {
    text-shadow: 0 0 15px rgba(21, 114, 182, 0.8), 0 0 30px rgba(21, 114, 182, 0.6), 0 0 45px rgba(21, 114, 182, 0.4);
}

.tech-item:hover:nth-child(3) i {
    text-shadow: 0 0 15px rgba(247, 223, 30, 0.8), 0 0 30px rgba(247, 223, 30, 0.6), 0 0 45px rgba(247, 223, 30, 0.4);
}

.tech-item:hover:nth-child(4) i {
    text-shadow: 0 0 15px rgba(97, 218, 251, 0.8), 0 0 30px rgba(97, 218, 251, 0.6), 0 0 45px rgba(97, 218, 251, 0.4);
}

.tech-item:hover:nth-child(5) i {
    text-shadow: 0 0 15px rgba(2, 125, 253, 0.8), 0 0 30px rgba(2, 125, 253, 0.6), 0 0 45px rgba(2, 125, 253, 0.4);
}

.tech-item:hover:nth-child(6) i {
    text-shadow: 0 0 15px rgba(240, 80, 50, 0.8), 0 0 30px rgba(240, 80, 50, 0.6), 0 0 45px rgba(240, 80, 50, 0.4);
}

/* Add subtle neon border glow to tech items */
.tech-item {
    /* ...existing properties... */
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.1);
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 20px rgba(var(--primary-rgb), 0.3),
        0 0 20px rgba(var(--primary-rgb), 0.2),
        inset 0 0 20px rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary-color);
}

/* Experience Stats */
.experience-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    background: rgba(var(--dark-rgb), 0.1);
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 
        0 4px 15px rgba(var(--primary-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.experience-stats:hover {
    box-shadow: 
        0 6px 20px rgba(var(--primary-rgb), 0.15),
        0 0 15px rgba(var(--primary-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(var(--primary-rgb), 0.3);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.6));
    text-shadow: 
        0 0 15px rgba(var(--primary-rgb), 0.5),
        0 0 25px rgba(var(--primary-rgb), 0.3);
}

.stat-item:hover .stat-label {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(var(--primary-rgb), 0.3);
}

/* Dark theme adjustments */
[data-theme="dark"] .about-skills-showcase {
    background: linear-gradient(135deg, 
        rgba(83, 109, 254, 0.1) 0%, 
        rgba(83, 109, 254, 0.15) 50%, 
        rgba(83, 109, 254, 0.1) 100%);
    border-color: rgba(83, 109, 254, 0.3);
}

[data-theme="dark"] .tech-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(83, 109, 254, 0.2);
}

[data-theme="dark"] .experience-stats {
    background: rgba(30, 35, 55, 0.3);
    border-color: rgba(83, 109, 254, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tech-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .tech-item i {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .about-skills-showcase {
        margin-bottom: 30px;
        padding: 15px;
    }
    
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tech-item {
        padding: 12px 8px;
    }
    
    .tech-item i {
        font-size: 2rem;
        margin-bottom: 6px;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }
    
    .experience-stats {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 15px;
        border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-number {
        font-size: 1.6rem;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .tech-item i {
        font-size: 1.8rem;
    }
    
    .skills-visual h4 {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Animation delays for staggered effects */
.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.3s; }
.tech-item:nth-child(4) { animation-delay: 0.4s; }
.tech-item:nth-child(5) { animation-delay: 0.5s; }
.tech-item:nth-child(6) { animation-delay: 0.6s; }

/* Loading animation for tech items */
@keyframes techItemLoad {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tech-item {
    animation: techItemLoad 0.5s ease-out forwards;
}

/* Pulse animation for stats */
@keyframes statPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-item:hover {
    animation: statPulse 0.6s ease-in-out;
}
