/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
h1 {
  font-size: 2.5rem;
  text-align: center;
  padding: 30px;
  background-color: #0077cc;
  color: white;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Navigation */
#navigation {
  text-align: center;
  margin-bottom: 30px;
}

#navigation ul {
  list-style: none;
  display: inline-flex;
  gap: 20px;
  padding: 10px 0;
}

#navigation ul li a {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}

/* Hero Section */
#hero img {
  width: 100%;
  height: auto;
  max-height: 40vh;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

#hero h3 {
  text-align: center;
  margin: 10px 0 20px;
}

/* Section Headings */
h2 {
  text-align: center;
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #1a1a1a;
}

/* Featured Products */
#featured-products-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.products {
  width: calc(33.333% - 14px);
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.products img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* Category and Deals Side-by-side */

#categories-deals-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

#categories,
#deals {
  width: 50%;
  flex: 1;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Contact Section */
#contact {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

/* Footer */
#footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* Common Elements */
p,
ul,
li {
  list-style-type: none;
  margin-bottom: 10px;
}

strong {
  color: #000;
}

/* Responsive Layout */
@media (max-width: 768px) {
  #featured-products-container {
    flex-direction: column;
  }

  .products {
    width: 100%;
  }

  #categories-deals-wrapper {
    flex-direction: column;
  }

  #categories,
  #deals {
    width: 100%;
  }
}
