/* Base styles */
body {
  font-family: Menco, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #c7bed3;
}

/* Top Menu Styling */
.top-menu {
  background-color: #333;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.top-menu a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  width: auto;
}

.top-menu a:hover {
  background-color: #ddd;
  color: black;
}

.top-menu a.active {
  background-color: #4CAF50;
  color: white;
}

.menu-logo {
  height: 40px;
  margin-right: 10px;
  max-width: 100%;
}

/* Section styling */
section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.news-post {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-header {
  font-weight: bold;
  color: #333;
}

.news-date {
  font-size: 0.9em;
  color: #666;
}

.news-content {
  margin-top: 5px;
}

.news-image {
  max-width: 90%;
  height: auto;
  display: block;
  margin-top: 10px;
}

.main-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 24px;
  font-weight: normal;
  text-align: center;
  color: #555;
}

.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.banner-image,
.image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

.footer {
  background-color: #333;
  color: #aaa;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.contact-form {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: #333;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  font-family: Menco, sans-serif;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  font-family: Menco, sans-serif;
  font-weight: bold;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #45a049;
}

.product-section {
  padding: 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

.product-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  object-fit: fill;
}

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

.product-description {
  font-size: 14px;
  color: #555;
  margin: 0 10px 10px;
}

.product-price {
  font-size: 16px;
  font-weight: bold;
  color: #4CAF50;
  margin-bottom: 15px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .top-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-menu a {
    width: 100%;
    text-align: left;
    padding: 10px 15px;
  }

  .menu-logo {
    margin-bottom: 10px;
  }

  .main-title {
    font-size: 32px;
  }

  .subtitle {
    font-size: 18px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .product-image {
    height: 150px;
  }
}
