/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
}

body {
  background-color: #121212;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background-color: #1f1f1f;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.logo h1 {
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #bbb;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #00bcd4;
  color: #121212;
}

/* Main content */
main {
  flex-grow: 1;
  padding: 30px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00bcd4;
}

p {
  margin-bottom: 15px;
  color: #ddd;
}

/* Products page */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.product-item {
  background-color: #222;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 188, 212, 0.4);
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  max-width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.product-item h3 {
  color: #00bcd4;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Contact info */
.contact-details p {
  margin-bottom: 12px;
  font-size: 1rem;
}

.contact-details a {
  color: #00bcd4;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #1f1f1f;
  padding: 15px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 700px) {
  nav ul {
    flex-direction: column;
    gap: 12px;
  }
  
  header {
    justify-content: center;
    gap: 20px;
  }
  
  main {
    padding: 20px 15px;
  }
  
  .product-item img {
    height: 120px;
  }
}
