/* Global Styles for Navigation, Header, and Footer */

body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Navigation & Header */
.nav-bar {
  background-color: orange;
  /* Full-width orange background */
}

.nav-container {
  margin: 0 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo-wrapper .logo {
  color: black;
  margin: 0;
  font-size: 2.5rem;
  font-weight: bold;
}

.nav-wrapper .nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-wrapper .nav-list-item {
  margin-left: 25px;
}

/* All nav links have a consistent style */
.nav-wrapper .nav-list-item a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-wrapper .nav-list-item a:hover {
  color: #f0f0f0;
}

/* Override any active styling so that active links remain white */
.active {
  color: rgb(80, 78, 78) !important;
}

/* Specific style for the Cart item */
.nav-wrapper .nav-list-item:last-child a {
  color: #333;
}

.hamburger-menu {
  display: none;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
  /* Adjust nav-container to take up more width on smaller screens */
  .nav-container {
    margin: 0 10%;
    padding: 10px;
  }

  .logo-wrapper .logo {
    font-size: 1.8rem; /* Smaller logo size */
  }

  .nav-wrapper .nav-list {
    flex-direction: column;
    align-items: center; /* Stack the links vertically */
    display: none; /* Hide menu by default */
  }

  .nav-wrapper .nav-list-item {
    margin-left: 0;
    margin-bottom: 10px; /* Spacing between links */
  }

  .nav-wrapper .nav-list-item a {
    font-size: 1.5rem; /* Larger text for easier tapping */
  }

  /* Show the menu when it has the "active" class */
  .nav-wrapper .nav-list.active {
    display: flex;
  }

  /* Style adjustments for the Cart icon */
  .nav-wrapper .nav-list-item:last-child a {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Hamburger menu styles */
  .hamburger-menu {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    color: white;
  }

  /* Hide hamburger menu on larger screens (desktop) */
  @media (min-width: 769px) {
    .hamburger-menu {
      display: none;
    }
  }
}

/* For very small screens (e.g., mobile phones in portrait mode) */
@media (max-width: 480px) {
  .nav-container {
    margin: 0 5%;
  }

  .logo-wrapper .logo {
    font-size: 1.5rem; /* Even smaller logo for small phones */
  }

  .nav-wrapper .nav-list-item a {
    font-size: 1.3rem; /* Slightly smaller text */
  }
}

/* Footer Styles */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #f4f4f4;
  padding: 30px;
}

footer>div {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-lhs p,
.footer-rhs p {
  margin: 8px 0;
}

.footer-centre {
  text-align: center;
}

.footer-centre p {
  margin-bottom: 15px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-img {
  width: 50px;
  transition: transform 0.3s ease;
}

.social-img:hover {
  transform: scale(1.1);
}
