/* Aurielle Solutions - Splash Screen & Animations */

/* Splash Screen Container */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-nude) 0%, var(--color-nude-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Logo Animation Container */
.splash-logo-container {
    text-align: center;
    animation: fadeInScale 1s ease-out;
}

.splash-logo {
    max-width: 300px;
    width: 80vw;
    height: auto;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.splash-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-black);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

/* Main Content - Hidden Initially */
.main-content {
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

.main-content.show {
    opacity: 1;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Dots Animation (optional) */
.loading-dots {
    display: inline-block;
    margin-top: 1rem;
}

.loading-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-black);
    margin: 0 4px;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .splash-logo {
        max-width: 200px;
    }
    
    .splash-text {
        font-size: 1.25rem;
    }
}