/* Magezi Anchor — Custom Styles */

html {
  scroll-behavior: smooth;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

/* Smooth transitions */
a, button {
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Form success state */
#form-success {
  animation: fadeIn 0.4s ease;
}

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

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

/* Subtle card hover lift */
.group:hover {
  transform: translateY(-1px);
}

/* Print-friendly */
@media print {
  header, footer, .no-print {
    display: none !important;
  }
}

/* Scroll to top button */
#scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: #0d9488;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(13,148,136,.35);
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s, background .15s;
}
#scroll-top:hover {
  background: #0f766e;
  transform: translateY(-2px);
}
#scroll-top.show {
  display: flex;
}
