/* Custom styles that complement Tailwind */

/* Selection color */
::selection {
  background: rgba(20, 184, 166, 0.3);
  color: #f0fdfa;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #2dd4bf;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth image loading */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Navbar transition */
#navbar {
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(20, 184, 166, 0.1);
}

/* Gold gradient text */
.text-gold-gradient {
  background: linear-gradient(135deg, #f0c27f, #d4a053, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Teal gradient text */
.text-teal-gradient {
  background: linear-gradient(135deg, #5eead4, #14b8a6, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Divider with gradient */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.3), transparent);
}

/* Card shine effect */
.card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transition: left 0.7s ease;
}

.card-hover:hover::before {
  left: 100%;
}

.card-hover {
  position: relative;
}

/* Print styles */
@media print {
  #navbar,
  .reveal {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
