/* FILE: assets/css/styles.css */

:root {
    --bg-dark: #0f172a; 
    --bg-panel: #1e293b; 
    --primary-accent: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.6); 
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15); 
}

/* --- GLOBAL DARK THEME RESETS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }

body { 
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    line-height: 1.6; 
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background-color: #334155; border-radius: 5px; border: 2px solid var(--bg-dark); }
::-webkit-scrollbar-thumb:hover { background-color: var(--primary-accent); }

html.overlay-open, body.overlay-open,
html.lightbox-open, body.lightbox-open,
html.modal-open, body.modal-open { overflow: hidden !important; padding-right: 0 !important; }

/* Utility Classes */
.tracking-tight { letter-spacing: -0.5px; }
.tracking-wide { letter-spacing: 1px; }
.text-gradient { 
    background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.shadow-glow { box-shadow: 0 8px 32px var(--primary-glow) !important; transition: all 0.3s ease; }
.shadow-glow:hover { box-shadow: 0 12px 40px rgba(59, 130, 246, 0.8) !important; transform: translateY(-3px); }
.text-glow { text-shadow: 0 0 20px var(--primary-glow); }
.bg-panel-dark { background-color: var(--bg-panel); }
.transition-all { transition: all 0.3s ease; }
.hover-white:hover { color: #fff !important; }
.hover-primary:hover { color: var(--primary-accent) !important; }
.hover-bg-white:hover { background-color: #fff !important; color: #000 !important; }

/* --- THE FIVERR TOP BAR --- */
.launchtact-stats-bar-top {
    position: relative; 
    z-index: 1060; 
    font-size: 0.85rem;
}
.glass-panel-heavy {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--glass-border);
}
.stat-badge { display: flex; align-items: center; justify-content: center; gap: 8px; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.2); }
.stat-pulse {
    display: inline-block; width: 8px; height: 8px; background-color: #38bdf8; 
    border-radius: 50%; box-shadow: 0 0 10px #38bdf8; animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* --- GLASSMORPHISM COMPONENTS --- */
.glass-navbar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glass-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.glass-btn {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}
.glass-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Sticky Search Bar */
.sticky-search-bar { position: sticky; top: 70px; z-index: 1040; }

.glass-search-bar {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.glass-search-bar:focus-within { border-color: var(--primary-accent); box-shadow: 0 0 20px var(--primary-glow); }

.glass-search-bar input::placeholder { color: rgba(255,255,255,0.6) !important; font-weight: 400; }
.glass-select { 
    background-color: rgba(255,255,255,0.05) !important; 
    border: 1px solid var(--glass-border) !important; 
    color: #ffffff !important;
}
.glass-select:focus { border-color: var(--primary-accent) !important; box-shadow: 0 0 20px var(--primary-glow) !important; }
.glass-select option {
    background-color: var(--bg-panel);
    color: #ffffff !important;
}

/* --- SPLASH SCREEN FIX --- */
.welcome-splash {
    position: fixed !important;
    inset: 0 !important; 
    z-index: 99999 !important; 
    display: flex;
}
.splash-content { animation: splashFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes splashFadeUp { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* --- HERO SECTION --- */
.hero-section { position: relative; min-height: 90vh; overflow: hidden; }
.hero-glow-orb {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; z-index: 0; pointer-events: none;
}
.orb-1 { width: 600px; height: 600px; background: #3b82f6; top: -150px; right: -100px; }
.orb-2 { width: 500px; height: 500px; background: #60a5fa; bottom: -100px; left: -150px; opacity: 0.25; }
.hero-title-anim { animation: fadeInUp 1s ease-out; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.hero-graphic-container:hover { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02) !important; }

/* --- NETFLIX-STYLE SWIMLANES --- */
.catalog-tier { position: relative; overflow: hidden; }
.swimlane-container { position: relative; display: flex; align-items: center; }
.swimlane-container:hover .swimlane-nav { opacity: 1; }

.swimlane-track {
    display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding: 20px 1rem 40px 1rem;
    scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}
.swimlane-track::-webkit-scrollbar { display: none; }

.swimlane-nav {
    position: absolute; top: 50%; transform: translateY(-60%); z-index: 10;
    background: rgba(15, 23, 42, 0.8); border: 1px solid var(--glass-border); color: #fff;
    width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.swimlane-nav:hover { background: var(--primary-accent); transform: translateY(-60%) scale(1.1); box-shadow: 0 0 20px var(--primary-glow); }
.left-nav { left: 10px; }
.right-nav { right: 10px; }

/* --- PREMIUM CARDS --- */
.premium-card {
    display: block; 
    flex: 0 0 auto; width: 340px; height: 440px; border-radius: 16px; overflow: hidden; position: relative;
    background: var(--bg-panel); border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s;
    cursor: pointer;
}

.premium-card:hover {
    transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    border-color: rgba(59, 130, 246, 0.6); z-index: 5;
}

.card-img-wrapper { width: 100%; height: 100%; position: relative; transition: transform 0.5s ease; }
.premium-card:hover .card-img-wrapper { transform: scale(1.05); }

.card-gradient-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.7) 50%, transparent 100%);
    transition: background 0.3s ease;
}
.premium-card:hover .card-gradient-overlay { background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.9) 75%, transparent 100%); }

.premium-card .btn { opacity: 0; transform: translateY(20px); transition: all 0.3s ease; }
.premium-card:hover .btn { opacity: 1; transform: translateY(0); }

.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- PORTFOLIO GALLERY --- */
.portfolio-card:hover .portfolio-img { transform: scale(1.08); }
.portfolio-overlay {
    position: absolute; top:0; left:0; right:0; bottom:0; background: rgba(59, 130, 246, 0.85);
    opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(5px);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

/* --- OVERLAYS & MODALS OVERRIDE --- */
.modal-content { background-color: var(--bg-panel); color: var(--text-main); }
.btn-close-white { filter: invert(1) grayscale(100%) brightness(200%); }
.modal-backdrop { z-index: 10400 !important; }
.modal { z-index: 10500 !important; }

.lightbox { 
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.95); z-index: 106000; 
    display: none; justify-content: center; align-items: center; 
    opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(10px);
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 12px; box-shadow: 0 0 40px rgba(0,0,0,0.8); transform: scale(0.9); transition: transform 0.3s ease; }
.lightbox.active img { transform: scale(1); }
.lightbox-close { position: absolute; top: 20px; right: 30px; background: none; border: none; color: white; font-size: 3rem; cursor: pointer; line-height: 1; transition: color 0.3s ease; }
.lightbox-close:hover { color: var(--primary-accent); }

#overlay-container { position: fixed; inset: 0; background: var(--bg-dark); z-index: 10400; display: none; overflow-y: auto; scrollbar-width: none; }
#overlay-container::-webkit-scrollbar { display: none; }
#overlay-container.active { display: block; animation: overlayFadeIn 0.3s ease; }
.overlay-content { background: var(--bg-dark); min-height: 100vh; animation: overlaySlideIn 0.4s ease; display: flex; flex-direction: column; }
.overlay-body { flex-grow: 1; position: relative; padding-bottom: 120px; }
@keyframes overlayFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes overlaySlideIn { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Mobile Adjustments */
@media (max-width: 991px) {
    .stat-divider { display: none; }
    
    .navbar-collapse { background: var(--bg-panel); padding: 1.5rem; border-radius: 16px; margin-top: 15px; border: 1px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
    .swimlane-nav { display: none !important; } 
    .glass-search-bar { border-radius: 12px; }
    .glass-select { border-radius: 12px !important; }
}