/* Breathing Circle Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 245, 242, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Breathing circle container */
.breathing-circle {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main breathing circle */
.breathing-circle::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid #6b2d2d;
    animation: breathe 4s ease-in-out infinite;
}

/* Inner subtle glow */
.breathing-circle::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(107, 45, 45, 0.1);
    animation: breathe-inner 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.6;
        border-color: #6b2d2d;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        border-color: #8b6f47;
    }
}

@keyframes breathe-inner {
    0%, 100% {
        transform: scale(0.7);
        opacity: 0.3;
    }
    50% {
        transform: scale(1);
        opacity: 0.15;
    }
}

/* Loading text */
.loading-text {
    margin-top: 30px;
    font-family: 'Garamond', Georgia, serif;
    font-size: 1.1em;
    color: #5a524c;
    font-style: italic;
    letter-spacing: 0.5px;
    animation: fade-text 4s ease-in-out infinite;
}

@keyframes fade-text {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}
