@import "tailwindcss";

/* Custom CSS for Pre-loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0f172a; /* dark blue */
    z-index: 1000;
}

.loader-text {
    font-size: 2rem;
    opacity: 0;
}

.loader-bar {
    width: 250px;
    height: 4px;
    background-color: #3f3f46; /* zinc-600 */
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 9999px;
}

.loader-progress {
    width: 0;
    height: 100%;
    background-color: #0ea5e9; /* sky-500 */
}

/* Base styles for dark theme */
body {
    background-color: #09090b; /* zinc-950 */
    color: #f4f4f5; /* zinc-50 */
}

@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.animate-bounce-slow {
  animation: bounce 2s infinite;
}

.tech-tag {
  @apply bg-sky-900/50 text-sky-300 text-xs font-semibold px-3 py-1 rounded-full;
}

.contact-card {
  @apply block bg-zinc-800 border border-zinc-700 p-6 rounded-xl transition-all duration-300 hover:border-sky-500/50 hover:bg-zinc-700/60 hover:-translate-y-1;
}

.contact-card-text {
  @apply text-zinc-300 group-hover:text-sky-400 transition-colors block mt-1 text-sm md:text-base truncate;
}