* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}


/*NAVIGATION STYLE*/
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    padding: 5px;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.1;
    font-weight: bold;
    color: #333;
}

.logo img {
    height: 30px;
    margin-right: 5px;
}


/*NAV LINKS*/
ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;   /* ← IMPORTANT */
}

ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

#nav-menu li a {
  border-bottom: 2px solid transparent;
  color: #333;
  padding-bottom: 5px;
}

#nav-menu li a.active {
  color: #ff6600;        /* highlight color */
  border-bottom: 2px solid #ff6600;
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
}

.user {
    display: flex;
    align-items: center;
    font-size: 1.1;
    font-weight: bold;
    color: #333;
}

.user img {
    height: 20px;
    margin-right: 5px;
    padding-bottom: 5px;
    display: block;
}

.user {
  position: relative;
  cursor: pointer;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

.user-dropdown.show {
  display: block;
}

/* MOBILE NAV */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;   
    background-image: linear-gradient(to bottom, #fffefd, #ffffff50);
    box-shadow: 0 0px 15px rgba(31, 31, 31, 0.5);
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    gap: 30px;
    transition: right 0.3s ease;
    z-index: 2000;
  }

  nav ul.active {
    right: 0;
  }
}

/*CONTENTS*/
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.featured-products {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.featured-products h2 {
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ffc107;
  color: #000;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
}

.product-card h3 {
  font-size: 16px;
  margin: 15px 10px 5px;
}

.price {
  font-size: 14px;
  margin-bottom: 15px;
}

.product-card button {
  margin-bottom: 20px;
  padding: 10px 20px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.product-card button:hover {
  background: #333;
}

/*FOOTER STYLE*/
footer {
    background: #1f1f1f;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    text-align: left;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1 1 auto;
    max-width: 250px;
}

.footer-bottom {
    text-align: left;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 14px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section p {
    color: #9c9a9a;
}

.footer-icons {
    margin-top: 2px;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    padding-bottom: 30px;
    margin-left: 0%;
    margin-right: 0%;
}

.footer-icons img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.footer-icons a img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-icons a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px #ffffff);
}

.footer-bottom {
    text-align: center;
    font-size: 0.7em;
    background-color: #1b1b1b;
}
