/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Preloader Styles */
#site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FAF3ED 0%, #F1E7DA 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.5s ease-out;
}

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

/* Modern Spinner */
.spinner {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #8B7355;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 25px;
}

/* Pulsing Effect */
.pulse-spinner {
    width: 80px;
    height: 80px;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-spinner::after {
    content: '';
    width: 60px;
    height: 60px;
    border: 2px solid #8B7355;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

/* Loading Text */
.loading-text {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #5D4037;
}

.loading-dots {
    display: inline-block;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8B7355;
    margin: 0 3px;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Progress Bar */
.progress-container {
    width: 200px;
    height: 4px;
    background: rgba(139, 115, 85, 0.2);
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #8B7355;
    border-radius: 10px;
    animation: progress 3s ease-in-out;
    transform-origin: left;
}

/* Logo Style */
.preloader-logo {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
    color: #5D4037;
    font-family: 'Arial', sans-serif;
}

/* Percentage Counter */
.percentage {
    font-size: 14px;
    color: #8B7355;
    margin-top: 10px;
    font-weight: 300;
}

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

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

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

@keyframes progress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

/* Preloader Hidden State */
.preloader-hidden {
    animation: fadeOut 0.5s ease forwards;
}