@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: linear-gradient(to bottom, #e0eafc, #cfdef3);
    min-height: 100vh;
}
header {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 32px;
    margin: 0;
    font-weight: 600;
    background: linear-gradient(to right, #ff7eb3, #ff758c);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

header nav ul li a:hover {
    background: #ff758c;
}
.product-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px;
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 300px;
    margin: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
}

.product-card h3 {
    font-size: 22px;
    margin: 15px 0;
    color: #222;
}

.product-card p {
    margin: 10px 20px;
    line-height: 1.5;
    color: #555;
}

.product-card .price {
    font-size: 20px;
    color: #e74c3c;
    font-weight: bold;
}

.product-card button {
    display: block;
    width: 90%;
    margin: 15px auto;
    padding: 10px;
    background: #ff758c;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-card button:hover {
    background: #ff6a7c;
}
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    font-size: 14px;
}
.cart-section {
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th, .cart-table td {
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
}

.cart-table th {
    background: #f4f4f9;
    color: #333;
    font-weight: bold;
}

.cart-table td input {
    width: 60px;
    text-align: center;
}

.cart-summary {
    text-align: right;
    margin-top: 20px;
}

.cart-summary h3 {
    margin-bottom: 10px;
}

.checkout-btn {
    padding: 10px 20px;
    background: #ff758c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-btn:hover {
    background: #ff4b6e;
}
.checkout-section {
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #ff758c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #ff4b6e;
}
.customizations {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.customization-name {
    width: 200px;
    text-align: center;
    background: #ff758c;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
}

.customization-name:hover {
    background: #ff4b6e;
    transform: translateY(-5px);
}

.customization-name a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: block;
}

.customization-name img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.customization-name h3 {
    margin-top: 10px;
    font-size: 18px;
    color: white;
}
.customization-name img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.customization-name img:hover {
    transform: scale(1.05);
}
.track-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    color: white;
    background-color: #007BFF; /* أزرق */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.track-btn:hover {
    background-color: #0056b3; /* لون أزرق أغمق عند التمرير */
}
        /* تصميم الصفحة الرئيسية */
        .track-order-container {
            max-width: 600px;
            margin: 50px auto;
            text-align: center;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 10px;
            background-color: #f9f9f9;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .track-order-container h1 {
            font-size: 24px;
            margin-bottom: 20px;
        }

        .track-order-container input {
            width: 80%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .track-order-container button {
            padding: 10px 20px;
            background-color: #007BFF;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .track-order-container button:hover {
            background-color: #0056b3;
        }
    #paypal-button-container {
        display: block !important;
    }
</style>


        /* تصميم شريط الحالة */
        .status-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px 0;
            position: relative;
        }

        .status-bar::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 5%;
            right: 5%;
            height: 4px;
            background: #ddd;
            z-index: 0;
            transform: translateY(-50%);
        }

        .status-point {
            position: relative;
            width: 20px;
            height: 20px;
            background-color: #ddd;
            border-radius: 50%;
            z-index: 1;
        }

        .status-point.active {
            background-color: #000; /* أسود */
        }

        .status-point.processing {
            background-color: #007BFF; /* أزرق */
        }

        .status-point.completed {
            background-color: #28a745; /* أخضر */
        }

        .status-point span {
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 12px;
            color: #555;
        }

        .status-point.active span {
            color: #000;
        }

        .status-point.processing span {
            color: #007BFF;
        }

        .status-point.completed span {
            color: #28a745;
        }
button {
            background-color: #ff9900; /* لون الخلفية */
            color: #fff; /* لون النص */
            font-size: 1.2rem; /* حجم النص */
            padding: 10px 20px; /* الحواف الداخلية */
            border: none; /* إزالة الحدود */
            border-radius: 5px; /* زوايا مستديرة */
            cursor: pointer; /* تغيير المؤشر عند التمرير */
            transition: transform 0.2s, box-shadow 0.2s; /* تأثير الانتقال */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ظل خفيف */
        }

        /* عند التمرير على الزر */
        button:hover {
            background-color: #e68a00; /* لون مختلف عند التمرير */
            transform: translateY(-2px); /* تأثير الرفع */
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* تكبير الظل */
        }

        /* عند الضغط على الزر */
        button:active {
            transform: translateY(1px); /* خفض الزر قليلاً */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* تقليل الظل */
        }
  .progress-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 20px 0;
  }

  .step {
      text-align: center;
      width: 50%;
      position: relative;
  }

  .step-circle {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #ccc;
      margin: 0 auto;
      line-height: 30px;
      color: white;
      font-weight: bold;
  }

  .step.active .step-circle {
      background: #4caf50;
  }

  .step-line {
      position: absolute;
      height: 5px;
      width: 100%;
      top: 15px;
      left: 50%;
      background: #ccc;
      z-index: -1;
  }

  .step.active + .step .step-line {
      background: #4caf50;
  }

  .step-label {
      margin-top: 10px;
      font-size: 14px;
  }
 .progress-container {
            position: relative;
            width: 100%;
            height: 10px;
            background-color: #ddd;
            border-radius: 5px;
            margin: 20px 0;
        }

        .progress-bar {
            height: 100%;
            width: 0;
            background-color: #4caf50;
            border-radius: 5px;
            transition: width 0.5s ease;
        }

        .steps {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-size: 14px;
        }

        .step {
            text-align: center;
            color: #777;
        }

        .step.completed {
            color: #4caf50;
            font-weight: bold;
        }

<div class="progress-container">
  <div class="step active">
      <div class="step-circle">1</div>
      <div class="step-label">Order Sent</div>
      <div class="step-line"></div>
  </div>
  <div class="step">
      <div class="step-circle">2</div>
      <div class="step-label">Order Successfully Delivered</div>
  </div>
</div>

</head>
<body>
    <div class="track-order-container">
        <h1>Track Your Order</h1>
        <p>Enter your order number to check the status:</p>
        <input type="text" placeholder="Enter Order Number" id="order-number">
        <button onclick="trackOrder()">Track Order</button>

        <!-- شريط الحالة -->
        <div class="status-bar">
            <div class="status-point active">
                <span>Payment</span>
            </div>
            <div class="status-point processing">
                <span>Order Sent</span>
            </div>
            <div class="status-point completed">
                <span>Delivered</span>
            </div>
        </div>
    </div>

    <script>
        // Placeholder for tracking functionality
        function trackOrder() {
            const orderNumber = document.getElementById("order-number").value;
            if (orderNumber.trim() === "") {
                alert("Please enter a valid order number.");
                return;
            }
            alert(`Tracking order: ${orderNumber}`);
        }
    </script>
</body>
</html>




