/* IRANSans Web Fonts */
@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb_Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb_Bold.woff2') format('woff2');
    font-weight: bold; /* or 700 */
    font-style: normal;
    font-display: swap;
}

/* Global Styles */
body {
    font-family: 'IRANSansWeb', sans-serif !important;
    background-color: #f8f9fa;
    color: #333;
}

/* Fluid Typography - Adjusted for Persian Fonts (Smaller and more elegant) */
:root {
    --fs-xs: clamp(0.7rem, 0.65rem + 0.2vw, 0.8rem);
    --fs-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --fs-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
    --fs-lg: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
    --fs-xl: clamp(1.15rem, 1rem + 0.5vw, 1.3rem);
    --fs-2xl: clamp(1.3rem, 1.15rem + 0.6vw, 1.5rem);
    --fs-3xl: clamp(1.5rem, 1.3rem + 0.8vw, 1.8rem);
    --fs-4xl: clamp(1.8rem, 1.5rem + 1vw, 2.2rem);
    --fs-5xl: clamp(2rem, 1.8rem + 1.2vw, 2.5rem);
}

body { font-size: var(--fs-base); }
p { font-size: var(--fs-base); line-height: 2; }
small, .text-sm { font-size: var(--fs-sm); }
h1, .h1 { font-size: var(--fs-4xl); font-weight: bold; }
h2, .h2 { font-size: var(--fs-3xl); font-weight: bold; }
h3, .h3 { font-size: var(--fs-2xl); font-weight: 500; }
h4, .h4 { font-size: var(--fs-xl); font-weight: 500; }
h5, .h5 { font-size: var(--fs-lg); font-weight: 500; }
h6, .h6 { font-size: var(--fs-base); font-weight: normal; }

/* Custom Colors & Utilities */
:root {
    --primary-color: #1a2a40; /* Dark Navy / سرمه‌ای تیره */
    --secondary-color: #c9a263; /* Gold / طلایی */
    --accent-color: #900C3F; /* Crimson / زرشکی */
    
    /* Override Bootstrap Defaults */
    --bs-primary: #1a2a40;
    --bs-primary-rgb: 26, 42, 64;
    --bs-secondary: #c9a263;
    --bs-secondary-rgb: 201, 162, 99;
    --bs-link-color: #1a2a40;
    --bs-link-hover-color: #c9a263;
}

.text-gold { color: var(--secondary-color) !important; }
.text-navy { color: var(--primary-color) !important; }
.bg-navy { background-color: var(--primary-color) !important; }
.bg-gold { background-color: var(--secondary-color) !important; color: #fff; }

.btn-gold {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: #b08d55;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(201, 162, 99, 0.4);
}

.btn-navy {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}
.btn-navy:hover {
    background-color: #111e2f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26, 42, 64, 0.4);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

.glass-panel-dark {
    background: rgba(26, 42, 64, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations & Hover Effects */
.hover-scale {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.hover-scale:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    background: #fff;
    transition: all 0.3s ease;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.product-card .img-wrapper {
    overflow: hidden;
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}
.product-card .img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .img-wrapper img {
    transform: scale(1.08);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    mix-blend-mode: multiply;
}
.hero-content {
    position: relative;
    z-index: 2;
}
