html,
body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Top menu */
.header {
  background: linear-gradient(to right, #ff7f50, #ff9900);
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* for absolute dropdown positioning */
}

.header a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

/* Logo */
.logo img {
  max-height: 90px; /* adjust as needed */
  max-width: 100%;
  width: auto;
  display: block;
}

/* Navigation */
.nav-links {
  display: flex; /* desktop layout */
  gap: 20px;
}

/* Hamburger button hidden by default */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Mobile navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%; /* below header */
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #ff7f50, #ff9900);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 18px;
    display: block;
  }

  .nav-links.active {
    max-height: 500px; /* adjust depending on number of links */
  }
}

/* Grid for cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card img {
  max-width: 100%;
  border-radius: 4px;
  max-height: 200px;
}

/* Footer */
footer {
  background-color: #333;
  color: #ccc;
  text-align: center;
  line-height: 25px;
  padding: 30px 0;
}

/* Product page container */
.container {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

/* Carousel images */
.carousel img {
  max-width: 120px;
  margin-bottom: 10px;
  border-radius: 6px;
}

/* Download button */
.download-button {
  background: #ff7f50;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Contact form styling */
.container form {
  max-width: 600px;
  margin-top: 20px;
}

.container form input,
.container form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.container form button {
  background: #ff7f50;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.container form button:hover {
  background: #ff9900;
}

/* Disabled button style */
a.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: default;
  text-decoration: none;
  background-color: #aaa;
  color: #eee;
}

.legallinks {
  text-decoration: none;
  color: grey;
  display: inline-block;
  padding: 5px;
  font-size: 12px;
}

.legallinks a:visited {
  color: grey;
}

.product-status {
  background-color: deepskyblue;
  color: white;
  padding: 6px;
  border-radius: 4px;
  margin-bottom: 10px;
  display: inline-block;
}

.legaltext {
  text-align: justify;
  font-size: 12px;
}

.legaltext h2 {
  font-size: 14px;
}

.card {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card.disabled {
  cursor: default;
  opacity: 0.6;
}
