* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8f8f8;
  color: #333;
}
html{
  scroll-behavior: smooth;
}
/* Navbar */
header {
  background: #000;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
    
  z-index: 1;  /* 👈 make sure it's less than nav */
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slides.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
  background: orange;
}

/* Products */
.products {
  padding: 3rem 2rem;
  background: #fff;
}

.products h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #fafafa;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #000;
  color: white;
  font-size: 0.9rem;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  color: white;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD700;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    display: none;
    padding: 1rem;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* Responsive changes */
@media (max-width: 768px) {
  nav {
    flex: 1;
  }

  nav ul {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    display: none;
    padding: 1rem;
    z-index: 999;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  color: white;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6600;
}

.hamburger {
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  display: none;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  height: 100%;
  width: 250px;
  background-color: #fff;
  padding: 2rem 1rem;
  transition: left 0.3s ease;
  z-index: 1001;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sidebar a {
  text-decoration: none;
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
}

.close-btn {
  font-size: 1.5rem;
  text-align: right;
  cursor: pointer;
  margin-bottom: 1rem;
}

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

/* Responsive only */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #000;
  color: white;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.hamburger {
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 250px;
    background: #111;
    padding-top: 3rem;
    transition: left 0.3s ease;
    z-index: 1001;
  }

  .sidebar ul {
    list-style: none;
    padding: 0;
  }

  .sidebar li {
    padding: 1rem 2rem;
  }

  .sidebar a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    display: block;
  }

  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: white;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
  }
}
.categories-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
  
}
.categories-section a{
  text-decoration: none;
}
.categories-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.categories-section .categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.category-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  width: 180px;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.category-card p {
  margin-top: 10px;
  font-weight: 600;
  color: #333;
}
.product-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card h3 {
  font-size: 1.1rem;
  margin-top: 12px;
  color: #222;
}

.product-card .price {
  color: #ff0000;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 8px 0;
}

.cart-btn {
  margin-top: 10px;
  padding: 10px 18px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cart-btn:hover {
  background-color: #030303;
}
.footer {
  background-color: #1c1c1c;
  color: #ccc;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 220px;
  margin: 20px;
}

.footer-section h3, .footer-section h2 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-section p {
  line-height: 1.5;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ff6600;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s;
  color: white;
}

.social-icons a:hover {
  transform: scale(1.1);
  opacity: 1;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 14px;
  color: #888;
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    margin: 20px 0;
  }
}
.product-card {
 
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 20px;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.buy-now-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background: black;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  
}

.slide-links {
  position: absolute;
  bottom: 10%;
  left: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.slide-btn {
  padding: 8px 14px;
  background: #000;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.4s ease;
  pointer-events: auto;
}

.slide-btn.left.active {
  transform: translateX(10px);
  opacity: 1;
}

.slide-btn.right.active {
  transform: translateX(-10px);
  opacity: 1;
}
.specs-section {
  padding: 50px 20px;
  background: #f8f8f8;
  text-align: center;
}

.specs-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #222;
}

.variation-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.variation-card {
  background: white;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 250px;
  transition: transform 0.3s ease;
}

.variation-card:hover {
  transform: translateY(-5px);
}

.variation-card h3 {
  margin-bottom: 10px;
  color: #333;
}

.variation-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.variation-card ul li {
  padding: 5px 0;
  font-weight: 500;
  color: #555;
}
.product-variations {
  padding: 30px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.product-variations h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.table-wrapper {
  overflow-x: auto;
}

.variation-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  min-width: 600px;
}

.variation-table thead {
  background-color: #333;
  color: #fff;
}

.variation-table th,
.variation-table td {
  padding: 12px 15px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 1rem;
}

.variation-table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .variation-table {
    font-size: 0.9rem;
  }

  .variation-table th,
  .variation-table td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .variation-table {
    min-width: 100%;
    font-size: 0.8rem;
  }
}
.icon-btn {
  padding: 8px;
  background: #eee;
  border-radius: 8px;
  transition: background 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.icon-btn i {
  font-size: 18px;
  color: #333;
}

.icon-btn:hover {
  background: #ddd;
}
