* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Times New Roman', Times, serif, sans-serif;
  background-image: url("images/background2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Container */
.container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 20px;
}
/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
  background-color: #021023;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  width: 100%;
  z-index: 1000;
}
/* Logo */
.logo img {
  height: 50px;
  width: auto;
}
/* Menu Toggle Button */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
/* Navigation */
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: #736f7e;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

nav a:hover {
  color: #e4da2b;
}

/* Text Styles */
h1 {
  color: white;
  text-align: center;
  font-size: 2.5rem;
}

h2 {
  color: rgb(118, 202, 244);
  font-size: 2rem;
}

p,
ul {
  color: white;
  font-size: 1rem;
  line-height: 1.6;
}
/* Video */
#video_paragraph {
  color: rgb(130, 205, 255);
  font-size: 1.3rem;
  text-align: center;
}
#about_video {
  width: 90%;
  max-width: 800px;
  height: auto;
  max-height: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 40px auto;
  border: 5px solid #a7b3b9;
}
/*dark/light btn*/
.mode-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(45deg, #021023, #0c1b61); /* خلفية غامقة */
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Cart Icon */
.cart-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  font-size: 36px;
  text-decoration: none;
  z-index: 999;
}
/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
  padding: 0 20px;
}
/* Footer */
footer {
  position: relative;
  width: 100%;
  background-color: var(--background-color, #021023);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  margin-top: 40px;
}
.footer_top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 10px;
}
footer a {
  color: #736f7e;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}
footer a:hover {
  color: #e4da2b;
}
footer p {
  color: #736f7e;
  font-size: 16px;
  text-align: center;
  padding-bottom: 10px;
}
/* Dark/Light Mode */
body[data-theme="light"] {
  background-image: url("images/background\ light.png");
}

body[data-theme="light"] h1,
body[data-theme="light"] p,
body[data-theme="light"] ul {
  color: black;
}

body[data-theme="light"] header {
  background-color: #f1f1f1;
}

body[data-theme="light"] footer {
  background-color: #f1f1f1;
}
body[data-theme="light"] nav.active {
  background-color: #f1f1f1;
}
body[data-theme="light"] .mode-btn {
  background: linear-gradient(45deg, #ddd, #fff); /* خلفية فاتحة */
  color: #000; 
  border: 1px solid #999;
}
/* Media Queries */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #021023;
    margin-top: 10px;
    padding: 10px 0;
  }
  nav.active {
    display: flex;
  }
  nav a {
    padding: 10px 20px;
    border-top: 1px solid #444;
  }
  header {
    align-items: flex-start;
  }
  .mode-btn {
    width: 100%;
    text-align: center;
  }
}


