/* ==========================================================================
   Joy Portfolio - Main Stylesheet
   File: assets/css/style.css
   ========================================================================== */

/* --- Base Body & Typography Setup --- */
body {
  font-family: 'Inter', sans-serif;
  background-color: #07090e;
  color: #f3f4f6;
  overflow-x: hidden;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #090d16;
}

::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4f46e5;
}

/* --- Utility Class: Hide Scrollbars --- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --- Glassmorphism Components --- */
.glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.25);
}

.glass-nav {
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Gradient Typography --- */
.text-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Filter Buttons & Active States --- */
.demo-filter-btn,
.work-filter-btn {
  background-color: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-filter-btn:hover,
.work-filter-btn:hover {
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.5);
}

.active-filter {
  background-color: #4f46e5 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

/* --- Seamless Continuous Infinite Sliders --- */
@keyframes continuousScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333333%); /* ৩টি আইডেন্টিকাল সেটের প্রথম সেটের সমান দূরত্বে লুপ হবে */
  }
}

.infinite-brand-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  animation: continuousScroll 25s linear infinite;
  will-change: transform;
}

.infinite-brand-track:hover {
  animation-play-state: paused;
}


@keyframes reviewMarquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-reviews {
  display: flex;
  width: max-content;
  animation: reviewMarquee 90s linear infinite !important;
  will-change: transform;
}

/* মাউস হোভার করলে অ্যানিমেশন সম্পূর্ণ পজ হবে */
.animate-marquee-reviews:hover,
#reviews-slider-track:hover {
  animation-play-state: paused !important;
}


/* Drag to scroll utilities */
.slider-parent-wrapper {
  overflow-x: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.slider-parent-wrapper.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
}

.slider-parent-wrapper.is-dragging * {
  pointer-events: none !important; /* ড্র্যাগ করার সময় কার্ডে ক্লিক ট্রিগার হবে না */
}


#home-portfolio-slider-track {
  display: flex;
  width: max-content;
  animation: reviewMarquee 30s linear infinite; /* সময় পরিবর্তন করে স্পিড অ্যাডজাস্ট করুন */
}

#home-portfolio-slider-track:hover {
  animation-play-state: paused;
}

