/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #fff;
  background-color: #000;
  line-height: 1.5;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #222;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

header nav ul {
  list-style: none;
  display: flex;
}

header nav ul li {
  margin: 0 1rem;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

header .icons {
  display: flex;
  align-items: center;
}

header .icons a {
  color: #fff;
  margin-left: 1rem;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: url('background.jpg') no-repeat center center/cover;
  height: 90vh;
}

.hero-image {
  margin-right: 2rem;
  flex: 1;
}

.hero-image img {
  max-width: 60%;
  height: auto;
  border-radius: 10px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* About Section */
#about {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
}

.about-box {
  background-color: #444;
  padding: 2rem;
  width: 80%;
  max-width: 800px;
  text-align: center;
  border-radius: 8px;
}

.about-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-box p {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Products Section */
#products {
  padding: 2rem;
  background-color: #222;
  text-align: center;
}

#products h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.product-item {
  width: 30%;
  text-align: center;
  background-color: #444;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  max-width: 100%;
  border-radius: 8px;
}

.product-item h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: #f5a623;
}

/* Contact Section */
#contact {
  padding: 2rem;
  background-color: #333;
  color: #fff;
  text-align: center;
}

#contact h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.contact-info > div {
  background-color: #444;
  padding: 1.5rem;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-info p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.contact-info a {
  color: #f5a623;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer Section */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer p {
  font-size: 1rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    margin: 0 auto 1.5rem; /* Centers the image on smaller screens */
  }

  .hero-content {
    max-width: 100%;
  }

  .product-item {
    width: 100%; /* Stacks product items vertically on smaller screens */
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-info > div {
    width: 80%; /* Adjusts the width of contact info sections for smaller screens */
  }
}
