/* Image Background Styles with Enhanced Effects */

/* Homepage Hero Section with Modern AI Workspace */
.hero-bg {
    background-image: linear-gradient(
        135deg,
        rgba(5, 10, 31, 0.85) 0%,
        rgba(15, 23, 53, 0.75) 50%,
        rgba(26, 38, 80, 0.65) 100%
    ), url('/static/images/img2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 10, 31, 0.3);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.hero-bg > * {
    position: relative;
    z-index: 2;
}

/* Projects Section with AI/Healthcare Visualization */
.projects-bg {
    background-image: linear-gradient(
        rgba(15, 23, 53, 0.88) 0%,
        rgba(26, 38, 80, 0.82) 100%
    ), url('/static/images/img3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Skills Section with Programming Environment */
.skills-bg {
    background-image: linear-gradient(
        45deg,
        rgba(26, 38, 80, 0.85) 0%,
        rgba(15, 23, 53, 0.90) 50%,
        rgba(5, 10, 31, 0.85) 100%
    ), url('/static/images/img4.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.skills-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.02);
    pointer-events: none;
}

/* Contact Section with Tech Office Space */
.contact-bg {
    background-image: linear-gradient(
        rgba(5, 10, 31, 0.82) 0%,
        rgba(15, 23, 53, 0.85) 50%,
        rgba(26, 38, 80, 0.78) 100%
    ), url('/static/images/img5.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Enhanced Glass Effects for Image Backgrounds */
.glass-enhanced {
    backdrop-filter: blur(20px) saturate(120%);
    background: rgba(26, 38, 80, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(255, 215, 0, 0.1);
}

/* Subtle Parallax Effect */
.parallax-light {
    transform: translateZ(0);
    will-change: transform;
}

/* Enhanced Hover Effects for Cards on Image Backgrounds */
.image-bg-card:hover {
    backdrop-filter: blur(25px) saturate(140%);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(255, 215, 0, 0.2);
}

/* Text Shadow for Better Readability */
.text-shadow-soft {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7),
                 0 0 20px rgba(5, 10, 31, 0.8);
}

.text-shadow-strong {
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9),
                 0 0 25px rgba(5, 10, 31, 0.9);
}

/* Gradient Overlays for Enhanced Visual Hierarchy */
.gradient-overlay-hero {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.08) 0%,
        rgba(255, 107, 53, 0.06) 50%,
        rgba(0, 212, 255, 0.04) 100%
    );
}

.gradient-overlay-content {
    background: linear-gradient(
        180deg,
        rgba(5, 10, 31, 0.1) 0%,
        rgba(15, 23, 53, 0.2) 100%
    );
}

/* Trending Skills Animations */
.trending-skill {
    text-align: center;
    transition: all 0.3s ease;
    opacity: 1; /* Ensure visible by default */
    display: block; /* Ensure they're displayed */
}

.trending-skill:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6),
                0 0 25px rgba(255, 215, 0, 0.15);
}

.trending-skill i {
    display: block;
    margin-bottom: 8px;
}

/* Enhanced Cards - Ensure Visibility */
.project-preview,
.skill-card,
.work-card {
    opacity: 1; /* Ensure visible by default */
    display: block; /* Ensure they're displayed */
}

.project-preview:hover {
    transform: translateY(-8px) scale(1.05);
}

/* Responsive Image Adjustments */
@media (max-width: 768px) {
    .hero-bg, .projects-bg, .skills-bg, .contact-bg {
        background-attachment: scroll;
        background-size: cover;
    }
    
    .glass-enhanced {
        backdrop-filter: blur(15px);
        background: rgba(26, 38, 80, 0.45);
    }
    
    .trending-skill {
        padding: 12px;
    }
} 