/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../image/energy-efficient-spare-part-saudi-arabia.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Navigation Styles */
nav {
  background-color: #fff;
  padding: 0.5em 1em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  height: 80px;
}

nav img {
  width: 200px;
  height: auto;
  margin-right: 50px;
  transition: transform 0.3s ease;
}

nav img:hover {
  transform: scale(1.1);
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
}

nav li {
  margin: 0 1em;
  display: inline;
}

nav a {
  font-size: 18px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  padding: 0.5em 1em;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #333;
}


/* Product Gallery Styles */
.product-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 20px;
  margin-top: 80px;
}

.product-frame {
  width: calc(33.33% - 20px);
  border: 1px solid #ddd;
  padding: 10px;
  background-color: #f7f7f7;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.product-frame img {
  width: 100%;
  height: auto;
}

/* Responsive Media Queries */
@media only screen and (max-width: 768px) {
  .product-gallery {
    flex-direction: column;
  }
  .product-frame {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Contact Info Styles */
.contact-info {
  background-color: #f7f7f7;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  width: 80%;
  text-align: center;
}

.contact-info ul {
  list-style-type: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Copyright Styles */
.copyright {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #fff;
  padding: 10px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #666;
}