/* Splash Screen Styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Neutral dark overlay */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.splash-logo {
    width: 280px; /* Increased size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 0; /* Remove circle */
    object-fit: contain; /* Ensure full logo is visible */
    box-shadow: none; /* Remove shadow */
    animation: fadeLogo 3s infinite ease-in-out; /* Changed to fade animation */
}

.splash-lang-wrapper {
    animation: fadeIn 1s ease-out 0.5s backwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.splash-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.enter-site-btn {
    margin-top: 10px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Tajawal', sans-serif;
    border-radius: 30px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enter-site-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.enter-site-btn:active {
    transform: translateY(0);
}

/* Fade Animation (Disappear and Reappear) */
@keyframes fadeLogo {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}