/*
Theme Name: House of Shaila
Theme URI: https://houseofshaila.com
Author: Antigravity
Author URI: https://antigravity.ai
Description: A luxury custom WordPress theme for Vedic Gemstones.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: house-of-shaila
*/

/* --- Premium Base & Scrollbar --- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-scroll-left {
    display: flex;
    width: max-content;
    animation: scroll-left 40s linear infinite;
    will-change: transform;
}

.animate-scroll-right {
    display: flex;
    width: max-content;
    animation: scroll-right 40s linear infinite;
    will-change: transform;
}

.animate-scroll-left:hover,
.animate-scroll-right:hover {
    animation-play-state: paused;
}

@keyframes ken-burns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.animate-ken-burns {
    animation: ken-burns 15s ease-out infinite alternate;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

html {
    scroll-behavior: smooth;
}

/* --- Layout Fixes for Grid & Tracks --- */
#premium-gemstones-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem;
    width: 100% !important;
    max-width: 1440px;
    margin: 0 auto !important;
}

/* Force Flex for Scrolling Tracks */
#rudraksha-track, 
#gemstone-collection-track, 
#bracelets-track, 
#reels-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content;
}

/* Video Modal Centering Fix */
#video-modal:not(.hidden) {
    display: flex !important;
}

/* Premium Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


