/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(25 18 3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: white;
}

.preloader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 30px;
    animation: logoFade 2s ease-in-out infinite alternate;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.preloader-text {
    font-family: 'Antonio', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    animation: textPulse 1.5s ease-in-out infinite;
}

.preloader-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Loading Progress Bar */
.loading-progress {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 20px auto 0;
    overflow: hidden;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background-color: white;
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out forwards;
}

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

@keyframes logoFade {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes loadingProgress {
    0% { width: 0%; }
    33% { width: 30%; }
    66% { width: 70%; }
    100% { width: 100%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .preloader-logo {
        width: 100px;
        margin-bottom: 25px;
    }
    
    .preloader-text {
        font-size: 20px;
    }
    
    .preloader-subtitle {
        font-size: 12px;
    }
    
    .loading-progress {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        width: 80px;
        margin-bottom: 20px;
    }
    
    .preloader-text {
        font-size: 18px;
    }
    
    .loading-progress {
        width: 120px;
    }
} 