
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #fff;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    position: relative;
    transition: background-color 0.3s ease;
  }
  
  .logo img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(130, 241, 230, 0.549);
    transition: all 0.3s ease;
    object-fit: contain;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-right: 200px;
  }
  
  .logo img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(67, 72, 21, 0.521);
    border-color: #223523;
  }
  
  .navbar-list {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .navbar-item a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .navbar-item a:hover {
    color: #ffeb3b;
  }
  
  .navbar-item a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background-color: #ffeb3b;
    transition: width 0.3s ease;
  }
  
  .navbar-item a:hover::after {
    width: 100%;
  }
  
  
  .d-flex {
    display: flex;
    align-items: center;
    margin-left: 20px;
    position: relative; /* اضافه شد */
  }
  
  .form-control {
    position: relative;
    padding: 10px 40px 10px 15px;
    border: 2px solid #444;
    border-radius: 25px;
    background-color: #2b2b2b;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 200px;
  }
  
  .form-control:focus {
    outline: none;
    border-color: #ffeb3b;
    box-shadow: 0 0 8px rgba(221, 207, 76, 0.563);
    width: 250px;
  }
  
  .form-control::placeholder {
    color: #aaa;
  }
  
  .btn-outline-success {
    display: none; 
  }
  
  .d-flex::after {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 20px; 
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .form-control:focus + .btn-outline-success + ::after,
  .form-control:focus ~ ::after {
    color: #ffeb3b;
  }
  
  @media (max-width: 768px) {
    .d-flex {
      margin-left: 10px;
    }
    .form-control {
      width: 150px;
    }
    .form-control:focus {
      width: 180px;
    }
  }
  
  
  
  
  .footer {
    background-color: #1e1e1e;
    color: #ccc;
    font-family: Arial, sans-serif;
    padding: 2rem;
    margin-top: 100px;
  }
  
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
  }
  
  .footer-logo img {
    width: 120px;
    margin-bottom: 1rem;
  }
  
  .footer-logo p {
    font-size: 0.9rem;
    color: #aaa;
  }
  
  .footer-middle {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .footer-column h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-column li {
    margin-bottom: 0.5rem;
  }
  
  .footer-column a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
  }
  
  .footer-column a:hover {
    color: #f5a623;
  }
  
  .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #2b2b2b;
    border-radius: 50%;
    text-align: center;
    margin-right: 0.5rem;
    color: #ccc;
    transition: background-color 0.3s ease;
  }
  
  .social-icons a:hover {
    background-color: #f5a623;
    color: #fff;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    color: #777;
    font-size: 0.9rem;
  }
  
  .footer-links a {
    color: #ccc;
    margin-left: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #f5a623;
  }
  
  
  
  
  
  /* Modern Product List Styles */
  .product-list-container {
      max-width: 1200px;
      margin: 3rem auto;
      padding: 0 20px;
  }
  
  .product-item {
      display: flex;
      background-color: #1e1e1e;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
      margin-bottom: 2rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      direction: ltr;
  }
  
  .product-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(255, 235, 59, 0.3), 0 0 0 2px #ffeb3b;
  }
  
  .product-image {
      width: 300px;
      height: 300px;
      flex-shrink: 0;
      overflow: hidden;
      border-radius: 15px 0 0 15px;
      background-color: #fff;
  }
  
  .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
  }
  
  .product-item:hover .product-image img {
      transform: scale(1.1);
  }
  
  .product-details {
      padding: 2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: #fff;
  }
  
  .product-title {
      font-size: 1.8rem;
      margin-bottom: 1rem;
      color: #ffeb3b;
      transition: color 0.3s ease;
  }
  
  .product-item:hover .product-title {
      color: #fdd835;
  }
  
  .product-description {
      font-size: 1rem;
      color: #ccc;
      line-height: 1.6;
      margin-bottom: 1.5rem;
      display: -webkit-line-clamp 4;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow : hidden;
  }
  
  .product-meta {
      display: flex;
      align-items: center;
      margin-bottom: 1.5rem;
  }
  
  .price {
      font-size: 1.5rem;
      color: #ffeb3b;
      font-weight: bold;
  }
  
  .old-price {
      text-decoration: line-through;
      color: #777;
      margin-left: 1rem;
      font-size: 1rem;
  }
  
  .read-more-btn {
      display: inline-block;
      padding: 0.8rem 1.5rem;
      background-color: #ffeb3b;
      color: #121212;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      text-align: center;
      transition: all 0.3s ease;
      width: fit-content;
  }
  
  .read-more-btn:hover {
      background-color: #fbc02d;
      transform: translateY(-2px);
      box-shadow: 0 5px 10px rgba(255, 235, 59, 0.4);
  }
  
  @media (max-width: 992px) {
      .product-item {
          flex-direction: column;
          align-items: center;
      }
  
      .product-image {
          width: 100%;
          height: 250px;
          border-radius: 15px 15px 0 0;
      }
  
      .product-details {
          text-align: center;
          padding: 1.5rem;
      }
  
      .product-meta {
          justify-content: center;
      }
  }

  