
    body {
      background: #f9f9fb;

      direction: rtl;
      text-align: right;
      transition: background 0.4s, color 0.4s;
      overflow-x: hidden;
      position: relative;
      color: #222;
      font-family: YekanBakh;
      
    }


@font-face {
    font-family: YekanBakh;
    font-style: normal;
    font-weight: 900;
    src: url('/CssSite/fonts/YekanBakh-Heavy.630c4fa4.woff') format('woff');
}

@font-face {
    font-family: YekanBakh;
    font-style: normal;
    font-weight: 700;
    src: url('/CssSite/fonts/YekanBakh-Fat.e508fcc6.woff') format('woff');
}

@font-face {
    font-family: YekanBakh;
    font-style: normal;
    font-weight: 600;
    src: url('/CssSite/fonts/YekanBakh-Bold.bbd877a3.woff') format('woff');
}

@font-face {
    font-family: YekanBakh;
    font-style: normal;
    font-weight: 500;
    src: url('/CssSite/fonts/YekanBakh-Medium.f7360956.woff') format('woff');
}

.fw_800 {
    font-weight: 800;
}

.fw_600 {
    font-weight: 600;
}
.w_inherit{
    width: inherit;
}



    /* ===== Header ===== */
    .custom-header {
      background: linear-gradient(135deg, #0d6efd, #6610f2);
      color: #fff;
      padding: 1rem 0.5rem;
   
   
    }
    .custom-header .nav-link { color: #fff !important; }
    .custom-header .nav-link:hover { color: #ffda6a !important; }

    /* Navbar underline animation */
    .navbar-nav .nav-link {
      position: relative;
      padding-bottom: 5px;
      transition: 0.3s;
       margin: 0 10px;
    }
    .navbar-nav .nav-link::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      width: 0%;
      height: 2px;
      background: #ffda6a;
      transition: width 0.3s;
    }
    .navbar-nav .nav-link:hover::after { width: 100%; }

    /* Social icons */
    .social-icons a {
      width: 40px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      margin-right: 8px;
      transition: 0.4s;
      font-size: 1.2rem;
      color: #fff;
    }
    .social-icons a:hover { transform: rotate(360deg) scale(1.1); }

    /* رنگ اختصاصی برای اینستا و واتساپ */
    .social-icons a[href*="instagram"]:hover {
      background: radial-gradient(circle at 30% 30%, #f58529, #dd2a7b, #8134af, #515bd4);
      color: #fff !important;
    }
    .social-icons a[href*="wa.me"]:hover {
      background: #25d366;
      color: #fff !important;
    }

    /* Navbar toggle icon */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
    margin: 0 10px;
}

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 0%;
        height: 2px;
        background: #ffda6a;
        transition: width 0.3s;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

/* Social icons */
.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    margin-right: 8px;
    transition: 0.4s;
    font-size: 1.2rem;
    color: #fff;
}

    .social-icons a:hover {
        transform: rotate(360deg) scale(1.1);
    }

    /* رنگ اختصاصی برای اینستا و واتساپ */
    .social-icons a[href*="instagram"]:hover {
        background: radial-gradient(circle at 30% 30%, #f58529, #dd2a7b, #8134af, #515bd4);
        color: #fff !important;
    }

    .social-icons a[href*="wa.me"]:hover {
        background: #25d366;
        color: #fff !important;
    }

/* Navbar toggle icon */
.navbar-toggler-icon {
    filter: invert(1);
}

/* Carousel */
.carousel-container {
    max-width: 1200px;
    margin: 1rem auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.carousel-item img {
    height: 480px;
    object-fit: cover;
}


    /* Video */
    .video-section { max-width: 1000px; margin: 3rem auto; text-align: center; }
    .video-section iframe { width: 100%; height: 460px; border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
    .video-section h3 { color: #222; }
    body.dark .video-section h3 { color: #ffda6a; }

    /* Divider */
    .divider { width: 0; height: 4px; background: #0d6efd; margin: 1.5rem auto; border-radius: 2px; transition: width 1s ease; }
    .divider.show { width: 200px; }
    body.dark .divider { background: #ffda6a; }

    /* Product Boxes */
    .products-section { max-width: 1200px; margin: 3rem auto; padding: 0 1rem; text-align: center; }
    .product-box { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: 0.3s; }
    .product-box:hover { transform: translateY(-5px); box-shadow: 0 8px 18px rgba(0,0,0,0.2); }
    .product-box img { width: 100%; height: 240px; object-fit: cover; }
    .product-box .content { padding: 1rem; }
    .product-box h5 { font-weight: 600; }
    .product-box p { font-size: 0.9rem; color: #555; }
    body.dark .product-box { background: #222; color: #ddd; }
    body.dark .product-box p { color: #aaa; }

    /* Sample Boxes */
.samples-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.sample-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
}

    .sample-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .sample-box img {
        width: 100%;
        aspect-ratio: 1 / 1; /* همیشه مربع */
        object-fit: cover; /* تصویر پر می‌کنه و نسبت حفظ می‌شود */
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .sample-box h3 {
        margin: 0.5rem 0 0.25rem;
    }

    .sample-box p {
        margin: 0;
        font-size: 0.9rem;
        color: #555;
    }

/* حالت تاریک */
body.dark .sample-box {
    background: #222;
    color: #ddd;
}


    /* Buttons under boxes */
    .btn-more {
      display: inline-block;
      margin-top: 1rem;
      padding: 8px 20px;
      background: linear-gradient(135deg,#0d6efd,#6610f2);
      color: #fff;
      border-radius: 30px;
      font-weight: 600;
      text-decoration: none;
      transition: 0.3s;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
        #Logo1
    {
width: 90px;
height: 90px;
    }
    .btn-more:hover {
      background: linear-gradient(135deg,#6610f2,#0d6efd);
      transform: translateY(-3px);
    }
    body.dark .btn-more {
      background: linear-gradient(135deg,#444,#222);
      color: #ffda6a;
      box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }
    body.dark .btn-more:hover {
      background: linear-gradient(135deg,#222,#444);
    }

    /* About Section */
    .about-section {
      max-width: 1000px;
      margin: 3rem auto;
      background: #fff;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }
    

    body.dark .about-section { background: #222; color: #ddd; }

    /* Footer */
    footer { background: #0d6efd; color: #fff; padding: 2rem 1rem; margin-top: 3rem; }
    footer a { color: #ffda6a; }
    body.dark footer { background: #111; color: #ddd; }
    body.dark footer a { color: #0d6efd; }

    /* Dark Mode Button */
    .dark-toggle { position: fixed; bottom: 20px; left: 20px; z-index: 2000; background: #0d6efd; color: #fff; border: none; border-radius: 50px; padding: 10px 18px; font-weight: 600; cursor: pointer; }
    .dark-toggle:hover { background: #6610f2; }
    body.dark .dark-toggle { background: #444; color: #ffda6a; }

    /* ===== Dark Mode ===== */
    body.dark { background: #121212; color: #ddd; }
    body.dark .custom-header { background: linear-gradient(135deg, #111, #333); }
    body.dark .carousel-container { box-shadow: 0 6px 18px rgba(0,0,0,0.6); }



