/* --- Reset & Base --- */
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { height: 100%; }
    body {
      font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
      /*background: #fff;*/
      background-image: url("../img/bg/bg-wave-white.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      color: #111;
      overflow-x: hidden;
    }

    .bg {
  /* The image used */
  /*background-image: url("../img/bg/bg-wave-white.png");

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;*/
}

    /* --- Header & Navigation --- */
    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      transition: background 0.3s ease, padding 0.3s ease;
      padding: 20px 40px;
    }
    header.scrolled {
      background: rgba(0, 0, 0, 0.95);
      padding: 10px 40px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }
    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      font-size: 28px;
      font-weight: 900;
      color: #fff;
      text-decoration: none;
      transition: color 0.3s;
    }
    header.scrolled .logo { color: #d32f2f; }
    nav ul {
      display: flex;
      list-style: none;
      gap: 30px;
    }
    nav a {
      color: #fff;
      text-decoration: none;
      font-weight: 600;
      font-size: 16px;
      transition: color 0.3s;
    }
    header.scrolled nav a { color: #ffffff; }
    nav a:hover { color: #ffffff; }
    header.scrolled nav a:hover { color: #d32f2f; }

    /* Mobile menu */
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      z-index: 1002;
    }
    .menu-toggle span {
      width: 25px; height: 3px;
      background: #fff;
      transition: 0.3s;
    }
    header.scrolled .menu-toggle span { background: #000; }

    /* Close button for mobile menu */
    .menu-close {
      display: none;
      position: absolute;
      top: 20px;
      left: 20px;
      font-size: 32px;
      color: #000;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 1003;
      padding: 5px;
      line-height: 1;
    }

    @media (max-width: 1280px) {
      header { padding: 15px 20px; background-color: #000; }
      header.scrolled { padding: 10px 20px; }
      .menu-toggle { display: flex; }
      .menu-close { display: block; position: relative; }
      nav ul {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,0.99);
        color: #000;
        flex-direction: column;
        align-items: baseline;
        justify-content: flex-start;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        /*padding-top: 60px;*/
      }
      nav ul.active {
        opacity: 1;
        visibility: visible;
      }
      nav a { font-size: 22px; color: #000;}

      /* Overlay effect */
      .menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 100;
      }
      .menu-overlay.active {
        display: block;
      }
    }

    @media (max-width: 520px ){
      header {
         position: absolute;
      }

    }

    /* Headpage */
    .Headpage  {
       padding-top:  20px;
       width: 100%;

    }

    /* =========================================================
   --- Responsive Image Slider ---
   ========================================================= */

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ---------------------------------------------------------
   Slides
   --------------------------------------------------------- */

.slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;

    text-align: center;
}

.slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* ---------------------------------------------------------
   Hero Images
   --------------------------------------------------------- */

.slide img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: center;
}

/* ---------------------------------------------------------
   Dark overlay
   --------------------------------------------------------- */

.slide::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.4);

    z-index: 1;

    pointer-events: none;
}

/* ---------------------------------------------------------
   Slider content
   --------------------------------------------------------- */

.slide-content {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 2;

    width: min(800px, 90%);

    padding: 20px;

    color: #fff;

    text-align: center;
}

/* ---------------------------------------------------------
   Slider title
   --------------------------------------------------------- */

