﻿:root {
    --box-bg-color: white;            
    --box-border-color: purple;       
    --box-shadow-color: rgba(0, 0, 0, 0.1);
    --box-padding: 20px;              
    --box-border-radius: 8px;         
}

.custom-box {

    background-color: var(--box-bg-color);
    border: 2px solid var(--box-border-color);
    box-shadow: 0 4px 6px var(--box-shadow-color);
    padding: var(--box-padding);
    border-radius: var(--box-border-radius);
    width: 100%;                     /* عرض کامل صفحه */
    box-sizing: border-box;          /* شامل padding و border در عرض */
    margin: 20px 0;                  /* فاصله عمودی از بقیه عناصر */
    text-align: center;
    font-family: sans-serif;
}


.video-container {
    background-color: #d4d4d4;
    max-width: 100%;           /* حداکثر عرض 100% صفحه */
    margin: 20px auto;         /* فاصله و مرکز کردن */
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.video-box {
    max-width: 800px;          /* حداکثر عرض باکس */
    width: 100%;               /* عرض کامل روی موبایل */
    margin: 30px auto;         /* فاصله عمودی و مرکز کردن */
    padding: 15px;
    background-color: white;   /* رنگ زمینه باکس */
    border: 2px solid purple;  /* حاشیه ارغوانی */
    border-radius: 10px;       /* گوشه‌های گرد */
    box-shadow: 0 6px 10px rgba(0,0,0,0.1); /* سایه ملایم */
    box-sizing: border-box;
    text-align: center;
}

.video-logo img {
    max-width: 50px;          /* اندازه لوگو */
    margin-bottom: 15px;       /* فاصله لوگو از ویدئو */
}

.video-box video {
    width: 100%;               /* ویدئو همیشه عرض کامل باکس را بگیرد */
    height: auto;              /* حفظ نسبت تصویر */
    border-radius: 8px;        /* گوشه‌های گرد ویدئو */
}
/* باکس آکاردئون */
.accordion-box {
    width: 100%;                     /* عرض کامل صفحه */
    max-width: 100%;                 /* اطمینان از عدم محدودیت عرض */
    margin: 20px 0;                  /* فاصله عمودی */
    border: 2px solid purple;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    background-color: white;
    font-family: sans-serif;
    overflow: hidden;
    box-sizing: border-box;          /* شامل padding و border در عرض */
}

/* هدر باکس */
.accordion-header {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7f7f7;
}

/* علامت + / − */
.accordion-toggle {
    font-size: 24px;
    font-weight: bold;
}

/* محتوای پنهان آکاردئون */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* فعال شدن آکاردئون */
.accordion-content.active {
    max-height: 500px;
    padding: 15px 20px;
}

/* جدول ریسپانسیو */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
    transition: background 0.3s;
}

.responsive-table td:hover {
    background-color: #f0e6ff;
}

/* ریسپانسیو موبایل */
@media (max-width: 480px) {
    .accordion-header {
        font-size: 16px;
    }
    .accordion-toggle {
        font-size: 20px;
    }
    .responsive-table td {
        font-size: 14px;
        padding: 10px;
    }
}


/* ظرف جدول */
.table-spcfn {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
    box-sizing: border-box;
}

/* جدول ریسپانسیو */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
}

/* سلول‌ها */
.responsive-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 16px;
}

/* سطرهای یک در میان سبز کم‌رنگ و مات */
.responsive-table tr:nth-child(odd) {
    background-color: rgba(144, 238, 144, 0.3); /* سبز کم‌رنگ و مات */
}

/* سطرهای زوج سفید */
.responsive-table tr:nth-child(even) {
    background-color: white;
}

/* ریسپانسیو موبایل */
@media (max-width: 480px) {
    .responsive-table td {
        font-size: 14px;
        padding: 10px;
    }
}

/* باکس اصلی */
.main-box {
    width: 100%;                     /* عرض کامل صفحه */
    max-width: 100%;                 /* جلوگیری از محدودیت عرض */
    margin: 0;                        /* بدون فاصله کناری */
    background-color: white;         /* بک‌گراند سفید */
    border: 3px solid #007bff;      /* حاشیه آبی پررنگ */
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    font-family: sans-serif;
    box-sizing: border-box;          /* شامل padding و border در عرض */
}

