* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #111111;
  color: white;
}

/* ================= NAVBAR ================= */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-size: 20px;
  font-weight: 600;
}

/* Nav Links */
nav {
  display: flex;
  gap: 40px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: .3s;
}

nav a:hover {
  color: #d4af37;
}

/* Icons */
.nav-icons {
  display: flex;
  gap: 20px;

}

.nav-icons img {
  width: 20px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}


/* ================= MOBILE ================= */

@media (max-width:768px) {

  header {
    padding: 20px;
  }

  /* Show toggle */
  .menu-toggle {
    display: block;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    right: 10px;
  }

  /* Hide normal nav */
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    background: #111;
    text-align: center;
    padding: 20px 0;
  }

  nav a {
    display: block;
    margin: 15px 0;
  }

  nav.active {
    display: flex;
  }

  .nav-icons {
    display: flex;
  }

}

/* shop-section */



.shop-section {
  padding: 120px 80px 60px;
  display: flex;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.shop-header h1 {
  font-size: 40px;
}

.shop-header p {
  color: #aaa;
  margin-top: 8px;
}

.sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort h2 {
  margin: 0;
}

.sort label {
  font-weight: 500;
}

.sort select {
  background: #111;
  color: white;
  border: 1px solid #444;
  padding: 8px 20px;
  cursor: pointer;
  outline: none;
  transition: 0.3s;
}

.sort select:hover {
  border-color: #d4af37;
}

.sort select:focus {
  border-color: #d4af37;
}

hr {
  border: 1px solid #222;
  margin: 20px 0;
}

.shop-container {
  display: flex;
  gap: 60px;
}

/* SIDEBAR */

.sidebar {
  width: 250px;
}

.sideHeading {
  color: #d4af37;
}

.filter-box {
  margin-bottom: 40px;
}

.filter-box h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.filter-box label {
  display: block;
  margin-bottom: 10px;
  color: #ccc;
  cursor: pointer;
}

.price-bar {
  height: 8px;
  background: #333;
  border-radius: 20px;
  margin: 15px 0;
}

.price-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #aaa;
}

/* cards */
/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD DEFAULT BLACK */
.card {
  background: #0f0f0f;
  border-radius: 20px;
  padding: 20px;
  transition: 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

/* DARK GOLD HOVER */
.card:hover {
  background: #D4AF3726;
  transform: translateY(-6px);
}

/* IMAGE */
.image-box {
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hover icons - hidden by default */
.hover-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 15px;
  opacity: 0;
  transition: 0.3s;
}

/* Icons size and cursor */
.hover-icons img {
  width: 35px;
  height: 35px;
  cursor: pointer;
  transition: transform 0.3s;
}

.hover-icons img:hover {
  transform: scale(1.2);
}

/* Show on image hover */
.image-box:hover .hover-icons {
  opacity: 1;
}

.image-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: 0.4s ease;
}

/* slight zoom */
.card:hover img {
  transform: scale(1.05);
}

/* BADGES */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
}

.sale {
  background: #e63946;
  color: #fff;
}

.new {
  background: #d4af37;
  color: #000;
}

/* CONTENT */
.brand {
  font-size: 13px;
  color: #aaa;
  display: block;
}

.title {
  font-size: 18px;
  margin: 6px 0 12px;
  font-weight: 600;
  color: #fff;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  color: #d4af37;
  font-weight: 600;
}

.rating {
  color: #5e5c5c;
  font-size: 14px;
}



/* PAGINATION */

.pagination {
  margin-top: 60px;
  text-align: center;
  justify-content: center;
}

.pagination span {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #555;
  border-radius: 50%;
  margin: 0 8px;
  cursor: pointer;
}

.pagination .active {
  background: #c9a227;
  border: none;
  color: #000;
}

/*  FOOTER SECTION */

.footer {
  background-color: black;
  color: #ccc;
  padding: 60px 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-contact span a{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-size: 15px;
  transition: 0.3s ease;
}

.footer-contact span a img{
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Hover Effect */
.footer-contact span a:hover{
  transform: translateY(-2px);
}

.footer-col {
  flex: 1 1 220px;
}

.footer-col h3 {
  color: #d4af37;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {

  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-col ul li:hover {
  color: #d4af37;
}


.footer-about {
  line-height: 1.6;
  margin-bottom: 20px;
}
.social-icons {
  display: flex;
  gap: 15px;
}
.social-icons a {
  display: inline-block;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.newsletter input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  outline: none;
  border-radius: 5px;
}

.newsletter button {
  width: 100%;
  padding: 10px;
  background: #d4af37;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.newsletter button:hover {
  background: #b9962f;
}

.footer-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  border-top: 1px solid #333;
  padding: 20px 0;
  font-size: 14px;
}

.footer-contact icon {
  color: #b48f1f;
}

.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: #d4af37;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  padding-top: 15px;
  font-size: 14px;
}

.footer-bottom div span {
  margin-left: 20px;
  cursor: pointer;
}

.footer-bottom div span:hover {
  color: #d4af37;
}

/* RESPONSIVE DESIGN */

/* Tablet View (iPad / Smaller Laptops) - Max Width 1024px */
@media (max-width: 1024px) {
  .nav-icons {
    display: none;
  }

  .shop-container {
    gap: 30px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .sidebar {
    width: 220px;
  }

  /* HEADER */
  header {
    display: flex;
    padding: 15px 20px;
    text-align: center;
    gap: 5px;
  }

  nav a {
    margin-left: 15px;
    font-size: 14px;
  }

  .nav-icons {
    justify-content: center;
  }
}

/* Mobile View (Phones) - Max Width 768px */
@media (max-width: 768px) {

  .product-grid {
    grid-template-columns: 1fr;
  }

  .card {
    width: 100%;
  }

  .image-box img {
    width: 100%;
    height: auto;
  }

  header {
    display: flex;
    padding: 15px 20px;
    text-align: center;
    gap: 10px;
  }

  nav a {
    margin-left: 15px;
    font-size: 14px;
  }

  .nav-icons {
    justify-content: center;
  }

  .shop-section {
    padding: 120px 20px;
  }

  .shop-container {
    flex-direction: column;
    position: relative;
  }


  .shop-header h1 {
    font-size: 27px;
  }

  .shop-header p {
    font-size: 9px;
    color: #aaa;
  }

  .shop-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 15px;
  }
  
  .shop-header-top {
    margin: auto;
  }

  .sort {
    flex-direction: column;
    margin: auto;
  }
}

/* Toggle button hidden on desktop */
.sidebar-toggle {
  display: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 20px;
}

/* Tablet / small screens */
@media (max-width: 1024px) {
  .sidebar {
    position: fixed;
    /* overlay on top of content */
    top: 0;
    left: -260px;
    /* hide completely */
    width: 250px;
    height: 100%;
    background: #111;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .sidebar.active {
    left: 0;
    /* slide in fully */
  }

  .sidebar-toggle {
    display: inline-block;
    /* show button */
    position: relative;

  }
}

/* Mobile screens (≤768px) */
@media (max-width: 768px) {
  .sidebar {
    width: 80%;
    /* almost full screen */
    left: -80%;
    /* hidden completely */
  }

  .sidebar.active {
    left: 0;
    /* slide in fully */
  }
}