/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #222;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

header h1 {
  font-size: 1.5rem;
}
h1 a {
  color: white;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #ffcc00;
}

nav a.active {
  color: #ffcc00;
}

/* Mobile Menu Button */
.menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

/* Products Section */
.products {
  padding: 2rem 1rem;
  text-align: center;
}

.products h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-item {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.pdf-btn {
  background: #ffcc00;
  color: #222;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}

.pdf-btn i {
  margin-left: 5px;
}

.pdf-btn:hover {
  background: #e6b800;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  nav ul {
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    max-height: 0;             /* collapsed */
    overflow: hidden;
    padding: 0;                /* no padding while hidden */
    border-top: 1px solid #444;
    z-index: 1000;
    transition: max-height 0.4s ease;
  }

  nav ul.show {
    max-height: 500px;         /* expanded */
    padding: 1rem 0;           /* padding visible only when expanded */
  }

  nav li {
    text-align: center;
    padding: 0.5rem 0;
  }
}
