/* 🌸 إعدادات عامة */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

:root {
  --blue-main: #3a7bd5;
  --blue-light: #e8f3ff;
  --blue-dark: #1a3c6e;
  --white: #ffffff;
  --gray: #f6f8fb;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius: 14px;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--gray);
  color: var(--blue-dark);
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* 🌟 Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  padding: 12px 40px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--blue-main);
  object-fit: cover;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue-dark);
}

.logo-sub {
  font-size: 0.9rem;
  color: var(--blue-main);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: var(--blue-dark);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--blue-main);
}

/* 💎 أزرار */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}

.btn.primary {
  background: var(--blue-main);
  color: white;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: #2d6cc7;
  transform: translateY(-2px);
}

/* 🩵 أقسام عامة */
section {
  padding: 60px 20px;
}

/* 💡 Hero */
.hero-home {
  background: linear-gradient(180deg, var(--blue-light), var(--white));
  text-align: center;
  padding: 80px 20px;
  border-bottom: 2px solid var(--blue-main);
}

.hero-home h1 {
  font-size: 2rem;
  color: var(--blue-dark);
  margin-top: 20px;
}

.hero-home p {
  color: #57738a;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 10px auto 0;
}

/* 💎 مميزات */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  background: var(--white);
}

.feature {
  background: var(--blue-light);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-6px);
}

.feature h3 {
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.feature p {
  color: #555;
}

/* 🩵 Footer */
footer {
  background: var(--blue-dark);
  color: white;
  text-align: center;
  padding: 14px;
  font-size: 0.9rem;
}
/* زر السلة */
.cart-btn {
  background: white;
  color: #0088ff;
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  margin: 15px;
}
.cart-btn:hover {
  background: #e0f4ff;
}

/* السلة الجانبية */
#cartPanel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100%;
  background: white;
  box-shadow: -5px 0 15px rgba(0,0,0,0.15);
  padding: 20px;
  overflow-y: auto;
  transition: 0.4s;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#cartPanel.open {
  right: 0;
}

#cartPanel input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 100%;
  font-size: 14px;
}

.confirm-btn {
  background: #00a2ff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}
.confirm-btn:hover {
  background: #007ccc;
}
