/* ریست اولیه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Tahoma, sans-serif;
  }

  body {
    line-height: 1.8;
    direction: rtl;
    background: #f9f9f9;
    color: #333;
  }

  /* هدر */
  header {
    background: #222;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .logo {
    font-size: 20px;
    font-weight: bold;
  }
  .nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
  }
  .nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }
  .nav-links a:hover {
    color: #ffcc00;
  }
  .menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 22px;
  }
  /* شماره تلفن در هدر */
  .header-phone {
    color: #fff;
    font-size: 14px;
  }
  .header-phone a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 5px;
  }
  .header-phone a:hover {
    color: #fff;
  }

  /* بنر Hero با تصویر preview.jpg */
  .hero {
    background: url("preview.jpg") no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
  }
  .hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* برای خوانایی متن */
  }
  .hero-content {
    position: relative;
    z-index: 1;
  }
  .hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
    animation: fadeInDown 1s;
  }
  .hero p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .btn {
    background: #ffcc00;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: #222;
    font-weight: bold;
    transition: background 0.3s;
  }
  .btn:hover {
    background: #fff;
  }

  /* خدمات */
  #services {
    padding: 60px 20px;
    text-align: center;
  }
  #services h2 {
    margin-bottom: 30px;
    font-size: 28px;
  }
  .service-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
  }
  .service {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  .service:hover {
    transform: translateY(-10px);
  }
  .service i {
    font-size: 40px;
    color: #ffcc00;
    margin-bottom: 10px;
  }

  /* درباره ما */
  #about {
    padding: 60px 20px;
    background: #eee;
    text-align: center;
  }

  /* تماس */
  #contact {
    padding: 60px 20px;
    text-align: center;
  }
  form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: auto;
  }
  input, textarea, button {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  button {
    background: #222;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
  }
  button:hover {
    background: #ffcc00;
    color: #222;
  }
  .contact-info {
    margin-top: 20px;
  }
  .contact-info p {
    margin: 8px 0;
  }

  /* دکمه واتساپ داخل بخش تماس */
  .whatsapp-btn {
    display: inline-block;
    margin-top: 15px;
    background: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
  }
  .whatsapp-btn i {
    margin-left: 8px;
  }
  .whatsapp-btn:hover {
    background: #128C7E;
  }

  /* دکمه واتساپ شناور */
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: #fff;
    font-size: 28px;
    padding: 12px 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: background 0.3s;
  }
  .whatsapp-float:hover {
    background: #128C7E;
  }

  /* فوتر */
  footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px;
  }

  /* ریسپانسیو */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      background: #333;
      position: absolute;
      top: 60px;
      right: 0;
      width: 200px;
      padding: 20px;
    }
    .nav-links.active {
      display: flex;
    }
    .menu-toggle {
      display: block;
    }
    .hero h1 {
      font-size: 28px;
    }
  }

  /* انیمیشن */
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
  }
