/* Additional custom styles beyond Tailwind */

/* Smooth focus outlines for accessibility */
*:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background-color: #99f6e4;
  color: #0f766e;
}

/* Body scroll padding for fixed navbar */
body {
  padding-top: 0;
}

/* Navbar scrolled state */
.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Gradient animation for hero text */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text {
  background: linear-gradient(135deg, #0d9488, #14b8a6, #2dd4bf, #14b8a6, #0d9488);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

/* Image lazy-load placeholder */
img {
  background-color: #f0fdfa;
}

/* Subtle pattern overlay for sections */
.section-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(20, 184, 166, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Custom tooltip */
[data-tooltip] {
  position: relative;
}

[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
  margin-bottom: 4px;
}

/* Print styles */
@media print {
  nav, .mobile-menu, #contactForm, #successMsg { display: none !important; }
  body { background: white !important; color: black !important; }
  a { color: black !important; }
}
