/* Zoeww Preloader Styles */
.zoeww-preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.zoeww-preloader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.zoeww-preloader-content {
    text-align: center;
}

.zoeww-logo-container {
    margin-bottom: 20px;
}

.zoeww-preloader-logo {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
}

/* Animation: Pulse */
.zoeww-logo-container[data-animation="pulse"] .zoeww-preloader-logo {
    animation: zoeww-pulse 1.5s ease-in-out infinite;
}

@keyframes zoeww-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* Animation: Rotate */
.zoeww-logo-container[data-animation="rotate"] .zoeww-preloader-logo {
    animation: zoeww-rotate 2s linear infinite;
}

@keyframes zoeww-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animation: Bounce */
.zoeww-logo-container[data-animation="bounce"] .zoeww-preloader-logo {
    animation: zoeww-bounce 1s ease-in-out infinite;
}

@keyframes zoeww-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Animation: Fade */
.zoeww-logo-container[data-animation="fade"] .zoeww-preloader-logo {
    animation: zoeww-fade 2s ease-in-out infinite;
}

@keyframes zoeww-fade {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Animation: Flip */
.zoeww-logo-container[data-animation="flip"] .zoeww-preloader-logo {
    animation: zoeww-flip 2s ease-in-out infinite;
}

@keyframes zoeww-flip {
    0% {
        transform: perspective(400px) rotateY(0deg);
    }
    50% {
        transform: perspective(400px) rotateY(180deg);
    }
    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}

/* Loading Text */
.zoeww-loading-text {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    margin-top: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.zoeww-dots span {
    animation: zoeww-dots 1.5s infinite;
    opacity: 0;
    display: inline-block;
}

.zoeww-dots span:nth-child(1) {
    animation-delay: 0s;
}

.zoeww-dots span:nth-child(2) {
    animation-delay: 0.5s;
}

.zoeww-dots span:nth-child(3) {
    animation-delay: 1s;
}

@keyframes zoeww-dots {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Spinner */
.zoeww-spinner {
    width: 40px;
    height: 40px;
    margin: 20px auto 0;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #333;
    animation: zoeww-spinner 1s linear infinite;
}

@keyframes zoeww-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .zoeww-preloader-logo {
        max-width: 150px;
        max-height: 150px;
    }
    
    .zoeww-loading-text {
        font-size: 14px;
    }
}