/* public/css/home-hero.css */

/* Ensure no gap between header and hero */
.hero-section {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #e0e5ec 0%, #f8fafc 50%, #f1f5f9 100%); /* Light neumorphic background */
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    top: 0;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 75%, rgba(59, 130, 246, 0.03) 0%, transparent 50%), 
        radial-gradient(circle at 75% 25%, rgba(99, 102, 241, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hero-floating-element-1 {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(99, 102, 241, 0.02));
    border-radius: 50%;
    filter: blur(30px);
    animation: float 20s ease-in-out infinite;
}

.hero-floating-element-2 {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(59, 130, 246, 0.02));
    border-radius: 50%;
    filter: blur(20px);
    animation: float 25s ease-in-out infinite reverse;
}

.skeuomorphic-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.skeuomorphic-hero-left {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8); /* Blue gradient */
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25); /* Soft shadow */
    animation: slideInLeft 1s ease-out;
}

.hero-badge i {
    margin-right: 0.5rem;
    font-size: 0.7rem;
}

.hero-badge span {
    letter-spacing: 0.3px;
}

.hero-main-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: slideInLeft 1s ease-out 0.2s both;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle text shadow */
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 2.5rem;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-role-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #e0e5ec; /* Light neumorphic background */
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: 8px 8px 16px #a3b1c6, -8px -8px 16px #ffffff; /* Neumorphic shadow */
    border: 1px solid #e2e8f0;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.hero-role-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8); /* Blue gradient */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.1), inset -2px -2px 4px rgba(255,255,255,0.7); /* Inner shadow */
}

.hero-role-details div:first-child {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.hero-role-details div:last-child {
    color: #64748b;
    font-size: 0.875rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 520px;
    font-weight: 400;
    animation: slideInLeft 1s ease-out 0.8s both;
}

.hero-description strong {
    color: #3b82f6;
    font-weight: 600;
}

.hero-description span {
    font-weight: 600;
    color: #1e293b;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease-out 1s both;
}

.hero-cta-buttons .neu-button {
    box-shadow: 6px 6px 12px #a3b1c6, -6px -6px 12px #ffffff; /* Neumorphic button shadow */
    transition: all 0.3s ease;
}

.hero-cta-buttons .neu-button:hover {
    box-shadow: inset 2px 2px 5px #a3b1c6, inset -2px -2px 5px #ffffff; /* Pressed effect */
    transform: translateY(1px);
}

.skeuomorphic-hero-right {
    text-align: center;
    position: relative;
    animation: slideInRight 1s ease-out 0.5s both;
}

.hero-avatar {
    width: 280px;
    height: 280px;
    margin: 0 auto 0rem auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: none;
    overflow: visible;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* No hover effects - clean display */
.hero-avatar::before {
    display: none;
}

.hero-avatar img,
.hero-avatar .lottie-container {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(20%) contrast(105%); /* Subtle image enhancement */
    image-rendering: -webkit-optimize-contrast; /* Better image rendering for GIFs */
    image-rendering: crisp-edges;
    will-change: transform; /* Optimize for animations */
    backface-visibility: hidden; /* Prevent flickering */
}

/* Lottie Animation Container */
.lottie-container {
    width: 100%;
    height: 100%;
    border-radius: 0; /* Remove circular border */
    overflow: visible; /* Allow animation to extend beyond container */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.lottie-container svg {
    width: 100%;
    height: 100%;
    border-radius: 0; /* Remove circular border */
    filter: none; /* Remove filters for transparent animation */
    transition: all 0.3s ease;
}

/* Hero Lottie specific styles */
.hero-avatar .lottie-container {
    background: transparent;
    box-shadow: none;
    border: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Simple, clean styling for Lottie animation */
.hero-avatar .lottie-container {
    transition: none;
    cursor: default;
}

/* Remove any hover effects */
.hero-avatar:hover .lottie-container,
.lottie-container:hover {
    transform: none;
    filter: none;
    background: none;
}

/* Clean, simple styling */
.lottie-container {
    transition: none;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.hero-stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #e0e5ec; /* Neumorphic background */
    border-radius: 16px;
    box-shadow: 6px 6px 12px #a3b1c6, -6px -6px 12px #ffffff; /* Neumorphic shadow */
    border: 1px solid #f1f5f9;
    position: relative;
    animation: slideInUp 1s ease-out;
    transition: all 0.3s ease;
}

.hero-stat-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 8px 8px 16px #a3b1c6, -8px -8px 16px #ffffff; /* Enhanced hover shadow */
}

.hero-stat-item div:first-child {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle text shadow */
}

.hero-stat-item div:last-child {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .skeuomorphic-hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
        padding: 3rem 1rem;
    }

    .hero-main-heading {
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
        margin: 0 auto 2rem auto;
    }

    .skeuomorphic-hero-right {
        margin-top: 2rem;
        order: -1;
    }

    .hero-avatar {
        margin-bottom: 2rem;
        width: 200px;
        height: 200px;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        border: none;
        overflow: visible;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .skeuomorphic-hero-content {
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .hero-main-heading {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
        text-align: center;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .skeuomorphic-hero-right {
        margin-top: 1.5rem;
    }

    .hero-avatar {
        width: 180px;
        height: 180px;
        margin-bottom: 1.5rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-cta-buttons .neu-button {
        width: 100%;
        justify-content: center;
    }
}

/* Enhanced Tech Stack Styling */
.hero-tech-stack {
    text-align: center;
}

.tech-icons-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow-x: auto;
    justify-content: center;
}

.tech-icon {
    font-size: 1.6rem;
    color: #3b82f6;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
    flex-shrink: 0;
}

/* Responsive tech grid */
@media (max-width: 768px) {
    .hero-tech-stack {
        margin-top: 1.5rem;
    }

    .tech-icons-grid {
        gap: 0.3rem;
        padding: 0;
        overflow-x: auto;
        justify-content: flex-start;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .tech-icon {
        padding: 0.6rem;
        min-width: 45px;
        min-height: 45px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .tech-icons-grid {
        gap: 0.25rem;
        padding: 0;
    }
    
    .tech-icon {
        padding: 0.5rem;
        min-width: 40px;
        min-height: 40px;
        font-size: 1.3rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
    .skeuomorphic-hero-content {
        padding: 1.5rem 0.75rem;
        gap: 1.5rem;
    }

    .hero-main-heading {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-avatar {
        width: 160px;
        height: 160px;
        margin-bottom: 1rem;
    }

    .tech-icons-grid {
        gap: 0.2rem;
    }
    
    .tech-icon {
        padding: 0.4rem;
        min-width: 35px;
        min-height: 35px;
        font-size: 1.1rem;
    }
}
