/**
 * Professional Loading Screen
 * Shows during page load and language switching
 */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 150px;
    height: auto;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.loading-spinner:before, .loading-spinner:after {
    content: '';
    position: absolute;
    border: 4px solid transparent;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    border-top-color: #2A5CAA;
    animation: spin 1s linear infinite;
}

.loading-spinner:before {
    border-top-color: rgba(42, 92, 170, 0.7);
    animation-duration: 1.5s;
}

.loading-text {
    margin-top: 20px;
    font-family: 'Alexandria', sans-serif;
    font-size: 18px;
    color: #2A5CAA;
    font-weight: 500;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}