/* Custom Styles overrides for Aryanispe Host */
html {
    scroll-behavior: smooth;
}

.nav-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

/* ===== PRELOADER STYLES ===== */
#preloader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Shimmer animation - defined globally so ALL pages work correctly
   even if tailwind.config doesn't define the 'shimmer' keyframe */
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.animate-shimmer {
    animation: shimmer 1.5s infinite;
    will-change: transform;
}

/* Spinner animation fallback */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* no-scrollbar utility for pricing slider */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Mobile & Tablet Lazy Rendering Optimization */
@media (max-width: 1024px) {
    .lazy-section-mobile {
        content-visibility: auto;
        contain-intrinsic-size: auto 600px;
    }
}
