/* General */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #0c0c0c;
    color: white;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
    box-sizing: border-box;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span {
    color: #ff4500;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #ddd;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff4500;
}

/* Hero Section Fix */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background-color: #000; /* إضافة خلفية احتياطية */
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* رجعناها 1 باش تبان */
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    z-index: 2; /* الكتبة خاصها تكون فوق التصويرة */
}

.hero-content h1 {
    font-size: 70px;
    margin: 0;
    color: #ff4500;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
}

.hero-content p {
    font-size: 18px;
    letter-spacing: 5px;
    margin-bottom: 30px;
    color: #ccc;
}

.buy-btn {
    padding: 18px 50px;
    background: #ff4500;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

.buy-btn:hover {
    transform: scale(1.1);
    background: white;
    color: #ff4500;
}

/* Products Section */
.products {
    padding: 100px 8%;
    text-align: center;
}

.products h2 {
    font-size: 40px;
    margin-bottom: 50px;
    position: relative;
}

.products h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #ff4500;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.product-card {
    background: #151515;
    padding: 25px;
    border-radius: 30px;
    width: 350px;
    border: 1px solid #222;
    transition: 0.5s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: #ff4500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.product-card img {
    width: 100%;
    height: 350px; /* زدت الطول باش يبانو الصور مقادين */
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 22px;
    margin: 15px 0;
}

.price {
    font-size: 28px;
    color: #ff4500;
    font-weight: 800;
    margin-bottom: 20px;
}

.add-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid #ff4500;
    color: white;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.add-btn:hover {
    background: #ff4500;
}

/* Order Form Section */
.order-section {
    padding: 100px 8%;
    background: #080808;
    text-align: center;
}

.order-section h2 { font-size: 36px; margin-bottom: 10px; }
.form-sub { color: #ff4500; font-weight: bold; margin-bottom: 40px; }

#purchaseForm {
    max-width: 500px;
    margin: 0 auto;
    background: #111;
    padding: 40px;
    border-radius: 25px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#purchaseForm input {
    padding: 15px;
    background: #000;
    border: 1px solid #333;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    transition: 0.3s;
}

#purchaseForm input:focus {
    border-color: #ff4500;
    outline: none;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

/* Footer */
footer {
    padding: 50px;
    background: #000;
    color: #444;
    text-align: center;
    border-top: 1px solid #111;
}