/* Welcome Section Styles */
.welcome-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/backgrounds/welcome_1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    /* Add loading optimization */
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Add preload for critical background images */
@import url('../assets/backgrounds/welcome_1.jpeg') preload;

/* Progressive loading fallback */
.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.welcome-section.loaded::before {
    opacity: 0;
}

.welcome-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
}

.avatar-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.welcome-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #00aaff; /* Blue accent color to match project detail pages */
}

.welcome-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #f8fafc; /* Light text color to match projects section */
}

.welcome-content h3 i {
    color: #00aaff; /* Blue accent color to match projects section */
    margin-right: 0.5rem;
}

.welcome-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #00aaff; /* Blue accent color to match project detail pages */
    cursor: pointer;
    /* Removed bouncing animation */
}

/* Removed bounce animation keyframes */

/* Responsive Design */
@media (max-width: 768px) {
    .avatar {
        width: 150px;
        height: 150px;
    }
    
    .welcome-content h1 {
        font-size: 2.5rem;
    }
    
    .welcome-content h3 {
        font-size: 1.5rem;
    }
    
    .welcome-content p {
        font-size: 1.1rem;
    }
} 