/* styles/hero.css */
:root {
    --charcoal: #1A1A1A;
    --jet-black: #0A0A0A;
    --neon-green: #39FF14;
    --electric-blue: #00F3FF;
    --light-gray: #E0E0E0;
    --header-height: 80px;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    overflow: hidden;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeUp 0.8s ease;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--light-gray);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.roles {
    height: 2.5rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.roles-wrap {
    display: flex;
    flex-direction: column;
    animation: slideRoles 6s infinite;
}

.roles-wrap span {
    height: 2.5rem;
    font-size: 1.5rem;
    color: var(--electric-blue);
    display: flex;
    align-items: center;
}

.description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0.9;
}

.contact-info {
    display: grid;
    gap: 1rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(57, 255, 20, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--light-gray);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--neon-green);
    transform: translateY(-2px);
}

.contact-item .icon {
    font-size: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn.primary {
    background: var(--neon-green);
    color: var(--jet-black);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--electric-blue);
    color: var(--electric-blue);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.hero-visual {
    position: relative;
    animation: fadeLeft 0.8s ease 0.2s both;
}

.profile-frame {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    border: 2px solid var(--neon-green);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(57, 255, 20, 0.05);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--electric-blue);
    box-shadow: 0 0 10px var(--electric-blue);
    animation: scan 2s linear infinite;
    z-index: 2;
}

.profile-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.profile-frame:hover .profile-img {
    transform: scale(1.05);
}

.tech-stack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-item {
    position: absolute;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    border-radius: 4px;
    font-size: 0.875rem;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    background: rgba(57, 255, 20, 0.1);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRoles {
    0%, 33% { transform: translateY(0); }
    33%, 66% { transform: translateY(-2.5rem); }
    66%, 100% { transform: translateY(-5rem); }
}

@keyframes scan {
    0% { 
        transform: translateY(0);
        opacity: 0; 
    }
    50% { 
        opacity: 1; 
    }
    100% { 
        transform: translateY(400px);
        opacity: 0; 
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-container {
        padding: 2rem 1rem;
    }

    .tech-stack {
        
        left: 15px;
        
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .title {
        font-size: 3rem;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .profile-frame {
        width: 300px;
        height: 300px;
    }

    .tech-item {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    @keyframes scan {
        100% { 
            transform: translateY(300px);
        }
    }
}