/* Additional Visual Enhancements */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B22222;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--secondary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hover effects for interactive elements */
.interactive:hover {
    cursor: pointer;
    transform: scale(1.02);
}

/* Text selection */
::selection {
    background: var(--secondary-color);
    color: var(--accent-color);
}

::-moz-selection {
    background: var(--secondary-color);
    color: var(--accent-color);
}

/* Print styles */
@media print {
    .main-header,
    .main-footer,
    .nav-link {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
    
    body {
        background: white;
        color: black;
    }
}
