@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazirmatn/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Vazir', sans-serif;
}
body {
    font-family: 'Vazir', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

.dark ::-webkit-scrollbar-track {
    background: #09090b;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax custom tweak */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.clip-path-slant {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

/* About Page */
.soft-line {
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.about-text p {
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }

    .clip-path-slant {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
}


/* Contact Page */
.floating-input:focus ~ label,
.floating-input:not(:placeholder-shown) ~ label {
    transform: translateY(-1.5rem) scale(0.85);
    color: #f59e0b;
    padding: 0 0.5rem;
    background-color: inherit;
}

.ancient-grid {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(245, 158, 11, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(245, 158, 11, 0.05) 1px, transparent 1px);
}

.glow-hover {
    transition: all 0.4s ease;
}

.glow-hover:hover {
    box-shadow: 0 0 25px rgba(217, 119, 6, 0.3);
    border-color: rgba(217, 119, 6, 0.6);
}

/* Blog Details Page */
#progressBar {
    width: 0%;
    transition: width 0.1s ease-out;
}

.drop-cap::first-letter {
    font-size: 3.5rem;
    font-weight: 900;
    float: right;
    margin-left: 0.75rem;
    color: #f59e0b;
    line-height: 1;
}

.clay-tablet {
    background-image: radial-gradient(circle, rgba(217, 119, 6, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}


/* Products Page Range Input */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #e4e4e7;
    height: 6px;
    border-radius: 3px;
}

.dark input[type="range"]::-webkit-slider-runnable-track {
    background: #27272a;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -5px;
    background-color: #d97706;
    height: 16px;
    width: 16px;
    border-radius: 50%;
}/* Product Details Page */
#productMainImage {
    transition: opacity 0.3s ease-in-out, transform 0.5s ease;
}

.print-effect-dark {
    mix-blend-mode: multiply;
}

.print-effect-light {
    mix-blend-mode: screen;
    opacity: 0.9;
}

#emblemContainer {
    transition: transform 0.2s ease, left 0.3s ease, right 0.3s ease, opacity 0.3s ease;
}