body {
  margin: 0;
  background-color: #f5f5f5;
  background-image: url("fabricbg.jpg");
  transform: scale(0.67);
  transform-origin: top center;
  width: 150%;
  overflow-x: hidden;
  position: relative;
  left: -25%;
  flex: 1;
}

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  font-family: "Hammersmith One", sans-serif;
  font-size: 10pt;
}

.logo {
  font-size: 30px;
  font-weight: bold;
  font-family: "UnifrakturCook", cursive;
}

.logo a:hover {
  color: black;
  text-decoration: none;
}
.logo a {
  text-decoration: none;
  color: black;
}

.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background-color: white;
}

.hero h2 {
  font-size: 36px;
  font-family: "Hammersmith One", sans-serif;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
  color: #333;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 5px;
  padding: 0;
  position: relative;
}

.nav-links li {
  position: relative;
  display: inline-block;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 13pt;
  transition: color 0.3s ease;
  padding: 10px;
  display: block;
}

.nav-links a:hover {
  color: #ffc641;
}

.banner-img,
.home-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.dropdown {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  top: 100%;
  left: 0;
  min-width: 150px;
  z-index: 1000;
}

.dropdown a {
  padding: 10px;
  display: block;
}

.nav-links li:hover .dropdown {
  display: block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 90%;
  margin: auto;
}

.gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
}

.footer {
  display: flex;
  justify-content: space-between;
  background-color: black;
  color: white;
  padding: 100px;
  font-size: 12pt;
  flex-wrap: wrap;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer div {
  flex: 1;
  min-width: 150px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin: 5px 0;
  list-style: none;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer li:hover {
  text-decoration: underline;
}

.contact-section {
  max-width: 600px;
  margin: 100px auto;
  background: white;
  padding: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.contact-section h2 {
  margin-bottom: 20px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.contact-section form {
  display: flex;
  flex-direction: column;
}

.contact-section input,
.contact-section textarea {
  margin-bottom: 15px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.contact-section button {
  padding: 10px;
  background-color: black;
  color: white;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-section button:hover {
  background-color: #333;
}

.about-section {
  max-width: 800px;
  margin: 100px auto;
  background: white;
  padding: 60px 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.about-section h2 {
  font-family: "Hammersmith One", sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 40px;
}

.product {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.product img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product h3 {
  font-size: 18px;
  margin: 10px 0 5px;
}

.product p {
  font-size: 14px;
  color: #666;
}

.product button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
}

.product button:hover {
  background-color: #333;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 90%;
  margin: auto;
}

.gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 40px 20px;
  }

  .footer div {
    margin-bottom: 20px;
  }

  .Banner img {
    width: 100%;
    height: auto;
    display: block;
  }

  .logo {
    font-size: 24px;
  }

  .title {
    font-size: 20pt;
  }
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 10px;
  }

  .logo {
    font-size: 24px;
    text-align: center;
  }

  .hero {
    text-align: center;
    padding: 40px 20px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .product-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 30px;
  }

  .product {
    width: 90%;
    max-width: 400px;
    text-align: center;
  }

  .product img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .product button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .footer div {
    margin-bottom: 30px;
  }
}
