/* ==========================================================================
   Fahad Ul Hassan - Node.js Portfolio CSS
   - Scrollable Projects View Page
   - Clean Hero Section
   ========================================================================== */

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pingSlow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.animate-vinyl-spin {
  animation: spinVinyl 3.5s linear infinite;
}

.animate-ping-slow {
  animation: pingSlow 2s ease-in-out infinite;
}

body {
  background-color: #ffffff;
  color: #000000;
  overflow: hidden; /* Locked for single screen views */
}

body.enable-scroll {
  overflow-y: auto !important; /* Enable page scroll when on Projects page */
}

/* Page Views Setup */
.page-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.active-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.page-view.inactive-view {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

/* Japanese Quote Styling */
.japanese-text {
  font-family: serif;
  letter-spacing: -0.02em;
}

/* Filter Tab Buttons */
.filter-btn.active {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Scrollbar Customization for Projects Page */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
}

::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius: 4px;
}

/* Skeleton Loading Shimmer Effect */
@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #18181b 25%, #27272a 37%, #18181b 63%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

