/* Custom styles beyond Tailwind */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Navigation scroll state */
nav.scrolled {
  background: rgba(14, 14, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(249, 113, 113, 0.08);
}

nav.scrolled a {
  color: #e2e2e4;
}

/* Thin line accents */
.line-accent {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f97171, transparent);
}

/* Subtle hover lift for cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #ffb4a8, #f97171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile menu transition */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle pulse for CTA buttons */
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 113, 113, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(249, 113, 113, 0); }
}

.btn-pulse:hover {
  animation: softPulse 2s infinite;
}

/* Image lazy fade */
img {
  transition: opacity 0.3s ease;
}
