/* استایل پایه دکمه افزودن به سبد خرید */
.buy-button {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* افکت هنگام هاور */
.buy-button:hover {
    background: linear-gradient(45deg, #ffa500, #ff6b6b);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    animation: buttonShake 0.3s ease-in-out;
}

/* افکت هنگام کلیک */
.buy-button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* انیمیشن تکان خوردن دکمه */
@keyframes buttonShake {
    0%, 100% { transform: translateY(-3px) scale(1.05) rotate(0deg); }
    25% { transform: translateY(-3px) scale(1.05) rotate(-1deg); }
    75% { transform: translateY(-3px) scale(1.05) rotate(1deg); }
}

/* افکت نور درخشان */
.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: left 0.5s ease;
}

.buy-button:hover::before {
    left: 100%;
}

/* افکت پالس برای جلب توجه */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.buy-button.pulse {
    animation: pulseGlow 2s infinite;
}

/* آیکون سبد خرید */
.buy-button::after {
    content: '🛒';
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.buy-button:hover::after {
    transform: scale(1.2) rotate(-10deg);
}

/* افکت وقتی محصول به سبد اضافه شد */
.buy-button.added {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* استایل پایه برای محصولات */
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.product-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
}

/* انیمیشن تکان خوردن */
@keyframes shake {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(-3px) rotate(-1deg); }
  75% { transform: translateX(3px) rotate(1deg); }
}

/* انیمیشن شناور شدن */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* افکت هنگام هاور */
.product-card:hover {
  animation: shake 0.5s ease-in-out, float 2s ease-in-out infinite;
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* افکت نور پس‌زمینه */
.product-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.product-card:hover::before {
  transform: rotate(45deg) translate(20px, 20px);
}

/* استایل تصویر محصول */
.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

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

/* استایل متن */
.product-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.product-price {
  font-size: 1.4em;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* انیمیشن برای نمایش محصولات */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeInUp 0.6s ease-out;
}

/* تأخیر برای انیمیشن‌های متوالی */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

/* استایل‌های جدید برای نوار دسته‌بندی‌ها */
.categories-section {
    margin-bottom: 2rem;
}

.categories-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(109, 103, 228, 0.1);
}

.category-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.8rem;
    background: var(--white);
    border: 2px solid rgba(109, 103, 228, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.category-tab:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    box-shadow: 0 5px 15px rgba(109, 103, 228, 0.15);
}

.category-tab.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--white), rgba(109, 103, 228, 0.05));
    box-shadow: 0 5px 15px rgba(109, 103, 228, 0.2);
}

.category-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

.category-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.6rem;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    transition: var(--transition);
}

.category-tab:hover .category-icon {
    transform: scale(1.05);
}

.category-tab.active .category-icon {
    background: var(--gradient);
    box-shadow: 0 3px 10px rgba(109, 103, 228, 0.3);
}

.category-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    transition: var(--transition);
    line-height: 1.3;
}

.category-tab:hover .category-title {
    color: var(--primary);
}

.category-tab.active .category-title {
    color: var(--primary);
    font-weight: 700;
}

/* استایل برای بخش نمایش محصولات */
.category-display {
    margin-top: 0.5rem;
}

.active-category-title {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--dark);
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.active-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Reset و فونت ها */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #6d67e4;
    --primary-light: #8b87ea;
    --secondary: #ff9a3c;
    --accent: #46c7c7;
    --light: #f0f7ff;
    --white: #ffffff;
    --text: #5a5a7a;
    --dark: #3a3a5a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* پس‌زمینه داینامیک */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(109, 103, 228, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(70, 199, 199, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 154, 60, 0.05) 0%, transparent 50%);
    z-index: -1;
}

/* ناوبری */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo h2 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.circular-image-container {
    display: flex;
    justify-content: center;
}

.circular-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.circular-image:hover {
    transform: rotate(10deg);
    border-color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(109, 103, 228, 0.1);
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* بخش‌ها */
.section {
    min-height: 100vh;
    padding: 100px 0 50px;
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* بخش خانه */
.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideIn 1s ease;
}

@keyframes slideIn {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(109, 103, 228, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(109, 103, 228, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-images {
    width: 100%;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.image-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.image-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-item img {
    width: 80%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.image-item:hover .image-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* بخش محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.badge-new {
    background: var(--accent);
}

.badge-popular {
    background: var(--secondary);
}

.badge-sale {
    background: #ff4757;
}

.badge-featured {
    background: var(--primary);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-description {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.add-to-cart {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

/* بخش تعمیرات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 1.5rem;
}

.service-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-info h3 i {
    color: var(--accent);
}

.service-info p {
    color: var(--text);
    line-height: 1.6;
}

/* بخش ارتباط با ما */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.3rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(109, 103, 228, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.contact-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(109, 103, 228, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 0.8rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(109, 103, 228, 0.3);
}

/* بخش ویژه‌ها در خانه */
.special-offers {
    margin-top: 4rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.offer-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.offer-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.offer-new .offer-icon {
    background: var(--accent);
}

.offer-popular .offer-icon {
    background: var(--secondary);
}

.offer-sale .offer-icon {
    background: #ff4757;
}

.offer-featured .offer-icon {
    background: var(--primary);
}

.offer-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.offer-desc {
    font-size: 0.9rem;
    color: var(--text);
}

/* فوتر */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: center;
    cursor: pointer;
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.footer-section h3 {
    margin-bottom: 0.5rem;
    color: #e5e7eb;
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.9rem;
}

/* پاپ‌آپ سبد خرید */
.cart-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 999;
    transform: translateX(-150%);
    transition: transform 0.5s ease;
}

.cart-popup.show {
    transform: translateX(0);
}

.cart-count {
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* استایل‌های نقشه */
.location-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#map {
    height: 400px;
    width: 100%;
}

.address-box {
    background: white;
    padding: 15px;
    border-top: 3px solid #6a11cb;
}

.address-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #333;
}

.address-title i {
    color: #e74c3c;
}

.address-text {
    color: #555;
    line-height: 1.6;
}

/* استایل‌های آمار */
.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-box {
    background-color: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2575fc;
}

.stat-title {
    font-size: 1.2rem;
    color: #666;
}

.update-info {
    margin-top: 40px;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
}

/* استایل شماره تلفن */
.phone-number {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-icon {
    font-size: 14px;
    animation: shake 1.5s infinite;
}

.phone-text {
    font-size: 13px;
    font-weight: bold;
    font-family: 'Tahoma', sans-serif;
    color: #333;
    animation: heartbeat 1.2s infinite;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.1); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* انیمیشن‌های اضافی */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        order: -1;
    }

    .categories-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding: 0.8rem;
    }
    
    .category-tab {
        padding: 0.8rem 0.5rem;
    }
    
    .category-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .category-title {
        font-size: 0.8rem;
    }
    
    .active-category-title {
        font-size: 1.4rem;
        margin: 1rem 0;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        width: 100%;
        max-width: 350px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .categories-nav {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* کلاس‌های کمکی */
.hidden {
    display: none;
}

.category-products {
    display: none;
}

.category-products.active {
    display: block;
}

.no-products {
    text-align: center;
    padding: 2rem;
    color: var(--text);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 1rem 0;
}

.no-products i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    opacity: 0.7;
}

.no-products h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1.2rem;
}

.no-products p {
    color: var(--text);
    opacity: 0.8;
    font-size: 0.9rem;
}