/* Custom Styles for Niazi Dawkhana */

@font-face {
    font-family: 'Jameel Noori Nastaleeq';
    src: url('https://cdn.jsdelivr.net/gh/nauman-tariq/jameel-noori-nastaleeq@master/JameelNooriNastaleeq.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/nauman-tariq/jameel-noori-nastaleeq@master/JameelNooriNastaleeq.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/nauman-tariq/jameel-noori-nastaleeq@master/JameelNooriNastaleeq.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Smooth Scrolling & Base */
html {
    /* Removed scroll-behavior for fast scrolling */
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar for Body */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #022c22; 
}

::-webkit-scrollbar-thumb {
    background: #065f46; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37; 
}

/* Custom Scrollbar for Modals */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.8);
}

/* Hide Number Input Arrows */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=number] {
    -moz-appearance: textfield;
}

/* Loader Animation */
#loader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Glassmorphism utilities */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glow Effects */
.glow-gold {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.hover-glow-gold:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

/* Product Card Specifics */
.product-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}



/* Modal Open state */
body.modal-open {
    overflow: hidden;
}

/* Form inputs autocomplete styling fix */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #022c22 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Reviews Auto Scrolling Marquee */
.reviews-track {
    width: max-content;
    animation: scroll-marquee 50s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

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

.testimonial-card {
    width: 350px;
    flex-shrink: 0;
}
