/* 
  Neeraz Site Styles
  Converted from Tailwind to Custom CSS + Bootstrap 5.3
*/

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.95);
    --font-inter: 'Inter', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
}

.bg-accent-glow { background-color: rgba(6, 182, 212, 0.1); }
.text-uppercase { text-transform: uppercase !important; }
.tracking-widest { letter-spacing: 0.25em; }
.tracking-tighter { letter-spacing: -0.05em; }
.hidden { display: none !important; }

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-inter);
    overflow-x: hidden;
    margin: 0;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .font-outfit {
    font-family: var(--font-outfit);
}

.text-accent { color: var(--accent) !important; }
.text-glow { text-shadow: 0 0 10px var(--accent-glow); }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }

/* Backgrounds & Decorations */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.bg-grid {
    background-image: radial-gradient(rgba(6, 182, 212, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

/* Glassmorphism */
nav.glass {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Ensure mobile menu also inherits glass effect */
@media (max-width: 767.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        margin: 1rem -1rem -1rem -1rem;
        padding: 1.5rem;
        border-radius: 0 0 1.5rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.glass-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-5px);
}

/* Navigation */
.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

/* Content Padding for Fixed Nav */
body {
    padding-top: 80px;
}

/* Layout Helpers */
.section-padding {
    padding: 6rem 0;
    width: 100%;
    position: relative;
    z-index: 10;
}

.container-xxl {
    max-width: 1280px !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.portrait-frame {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Portfolio Filters */
.filter-pill {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.8rem 1.8rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-pill.active {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--accent);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.count-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* Typing Tool */
.typing-area {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
}

#input_tool {
    width: 100%;
    min-height: 400px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    outline: none;
    resize: vertical;
}

/* Bootstrap Overrides */
.btn-accent {
    background-color: var(--accent);
    color: var(--bg-primary);
    font-weight: 700;
    padding: 0.8rem 2.2rem;
    border-radius: 1rem;
    border: none;
    transition: all 0.3s;
}

.btn-accent:hover {
    background-color: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.2);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 1rem;
    transition: all 0.3s;
}

.btn-sm.btn-accent, .btn-sm.btn-glass {
    padding: 0.4rem 1.2rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
}

.btn-glass:hover {
    border-color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
}
