/* Custom styles for Java Junkies */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Animation for floating elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Gradient text (if needed) */
.gradient-text {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure proper contrast */
.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-50 { color: #f8fafc; }

.bg-slate-900 { background-color: #0f172a; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-700 { background-color: #334155; }
.bg-slate-600 { background-color: #475569; }
.bg-slate-500 { background-color: #64748b; }
.bg-slate-400 { background-color: #94a3b8; }
.bg-slate-300 { background-color: #cbd5e1; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-50 { background-color: #f8fafc; }

/* Hover states */
.hover\:text-teal-600:hover { color: #0d9488; }
.hover\:text-teal-700:hover { color: #0f766e; }
.hover\:bg-teal-700:hover { background-color: #0f766e; }
.hover\:bg-teal-50:hover { background-color: #f0fdfa; }

/* Focus states */
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { ring-width: 2px; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}
