/* SkillXen Bangladesh - Custom styles: glassmorphism, light effects, shadcn-style */

/* Base */
html { scroll-behavior: smooth; }

/* Enhanced Glassmorphism */
.nav-glass {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.card-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-glass-strong {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Enhanced Light effects & glows */
.glow-primary {
    box-shadow: 
        0 0 50px -10px rgba(99, 102, 241, 0.5),
        0 0 100px -20px rgba(168, 85, 247, 0.4),
        0 0 150px -30px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glow-soft {
    box-shadow: 
        0 0 60px -15px rgba(99, 102, 241, 0.3),
        0 0 120px -25px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.text-glow {
    text-shadow: 
        0 0 40px rgba(129, 140, 248, 0.5),
        0 0 80px rgba(168, 85, 247, 0.3),
        0 0 120px rgba(99, 102, 241, 0.2);
}

/* Simple Navigation links - no Tailwind @apply */
.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #cbd5f5;
    position: relative;
    transition: all 200ms ease;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(148, 163, 253, 0.18);
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.35);
}

.nav-link-active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(168, 85, 247, 0.9));
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.55);
}

/* Simple colorful buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background-image: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6, #ec4899);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.55);
    transition: all 200ms ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(79, 70, 229, 0.75);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 253, 0.6);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.7);
    transition: all 200ms ease;
}

.btn-secondary:hover {
    color: #ffffff;
    background: rgba(30, 64, 175, 0.6);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.8);
}

/* Enhanced Cards hover */
.card-hover {
    @apply transition-all duration-300;
}

.card-hover:hover {
    @apply border-primary-500/40 -translate-y-2;
    box-shadow: 
        0 20px 60px -15px rgba(99, 102, 241, 0.3),
        0 0 40px -10px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-8px) scale(1.01);
}

/* Form inputs - shadcn-style */
.input-field {
    @apply w-full rounded-lg border border-white/15 bg-white/5 px-4 py-3 text-slate-100 placeholder-slate-500 backdrop-blur-sm transition-all duration-200 focus:border-primary-500 focus:bg-white/10 focus:outline-none focus:ring-2 focus:ring-primary-500/20;
}

/* Footer */
.footer-social {
    @apply flex h-10 w-10 items-center justify-center rounded-lg border border-white/10 bg-white/5 text-slate-400 transition-all duration-300 hover:border-primary-500/40 hover:bg-primary-500/10 hover:text-primary-300;
}

.footer-link {
    @apply text-slate-400 text-sm transition-colors hover:text-primary-300;
}

/* Animations */
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stagger delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Gradient mesh background */
.bg-mesh {
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(168, 85, 247, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 0% 50%, rgba(99, 102, 241, 0.08), transparent);
}

/* Mobile nav - ensure touch targets and better spacing */
@media (max-width: 768px) {
    .nav-link { @apply px-4 py-3 text-base; }
    
    .btn-primary, .btn-secondary {
        @apply w-full sm:w-auto;
        min-height: 48px; /* Better touch target */
    }
    
    .card-glass, .card-glass-strong {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

@media (max-width: 640px) {
    .nav-link { @apply px-3 py-2.5; }
    
    /* Better mobile hero spacing */
    section.relative.min-h-\[90vh\] {
        min-height: 85vh;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}
