@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');
body, html {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important; /* Regular */
  font-weight: 400 !important;
}

h1, h2 {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important; /* Black */
  font-weight: 900 !important;
}

h3, h4 {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important; /* Bold */
  font-weight: 700 !important;
}

p {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important; /* Light */
  font-weight: 300 !important;
}

strong, b {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important; /* ExtraBold */
  font-weight: 800 !important;
}

em {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important; /* ExtraLight */
  font-weight: 200 !important;
}

a {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important; /* Medium */
  font-weight: 500 !important;
}

small, .caption {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important; /* Thin */
  font-weight: 100 !important;
}

button, input, textarea, select {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important; /* SemiBold */
  font-weight: 600 !important;
}

:root {
    --color-white: #FFFFFF;
    --color-off-white: #FAFAFA;
    --color-light-gray: #F8F9FA;
    --color-gray: #E8E8E8;
    --color-medium-gray: #9E9E9E;
    --color-dark-gray: #616161;
    --color-gold: #D4AF37;
    --color-light-gold: #E8D7A0;
    --color-dark-gold: #B8941F;
    --color-accent: #FFF8E7;
    --color-black: #1A1A1A;
    --color-charcoal: #2C2C2C;
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-gold: 0 10px 40px rgba(212,175,55,0.25);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F5D77E 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    background-color: var(--color-off-white);
    color: var(--color-black);
    line-height: 1.8;
    overflow-x: hidden;
}
/* استایل برای متن انگلیسی */
html[lang="en"] body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* دکمه تغییر زبان */
.lang-switcher {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 8px 15px !important;
    transition: all 0.3s;
}

.lang-switcher:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--color-gold) !important;
}

/* اسکرول بار سفارشی */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark-gold);
}

/* هدر */
.header-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}



.logo-img {
    height: 55px;
    width: auto;
    margin-left: 15px;
    filter: drop-shadow(0 4px 10px rgba(212,175,55,0.3));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05) rotate(2deg);
}

.logo-icon {
    font-size: 2.8rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 15px;
    filter: drop-shadow(0 2px 8px rgba(212,175,55,0.4));
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--color-dark-gray);
    font-weight: 600;
    margin: 0 15px;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gradient-gold);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--color-gold);
    background: var(--color-accent);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* بخش هیرو - فوق‌العاده مدرن */
.hero-section {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 50%, #FFF8E7 100%);
    padding: 150px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.8; }
    50% { transform: scale(1.1) translateY(-20px); opacity: 1; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    text-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-description {
    font-size: 1.35rem;
    color: var(--color-dark-gray);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.9;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 400;
}

.hero-btn {
    background: var(--gradient-gold);
    border: none;
    padding: 18px 50px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease 0.4s backwards;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(212,175,55,0.4);
}

/* بخش محصولات - مدرن و شیک */
.products-section {
    padding: 100px 0;
    background: var(--color-white);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 60px;
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: var(--gradient-gold);
    margin: 20px auto 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

.product-card {
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--color-gray);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-light-gold);
}

.product-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--color-light-gray);
    position: relative;
}

.product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover .product-image-wrapper::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.15) rotate(2deg);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-gray) 100%);
    color: var(--color-medium-gray);
    font-size: 4rem;
}

.product-body {
    padding: 30px;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-off-white) 100%);
}

.product-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.product-description {
    color: var(--color-dark-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
}

/* بخش تماس - فوق‌العاده زیبا */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-accent) 100%);
    position: relative;
}

.contact-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-gray);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-gold);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-light-gold);
}

.contact-title {
    font-size: 1.9rem;
    font-weight: 800;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--color-light-gold);
    letter-spacing: -0.5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 15px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: var(--color-off-white);
}

.contact-item:hover {
    background: var(--color-accent);
    transform: translateX(-5px);
}

.contact-icon {
    background: var(--gradient-gold);
    color: var(--color-white);
    font-size: 1.4rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(212,175,55,0.3);
}

