/* Hero Section Layout Enhancement */
/* New structure with static greeting, name, and profession typing */

.hero-greeting {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 10px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    margin: 15px 0 !important;
    line-height: 1.1 !important;
    color: var(--text-color);
    background: linear-gradient(45deg, var(--primary-color), #4361ee, #3f51b5, var(--accent-color));
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 5s ease infinite;
    position: relative;
    display: inline-block;
}

.hero-profession {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.hero-profession .highlight {
    color: var(--primary-color);
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary-color), #4361ee);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 3s ease infinite;
    position: relative;
}

/* Add subtle glow effect to the name */
.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-clip: text;
    -webkit-background-clip: text;
    filter: blur(8px);
    opacity: 0.3;
    z-index: -1;
}

/* Dark mode adjustments */
[data-theme="dark"] .hero-greeting {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .hero-profession {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .hero-title {
    background: linear-gradient(45deg, #536dfe, #6d83ff, #4361ee, #ff6b6b);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 5s ease infinite;
    text-shadow: 0 0 20px rgba(83, 109, 254, 0.3);
}

[data-theme="dark"] .hero-profession .highlight {
    background: linear-gradient(45deg, #536dfe, #6d83ff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 3s ease infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-greeting {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        margin: 10px 0 !important;
    }
    
    .hero-profession {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-greeting {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin: 8px 0 !important;
    }
    
    .hero-profession {
        font-size: 1rem;
        margin-bottom: 12px;
    }
}

/* Animation keyframes */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Typing cursor color adjustment */
.typed-cursor {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Add subtle animation to the greeting text */
.hero-greeting {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-profession {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
