/* =========================================
   Dar Al Oud | دار العود
   FINAL STYLE (Images Fixed)
   ========================================= */

:root {
  --bg-dark: #0b0b0b;
  --bg-card: #151515;
  --gold: #c9a24d;
  --text-light: #f2f2f2;
  --text-muted: #b5b5b5;
  --whatsapp: #25D366;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cairo", "Tajawal", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== HEADER ========== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.9);
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.brand h1 {
  color: var(--gold);
  font-size: 1.6rem;
}

.brand span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 25px;
}

nav a:hover {
  color: var(--gold);
}

/* ========== HERO ========== */
.hero {
  height: 100vh;
  padding-top: 120px;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)),
    url("../images/oud.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h2 {
  font-size: 3.2rem;
  color: var(--gold);
}

.hero p {
  max-width: 700px;
  margin: 20px 0 35px;
  font-size: 1.1rem;
}

/* ========== BUTTON ========== */
.btn-main {
  background: var(--gold);
  color: #000;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.btn-main:hover {
  background: var(--whatsapp);
  color: #fff;
}

/* ========== SECTIONS ========== */
section {
  padding: 90px 60px;
  text-align: center;
}

section h2 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 30px;
}

/* ========== PRODUCTS (FIXED) ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.product-card {
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden; /* 🔥 مهم */
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

/* 🔥 حل مشكلة الصور */
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain; /* 🔥 ده الحل */
  background: #000;
  padding: 15px;
}

/* محتوى الكارت */
.product-card h3 {
  color: var(--gold);
  margin-top: 15px;
}

.product-card span {
  display: block;
  color: var(--text-muted);
  margin: 8px 0 15px;
}

.product-card button {
  background: var(--gold);
  border: none;
  color: #000;
  padding: 10px 22px;
  border-radius: 25px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: 0.3s;
}

.product-card button:hover {
  background: var(--whatsapp);
  color: #fff;
}

/* ========== WHY US ========== */
.why-us ul {
  list-style: none;
  max-width: 600px;
  margin: auto;
}

.why-us li {
  margin: 12px 0;
}

/* ========== CONTACT ========== */
.contact p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

/* ========== FOOTER ========== */
footer {
  background: #000;
  padding: 30px;
  text-align: center;
  font-size: 0.9rem;
}

#versionBox {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ========== WHATSAPP FIXED ========== */
.whatsapp-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--whatsapp);
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px 20px;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    margin: 0 10px;
  }

  section {
    padding: 70px 20px;
  }

  .hero h2 {
    font-size: 2.4rem;
  }
}