/* Custom styles that complement Tailwind */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #00D4AA;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #00D4AA;
    color: #0B1D3A;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #E8EDF5;
}
::-webkit-scrollbar-thumb {
    background: #9DB4DC;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7598D0;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(11, 29, 58, 0.08);
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.geometric-shape {
    animation: float 8s ease-in-out infinite;
}

.geometric-shape:nth-child(2) { animation-delay: -2s; animation-duration: 10s; }
.geometric-shape:nth-child(3) { animation-delay: -4s; animation-duration: 7s; }
.geometric-shape:nth-child(4) { animation-delay: -1s; animation-duration: 9s; }
.geometric-shape:nth-child(5) { animation-delay: -3s; animation-duration: 11s; }

/* Pulse animation for the live dot */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(0.8); opacity: 0.8; }
}

.animate-pulse {
    animation: pulse-ring 2s ease-in-out infinite;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Ensure all text has proper contrast */
.text-midnight-500 { color: #0B1D3A; }
.text-midnight-400 { color: #2D4A6F; }
.text-midnight-300 { color: #5A7FA8; }
.text-midnight-200 { color: #8BAFCF; }
.text-midnight-100 { color: #B8CFE5; }