.contact-item strong {
    display: block;
    color: var(--color-black);
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-item span {
    color: var(--color-dark-gray);
    font-size: 1.05rem;
}

.instagram-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.instagram-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s;
}

.instagram-link:hover::after {
    width: 100%;
}

.instagram-link:hover {
    color: var(--color-dark-gold);
}

/* فوتر - مدرن */
.footer-section {
    background: var(--gradient-dark);
    color: var(--color-white);
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.footer-text {
    margin: 0;
    color: var(--color-medium-gray);
    font-size: 1rem;
    font-weight: 500;
}

/* پنل مدیریت */
.admin-body {
    background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-off-white) 100%);
    min-height: 100vh;
}

.admin-header {
    background: var(--gradient-dark);
    color: var(--color-white);
    padding: 25px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    position: relative;
}

.admin-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.admin-title {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.5px;
}

.admin-card {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid var(--color-gray);
    transition: all 0.3s ease;
}

.admin-card:hover {
    box-shadow: var(--shadow-hover);
}

.admin-card-header {
    background: var(--gradient-gold);
    color: var(--color-white);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.admin-card-body {
    padding: 35px;
}

/* صفحه ورود - لوکس */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-light-gray) 0%, var(--color-accent) 100%);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite;
}

.login-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-hover);
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--color-gray);
    position: relative;
    z-index: 1;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-gold);
    border-radius: 24px 24px 0 0;
}

.login-title {
    text-align: center;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 35px;
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -0.5px;
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ریسپانسیو */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 100px 0 80px;
    }
    
    .products-section,
    .contact-section {
        padding: 70px 0;
    }
    
    .admin-card-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .admin-card-body {
        padding: 25px;
    }
    
    .product-body {
        padding: 25px;
    }
    
    .contact-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .product-name {
        font-size: 1.35rem;
    }
    
    .login-card {
        margin: 20px;
        padding: 35px 25px;
    }
    
    .nav-link {
        margin: 5px 0;
    }
}

/* استایل دکمه‌های Bootstrap - مدرن */
.btn-primary {
    background: var(--gradient-gold);
    border: none;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.btn-success {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    border: none;
    color: white;
    font-weight: 700;
}

.btn-danger {
    background: linear-gradient(135deg, #F44336 0%, #EF5350 100%);
    border: none;
    font-weight: 700;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* جداول - مدرن */
.table {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
}

.table thead {
    background: var(--gradient-gold);
    color: var(--color-white);
}

.table thead th {
    font-weight: 700;
    border: none;
    padding: 18px 15px;
}

.table tbody td {
    padding: 18px 15px;
    vertical-align: middle;
    border-color: var(--color-gray);
}

.table-hover tbody tr {
    transition: all 0.3s ease;
}

.table-hover tbody tr:hover {
    background: var(--color-accent);
    transform: scale(1.01);
}

/* مودال - لوکس */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-hover);
}

.modal-header {
    background: var(--gradient-gold);
    color: var(--color-white);
    border-bottom: none;
    padding: 25px;
    border-radius: 20px 20px 0 0;
}

.modal-title {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 2px solid var(--color-light-gray);
    padding: 20px 30px;
}

/* فرم‌ها - مدرن */
.form-control, .form-select {
    border: 2px solid var(--color-gray);
    border-radius: 12px;
    padding: 12px 18px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
}

/* Badge - مدرن */
.badge {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.bg-success {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, #9E9E9E 0%, #BDBDBD 100%) !important;
}

/* Alert - زیبا */
.alert {
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.alert-success {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    color: #2E7D32;
}

.alert-danger {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    color: #C62828;
}
/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.why-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.why-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gradient-gold);
}

.why-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.why-card:hover .why-image {
    transform: scale(1.1);
}

.why-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

.why-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.why-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.why-description {
    color: #718096;
    line-height: 1.8;
    font-size: 1rem;
    flex: 1;
}