* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f8fafc;
  color: #111827;

  padding-top: 10px; /* adjust if navbar height changes */
}

/* NAVBAR */
/* NAVBAR BASE */
.navbar {
  position: fixed; /* FIXES NAVBAR */
  top: 0;
  left: 0;
  width: 100%;

  background: #000000; /* keep your black theme */
  padding: 18px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  z-index: 1000; /* stays above everything */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
body {
  padding-top: 76px; /* adjust if navbar height changes */
}

/* NAV LINKS */
.navbar nav a {
  color: rgba(255, 255, 255, 0.85);
  margin-left: 28px;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

/* MODERN HOVER EFFECT */
.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.navbar nav a:hover {
  color: #ffffff;
}

.navbar nav a:hover::after {
  width: 100%;
}

/* PRODUCTS */
.products h1 {
  padding: 30px 20px;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
}

.price {
  font-weight: bold;
  margin: 10px 0;
}

.product-card button {
  margin-top: 10px;
  padding: 10px;
  background: #111827;
  color: white;
  border: none;
  cursor: pointer;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #111827;
  color: white;
}

/* Toast container */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  z-index: 9999;
}

/* Individual toast */
.toast {
  background: #111827;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.toast a {
  color: #38bdf8;
  margin-left: 5px;
  text-decoration: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* COLLECTION SECTION */
.collections {
  padding: 15px 40px;
  background: #ffffff;
  text-align: center;
}

/* .collections-h1 {
    padding-top = 15px;
} */
/* COLLECTIONS */
.collections {
  padding: 80px 40px;
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

/* GRID */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* CARD */
.collection-card {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

/* IMAGE */
.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* OVERLAY */
.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.15));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* TEXT */
.collection-overlay h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 8px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.collection-overlay span {
  color: #e5e7eb;
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

/* HOVER EFFECT */
.collection-card:hover img {
  transform: scale(1.08);
}

.collection-card:hover .collection-overlay {
  opacity: 1;
}

.collection-card:hover h3 {
  transform: translateY(0);
}

.collection-card:hover span {
  opacity: 1;
}

/* COMING SOON EFFECT */
.coming-soon .collection-overlay span {
  color: #f87171;
  font-weight: bold;
}

/* ARROWS */
.arrow {
  background: #111827;
  color: white;
  border: none;
  font-size: 22px;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.arrow.left {
  margin-right: 10px;
}

.arrow.right {
  margin-left: 10px;
}

.arrow:hover {
  background: #374151;
}
/* COLLECTION BUTTON */
.collection-btn {
  margin: 15px auto 20px;
  padding: 12px 28px;
  background: #111827;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  overflow: hidden;
}

/* Hover effect */
.collection-btn:hover {
  background: #ffffff;
  color: #111827;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Subtle shine effect */
.collection-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.collection-btn:hover::after {
  left: 100%;
}

/* COLLECTION CARD FIXES */
.collection-card {
  position: relative;
}

/* Always visible category button */
.collection-btn {
  position: absolute;
  bottom: 16px;
  left: 33%;
  /* transform: translateX(-50%); */
  z-index: 5;
}

/* Overlay hover content */
.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.15));
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Explore / Coming Soon */
.explore-btn {
  color: white;
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

/* Hover effects */
.collection-card:hover .collection-overlay {
  opacity: 1;
}

.collection-card:hover .explore-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Coming soon color */
.coming-soon .explore-btn {
  color: #f87171;
  font-weight: 600;
}

/* LOGO – PERMANENT SCALE */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px; /* requested size */
  width: auto;
  object-fit: contain;

  transform: scale(1.5); /* ALWAYS scaled */
  transform-origin: left center;

  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* FEATURED PRODUCT IMAGE EFFECTS */
.img-1,
.img-2,
.img-3 {
  width: 100%;
  transition: transform 0.6s ease, filter 0.6s ease;
  position: relative;
}

/* Parent card must hide overflow */
.featured-product,
.product-card {
  overflow: hidden;
  border-radius: 16px;
}

/* HOVER EFFECT */
.featured-product:hover img,
.product-card:hover img {
  transform: scale(1.0299);
  filter: brightness(0.9);
}

/* OPTIONAL: subtle luxury overlay */
.featured-product::after,
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.featured-product:hover::after,
.product-card:hover::after {
  opacity: 1;
}

/* ADD TO CART – PREMIUM MODERN BUTTON */
.add-to-cart {
  margin-top: 16px;
  padding: 12px 22px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* HOVER – LUXURY FEEL */
.add-to-cart:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ACTIVE (CLICK FEEDBACK) */
.add-to-cart:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
/* THEME TOGGLE BUTTON */
.theme-toggle {
  background: transparent;
  border: 1px solid white;
  border-radius: 40%;
  font-size: 15px;
  cursor: pointer;
  color: white;
  margin-right: 2px;
  padding: 6px 10px;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: white;
  color: black;
}

/* LIGHT THEME (default) */
body {
  background: #f8fafc;
  color: #111827;
}
body .navbar {
  background: #000;
}
body footer {
  background: #111827;
  color: white;
}

/* DARK THEME */
body.dark {
  background: #111827;
  color: #f8fafc;
}

body.dark .navbar,
body.dark footer {
  background: #0d131c;
  color: #f8fafc;
}

/* Dark backgrounds for cards and sections */
body.dark .products,
body.dark .collections,
body.dark .contact-section,
body.dark .product-card,
body.dark .cart-item,
/* CONTACT PAGE DARK THEME */
body.dark .contact-card {
  background: #111827; /* dark card background */
  color: #f8fafc; /* light text */
}

/* Buttons inside contact-card */
body.dark .contact-card .contact-form button {
  background: #f8fafc; /* white button */
  color: #111827; /* dark text */
}

/* Hover effect for buttons */
body.dark .contact-card .contact-form button:hover {
  background: #4b5563; /* subtle gray hover */
  color: #f8fafc;
}

/* Info boxes */
body.dark .contact-card .info-box {
  background: #1f2937; /* dark gray box */
}
body.dark .contact-card .info-box a,
body.dark .contact-card .info-box span {
  color: #f8fafc;
}

body.dark .cart-sidebar {
  background: #ffffff;
  color: #000000;
}

/* Dark buttons */
body.dark .add-to-cart,
body.dark .collection-btn,
body.dark .buy-now,
body.dark .quantity-controls button,
body.dark .continue-shopping,
body.dark .contact-form button {
  /* for all buttons*/
  background: #ffffff;
  color: #000000;
}

/* Hover effects for dark mode buttons */
body.dark .add-to-cart:hover,
body.dark .collection-btn:hover,
body.dark .buy-now:hover,
body.dark .quantity-controls button:hover,
body.dark .continue-shopping:hover,
body.dark .contact-form button:hover {
  background: #4b5563;
  color: #f8fafc;
}
/* CART PAGE DARK THEME */
body.dark .cart-list,
body.dark .cart-item,
body.dark .cart-sidebar,
body.dark .cart-summary {
  background: #111827; /* dark background for items and sidebar */
  color: #f8fafc; /* light text */
}

/* Buttons in cart */
body.dark .cart-item .buy-now,
body.dark .quantity-controls button,
body.dark .cart-sidebar .continue-shopping {
  background: #f8fafc; /* white buttons */
  color: #111827; /* dark text */
  border: 1px solid #111827;
}

/* Hover effect for cart buttons */
body.dark .cart-item .buy-now:hover,
body.dark .quantity-controls button:hover,
body.dark .cart-sidebar .continue-shopping:hover {
  background: #4b5563; /* subtle gray hover */
  color: #f8fafc; /* light text */
}

/* Remove button in dark mode */
body.dark .cart-item .remove {
  background: #f8fafc;
  color: #111827;
  border: 1px solid #111827;
}

body.dark .cart-item .remove:hover {
  background: #4b5563;
  color: #f8fafc;
}
