/* High-Density (HD) CSS System for Codingbiz */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-sans);
  color: #1e293b;
  background-color: #f8fafc;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: #0f172a;
}

/* Light Theme Gradient Text & Badges */
.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-bg {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
}

/* Light Header */
.glass-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

/* Light HD Cards */
.hd-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hd-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px) scale(1.02);
}

/* Active Navigation Indicator */
.nav-link {
  position: relative;
  padding: 0.25rem 0;
  color: #334155;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-link.active {
  color: #2563eb;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: #2563eb;
  border-radius: 2px;
}

/* Portfolio Filter Items */
.portfolio-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item.hidden-item {
  display: none !important;
}

/* MODERN FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #128c7e;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: whatsapp-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

@keyframes whatsapp-ping {
  75%, 100% {
    transform: scale(1.5);
    opacity: 0;
  }
}


/* PREMIER DARK FOOTER */
.modern-dark-footer {
  background-color: #0b0f19 !important;
  color: #94a3b8 !important;
  border-top: 1px solid #1e293b !important;
}

.modern-dark-footer h4,
.modern-dark-footer .footer-title {
  color: #ffffff !important;
}

.modern-dark-footer p,
.modern-dark-footer li,
.modern-dark-footer span {
  color: #cbd5e1;
}

.modern-dark-footer a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.modern-dark-footer a:hover {
  color: #38bdf8 !important;
}


/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Universal Invisible Scrollbars Utility */
.no-scrollbar,
.hide-scrollbar,
.scrollbar-none,
.mobile-snap-slider {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.no-scrollbar::-webkit-scrollbar,
.hide-scrollbar::-webkit-scrollbar,
.scrollbar-none::-webkit-scrollbar,
.mobile-snap-slider::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Mobile App Horizontal Touch Slider Utilities (MOBILE ONLY) */
@media (max-width: 767px) {
  .mobile-snap-slider {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
  }
}
