/* Custom styles beyond Tailwind */

/* Smooth focus for accessibility */
*:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background-color: #99f6e4;
  color: #134e4a;
}

/* Subtle pattern on hero background */
#hero {
  background-image: radial-gradient(circle at 20% 80%, rgba(204, 251, 241, 0.3) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(204, 251, 241, 0.2) 0%, transparent 50%);
}

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

/* Animated underline for nav links */
nav a:not(.inline-flex):hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #0d9488;
  border-radius: 1px;
}

nav a:not(.inline-flex) {
  position: relative;
}

/* Gallery hover overlay */
.rounded-2xl.overflow-hidden {
  position: relative;
}

.rounded-2xl.overflow-hidden::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.1) 0%, transparent 40%);
  border-radius: inherit;
  pointer-events: none;
}

/* Subtle gradient on CTA section */
.bg-slate-800 {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
