/* Enhanced UI Stylesheet */

/* Animated Gradient Background for Hero Section */
.hero {
    background: linear-gradient(-45deg, #1e3a8a, #3b82f6, #1d4ed8, #2563eb);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero h1, .hero h2, .hero h3, .hero h4, .hero p {
    color: white;
}

/* 3D Tilt Effect for Project Cards */
.project-card {
    transition: transform 0.5s, box-shadow 0.5s;
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: perspective(1000px) rotateY(var(--rotateY)) rotateX(var(--rotateX)) scale3d(1.05, 1.05, 1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Shimmer Effect for Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.4s ease;
    opacity: 0;
}

.btn:hover::after {
    left: 100%;
    opacity: 1;
    transition: all 0.4s ease;
}

/* Enhanced Skill Bar Animation */
.progress {
    transition: width 1s ease-in-out;
    background: var(--primary-color);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(
        -45deg, 
        rgba(255, 255, 255, 0.2) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.2) 75%, 
        transparent 75%, 
        transparent
    );
    background-size: 40px 40px;
    animation: progress-bar-stripes 1s linear infinite;
    z-index: 1;
}

@keyframes progress-bar-stripes {
    from { background-position: 40px 0; }
    to { background-position: 0 0; }
}
