/* Premium Portfolio Custom Styles */

/* Base & Typography Variables */
:root {
  --bg-color: #ffffff;
  --text-primary: #000000;
  --text-secondary: #666666;
  --accent: #27D17F;
  --font-primary: 'Satoshi', sans-serif;
  --font-secondary: 'General Sans', sans-serif;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background-color: rgba(39, 209, 127, 0.1);
  border: 1px solid var(--accent);
  mix-blend-mode: normal;
}

/* Typography Enhancements */
.hero-title-outlined {
  color: transparent !important;
  -webkit-text-stroke: 2px var(--text-primary);
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Magnetic Button Utility */
.magnetic-btn {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pulse animation for availability badge */
.status-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(39, 209, 127, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(39, 209, 127, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(39, 209, 127, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(39, 209, 127, 0);
  }
}

/* Hide scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Project Card Hover Lift */
.project-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover {
  transform: translateY(-10px);
}
.project-card-image img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-card-image img {
  transform: scale(1.05);
}

/* Arrow rotation */
.project-card .project-arrow {
  transition: transform 0.4s ease;
}
.project-card:hover .project-arrow {
  transform: rotate(45deg);
}

/* Service Card Hover */
.service-card {
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border-color: var(--accent);
}
.service-card i, .service-card svg {
  transition: transform 0.4s ease;
}
.service-card:hover i, .service-card:hover svg {
  transform: rotate(10deg) scale(1.1);
}

/* Timeline / Process Line */
.process-timeline {
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: rgba(0,0,0,0.1);
}
.process-timeline-progress {
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(0);
}