/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; }

/* 🔹 Top Header */
.top-header {
  background: #333;
  color: #fff;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.contact-info span {
  margin-right: 20px;
  font-size: 14px;
}
.contact-info i { margin-right: 6px; }
.social-icons a {
  color: #fff;
  margin-left: 12px;
  font-size: 14px;
  transition: 0.3s;
}
.social-icons a:hover { color: #ff9800; }

@media (max-width: 768px) {
  .top-header { flex-direction: column; text-align: center; }
  .contact-info { margin-bottom: 8px; }
}

/* 🔹 Header */
header {
  background: #f4f4f4;
  display: flex;
  justify-content: space-between; /* logo left, menu right */
  align-items: center;
  padding: 15px 20px;
  position: relative;
}
header .logo { font-size: 22px; font-weight: bold; color: #333; }

/* Desktop menu */
nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
}
nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}
nav ul li a:hover { color: #ff9800; }

/* Login button */
.login-btn {
  background: #ff9800;
  color: #fff !important;
  padding: 6px 15px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  display: inline-block;
}
.login-btn:hover { background: #e68900; color: #fff !important; }

/* 🔹 Mobile menu */
.hamburger { display: none; font-size: 28px; cursor: pointer; }

@media (max-width: 768px) {
  .hamburger { display: block; }

  nav {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: 4px 0 10px rgba(0,0,0,0.2);
    flex-direction: column;
    padding-top: 60px;
    transition: 0.3s;
    z-index: 101;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    text-align: left;
  }

  nav ul li { width: 100%; }
  nav ul li a {
    font-size: 18px;
    color: #333;
    display: block;
  }

  nav ul li a.login-btn {
    width: calc(100% - 40px);
    padding: 10px 0;
    margin: 0;
    border-radius: 5px;
    text-align: center;
  }

  nav.show { left: 0; }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 100;
  }
  .overlay.active { display: block; }
}

nav ul li a:hover { color: #ff9800; transform: translateX(5px); transition: 0.3s; }

/* 🔹 Hero */
.hero {
  background: url('images/bg.webp') center/cover no-repeat;
  color: #fff;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h1 { font-size: 40px; margin-bottom: 10px; }
.hero p { font-size: 18px; margin-bottom: 20px; }
.btn {
  background: #ff9800;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}
.btn:hover { background: #e68900; }

/* 🔹 Products */
.products { padding: 40px 20px; text-align: center; }
.products h2 { margin-bottom: 20px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  transition: 0.3s;
}
.product-card:hover { box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.product-card img { width: 100%; border-radius: 5px; margin-bottom: 10px; }
.product-card h3 { font-size: 18px; margin-bottom: 5px; }
.product-card p { font-size: 16px; color: #ff9800; margin-bottom: 10px; }

/* 🔹 Footer */
footer {
  background: #333;
  color: #fff;
  padding: 40px 20px 20px 20px;
  font-size: 14px;
  text-align: left;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.footer-column {
  flex: 1 1 220px;
}
.footer-column h3 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #ff9800;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}
.footer-column ul li a:hover { color: #ff9800; }
.footer-column p { margin-bottom: 8px; }
.footer-bottom {
  padding-top: 15px;
  border-top: 1px solid #444;
  margin-top: 20px;
  font-size: 13px;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-container { flex-direction: column; }
  .footer-column { flex: 1 1 100%; }
}

/* Latest Update (footer with thumbnails & prices) */
.latest-update {
  list-style: none;
  padding: 0;
  margin: 0;
}
.latest-update li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.latest-update img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}
.latest-update .product-info {
  display: flex;
  flex-direction: column;
}
.latest-update a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.latest-update a:hover { color: #ff9800; }
.latest-update .price {
  color: #ff9800;
  font-weight: 600;
  font-size: 13px;
}