.slide-title {
    font-size: 48px;
    font-weight: 900;

    margin-bottom: 20px;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------
   Slider text
   --------------------------------------------------------- */

.slide-text {
    font-size: 20px;
    line-height: 1.6;
}

/* =========================================================
   Slider Controls
   ========================================================= */

.slider-btn {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    padding: 0;

    background: rgba(255, 255, 255, 0.2);

    border: none;
    border-radius: 50%;

    color: #fff;

    font-size: 30px;
    line-height: 50px;

    cursor: pointer;

    z-index: 20;

    transition: background 0.3s ease, transform 0.2 ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* RTL:
   next = left
   prev = right
*/

.prev {
    right: 20px;
}

.next {
    left: 20px;
}

/* =========================================================
   Slider Dots
   ========================================================= */

.slider-dots {
    position: absolute;

    bottom: 20px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 10px;

    z-index: 20;

    width: auto;
    height: auto;
}

/* Individual dot */

.dot {
    display: block;

    box-sizing: border-box;

    width: 40px;
    height: 8px;

    padding: 0;

    border: 2px solid #fff;
    border-radius: 4px;

    background: transparent;

    opacity: 1;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
}

.active1,
.dot:hover {
    background-color: #fff;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 768px) {

    .slide-title {
        font-size: 34px;
    }

    .slide-text {
        font-size: 17px;
    }

    .slider-btn {
        width: 42px;
        height: 42px;
        font-size: 24px;
        line-height: 42px;
    }

    .prev {
        right: 10px;
    }

    .next {
        left: 10px;
    }

    .slider-dots {
        bottom: 15px;
        gap: 6px;
    }

    .dot {
        width: 30px;
        height: 7px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 520px) {

    .slider {
        width: 100%;
        height: auto;
    }

    .slide {
        width: 100%;
    }

    .slide img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .slide-title {
        font-size: 25px;
        margin-bottom: 10px;
    }

    .slide-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .slide-content {
        width: 92%;
        padding: 10px;
    }

    .slider-btn {
        width: 34px;
        height: 34px;
        font-size: 19px;
        line-height: 34px;
    }

    .prev {
        right: 8px;
    }

    .next {
        left: 8px;
    }

    .slider-dots {
        bottom: 10px;
        gap: 5px;
    }

    .dot {
        width: 24px;
        height: 6px;
        border-width: 1px;
    }
}

/* ---- container -------- */
   .container {
       display: contents;
       margin: 10px;

   }

/* --- Sections aboutus --- */


    .aboutus {
      padding: 80px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .titr {
        text-align: center;
        font-size: 36px;
        font-weight: 800;
        color: #d32f2f;
        padding: 20px;
        margin-top: 50px;
        margin-bottom: 40px;
    }

    .matn {
      font-size: 1.4rem;
      line-height: 2.5rem;
    }

    .more {
        padding: 50px;
        margin: 10px;
        float: inherit;
    }

    .Abtn {
        background-color: #d32f2f;
        border: none;
        color: white;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        margin: 4px 2px;
        border-radius: 8px;
    }


    .row {
        display: flex;
        padding: 50px;
        /*background-image: url("../img/bg/bg-wave-white.png");*/
    }

    .column {
        flex: 50%;
        float: left;
        width: 50%;

    }

    @media screen and (max-width: 600px) {
        .row { display: block; }
        .column {  width: 100%; height: auto; }
    }

    @media screen and (max-width: 1070px ){
        .aboutus img { width:90%; height:auto; object-fit: contain; }
    }

    /* --- Sections Menu Ghaza --- */

    .zard {
        background-image: url("../img/bg/bg-wave-white.png");
       --tw-bg-opacity: 1;
       background-color: rgb(255 203 5 / var(--tw-bg-opacity));
       /*background-color: rgba(255,203,5,0.58);*/
       background-blend-mode: multiply;
    }

    .Title1 {
        display: grid;
        padding: 50px;
        justify-items: center;
        text-align: center;
        gap: 30px;
    }

    .Title1 p {
        font-size: 14px;
        font-weight: 800;
        width: 60%;
        line-height: 2.5rem;
    }

    /* find us */
    .find_us {

      /* background-image: url("../img/about/Home2.jpg");
       background-size: inherit;
       width: 100%;
       height: 100%;*/

       color: #fff;
       position: relative;

       text-align: left;
       line-height: 2.5rem;
       padding-top: 80px;
       padding-bottom: 80px;

    }

    .textover {
       padding: 30px;

    }

    .Bbtn {
       background-color: #d32f2f;
        border: none;
        color: white;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        margin: 4px 2px;
        border-radius: 8px;
    }

    /* ----Franchise----- */
    .franchise {

       background-image: url("../img/other/FA.jpg");
       background-size: inherit;
       background-blend-mode: multiply;
       background-color: rgba(0, 0, 0, 0.5);
       color: #fff;
       position: relative;

       text-align: center;
       line-height: 2.5rem;
       padding-top: 80px;
       padding-bottom: 80px;

    }

    .frtitr {  padding: 10px; }
    .frtext {  padding: 30px; }

    .frbtn {
        background-color: #fff;
        border: none;

        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 18px;
        margin: 4px 2px;
        border-radius: 8px;

    }

    .frbtn a {
        text-decoration: none;
        color: rgb(244,115,39);

    }



/* =========================
   Find Us / Features Section
========================= */

.find_us {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

/* Image container */
.find_us .img-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Main image */
.find_us .img-text img {
    width: 100%;
    height: 100%;
    display: block;

    /* تصویر کوچک نشود؛ فضای بخش را پر کند */
    object-fit: cover;

    /* تمرکز تصویر روی قسمت چپ */
    object-position: right center;
}

/* Text and button over image */
.find_us .textover {
    position: absolute;

    /* محل قرارگیری محتوا */
    left: 8%;
    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    text-align: center;
}

/* Heading */
.find_us .textover h2 {
    margin: 0 0 25px;

    font-size: 38px;
    line-height: 1.4;
    color: #ffffff;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Button */
.find_us .textover .btn {
    display: inline-block;

    padding: 12px 30px;

    text-decoration: none;
    color: rgb(255,0,0);

    background: #fff;
    border-radius: 5px;

    font-size: 18px;

    transition: 0.3s;
}

.find_us .textover .btn:hover {
    background: #fff;
}


/* =========================
   Tablet
========================= */

@media (max-width: 900px) {

    .find_us {
        height: 430px;
    }

    .find_us .img-text img {
        object-position: right center;
    }

    .find_us .textover {
        left: 6%;
    }

    .find_us .textover h2 {
        font-size: 30px;
    }

}


/* =========================
   Mobile
========================= */

@media (max-width: 600px) {

    .find_us {
        height: 380px;
    }

    .find_us .img-text img {
        /*
         * تصویر همچنان کل بخش را پر می‌کند
         * و فقط قسمت‌های اضافی بریده می‌شوند.
         */
        object-fit: cover;
        object-position: right center;
    }

    .find_us .textover {
        left: 20px;
        right: 20px;
        top: 50%;

        transform: translateY(-50%);

        width: auto;
    }

    .find_us .textover h2 {
        font-size: 25px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .find_us .textover .btn {
        padding: 10px 24px;
        font-size: 16px;
    }

}

/* ------ order ---------*/

   .Order {
       background-image: url("../img/bg/bg-wave-white.png");
        position: inherit;
        justify-content: center;
        justify-items: center;
        display: grid;
   }

   .topimg {

        color: rgb(255,0,0);

   }

   .linkicon {
       padding: 20px;

   }
   .linkicon a {
       padding: 20px;
       gap: 10px;

   }