/* سر باکس */
.box-header {
    background-color: purple;        /* سر باکس ارغوانی */
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* آیکون سر باکس */
.header-icon {
    font-size: 24px;
    transition: transform 0.5s ease;
}

/* چرخش آیکون هنگام هاور */
.box-header:hover .header-icon {
    transform: rotate(360deg);
}

/* ظرف 5 باکس داخلی */
.boxes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    justify-content: space-between;
}

/* هر باکس رنگی */
.color-box {
    flex: 1 1 18%;  /* 5 باکس کنار هم با فاصله */
    min-width: 120px;
    text-align: center;
    padding: 20px 10px;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* تغییر باکس هنگام هاور */
.color-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

/* رنگ‌های متفاوت */
.box1 { background-color: #28a745; }  /* سبز */
.box2 { background-color: #ffc107; }  /* زرد */
.box3 { background-color: #17a2b8; }  /* آبی روشن */
.box4 { background-color: #fd7e14; }  /* نارنجی */
.box5 { background-color: #6f42c1; }  /* بنفش */

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .boxes-container {
        flex-wrap: wrap;
    }
    .color-box {
        flex: 1 1 45%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .color-box {
        flex: 1 1 100%;
    }
    .box-header {
        font-size: 18px;
    }
    .header-icon {
        font-size: 20px;
    }
}

/* باکس اصلی */
.specs-box {
    width: 100%;                     /* عرض کامل صفحه */
    margin: 20px 0;
    background-color: white;         /* بک‌گراند سفید */
    border: 2px solid black;         /* حاشیه مشکی */
    border-radius: 8px;              /* گوشه‌های گرد */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* سایه خاکستری ملایم */
    box-sizing: border-box;
    font-family: sans-serif;
}

/* سر باکس */
.box-header {
    background-color: green;         /* سر باکس سبز */
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* لیست داخلی */
.box-list {
    list-style-type: disc;
    padding: 15px 30px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* ریسپانسیو موبایل */
@media (max-width: 480px) {
    .box-header {
        font-size: 16px;
        padding: 12px 15px;
    }
    .box-list {
        padding: 12px 20px;
        font-size: 14px;
    }
}



/* باکس اصلی */
.products-box {
    width: 100%;                    /* عرض کامل صفحه */
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    border: 2px solid #007bff;     /* حاشیه آبی پررنگ */
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    box-sizing: border-box;
    font-family: sans-serif;
    text-align: center;
}

/* متن توضیحی */
.products-text {
    font-size: 18px;
    margin-bottom: 20px;
}

/* ظرف سه باکس */
.product-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

/* هر باکس محصول */
.product-card {
    flex: 1 1 30%;                  /* سه باکس کنار هم */
    min-width: 150px;
    background-color: #28a745;      /* رنگ سبز */
    color: white;
    font-weight: bold;
    padding: 20px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* افکت هاور */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .product-card {
        flex: 1 1 45%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 1 1 100%;
    }
.cta-box {
  width: 100%;
  background-color: #f5f5f5; /* طوسی خیلی روشن */
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-sizing: border-box;
  margin: 20px 0;
}

.cta-text {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cta-btn {
  background-color: #333;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
}

.cta-btn:hover {
  background-color: #ff6600;
}

@media (max-width: 600px) {
  .cta-text {
    font-size: 1.05rem;
  }
  .cta-btn {
    flex: 1 1 100%;
    text-align: center;
  }
}


/* دکمه‌ها */
.cta-30k-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.cta-30k-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* افکت هاور */
.cta-30k-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* رنگ دکمه‌ها */
.cta-30k-phone { background-color: #007bff; }
.cta-30k-whatsapp { background-color: #25d366; }
.cta-30k-telegram { background-color: #0088cc; }
.cta-30k-instagram { background-color: #e1306c; }

/* ریسپانسیو */
@media (max-width: 600px) {
  .cta-30k-text {
    font-size: 16px;
  }
  .cta-30k-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
