/* General */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #000, #111);
  color: silver;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  position: relative;
}

nav .logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
}

nav .logo img {
  margin-right: 10px;
}

nav .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: silver;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
  color: white;
  text-shadow: 0 0 5px #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.navbar-tag {
  color: silver;
  font-size: 100%;
  font-weight: 300;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .navbar-tag {
    letter-spacing: 0.5px;
    font-size: 50%;  /* smaller on mobile */
    font-weight: 300;
  }

}
.hamburger div {
  width: 25px;
  height: 3px;
  background: silver;
  transition: all 0.3s;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  color: silver;
}

/* Hero Section */
.hero-home, .hero-products {
  text-align: center;
  padding: 100px 20px;
  color: silver;
}

.hero-home h1, .hero-products h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-home p, .hero-products p {
  font-size: 20px;
  color: #ccc;
}

/* Products Grid */
.products-home, .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 40px;
}

.product-card {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 15px #fff;
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 18px;
  margin: 8px 0 5px;
}

.product-card p {
  color: #bbb;
  font-size: 14px;
}

.glow-button {
  display: inline-block;
  padding: 10px 18px;
  margin-top: 8px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  background: linear-gradient(45deg, #fff, #aaa);
  box-shadow: 0 0 8px #fff, 0 0 15px #aaa;
  transition: box-shadow 0.3s, transform 0.3s;
}

.glow-button:hover {
  box-shadow: 0 0 15px #fff, 0 0 25px #aaa;
  transform: translateY(-3px);
}

/* Product Detail */
.product-detail-container {
    display: flex;
    flex-direction: column; /* stack image(s) on top, info below */
    max-width: 600px;
    margin: auto;
    padding: 10px;
}

.product-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 8px;
}

.product-info-card {
    padding: 10px;
    text-align: center;
}

@media (min-width: 768px) {
    .product-detail-container {
        flex-direction: row; /* side-by-side on larger screens */
        gap: 20px;
    }

    .product-images {
        flex: 1;
    }

    .product-info-card {
        flex: 1;
        text-align: left;
    }
}


/* Cart */
.cart-container {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  background: #1a1a1a;
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px #fff;
}
.cart-item img {
  width: 80px;
  border-radius: 10px;
}
.cart-item-details {
  flex: 1;
  margin-left: 20px;
}
.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.cart-item-actions input {
  width: 60px;
  padding: 5px;
  border-radius: 5px;
  border: none;
  text-align: center;
}
.cart-item-actions a, .checkout-btn {
  text-decoration: none;
  background: #fff;
  color: black;
  padding: 8px 15px;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
}
.quantity-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.quantity-selector label {
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 16px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 2px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
    width: 120px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.quantity-input input[type="number"] {
    width: 50px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid silver;
    background: #111;
    color: silver;
    text-align: center;
}

.qty-btn {
    width: 50px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid silver;
    background: #111;
    color: silver;
    text-align: center;
}

.qty-btn:hover {
    background-color: #a8a4a4;
}

.qty-btn:active {
    background-color: #ffffff;
}
/* Responsive */
@media (max-width: 768px) {
  .hero-home h1, .hero-products h1 { font-size: 36px; }
  .hero-home p, .hero-products p { font-size: 16px; }
  .products-home, .products { gap: 20px; padding: 20px; }
  nav .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; right: 40px; background: #111; padding: 20px; border-radius: 10px; }
  nav .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .cart-item { flex-direction: column; align-items: flex-start; }
  .cart-item-actions { align-items: flex-start; margin-top: 10px; }
}
.products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px;
}

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    transition: transform 0.2s, box-shadow 0.3s, background-color 0.3s;
    min-height: 120px;

    /* Subtle default shadow for depth */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-row:hover {
    transform: scale(1.02);
    
    /* Glow effect */
    box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.6), 
                0 0 25px 4px rgba(255, 255, 255, 0.2);
    background-color: #2a2a2a; /* slightly lighter bg for hover */
}

.product-thumb img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.product-info {
    flex: 1; /* take all remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 15px;
}

.product-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.product-info .description {
    font-size: 14px;
    color: #ccc;
    margin: 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price p {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-align: right;
}

.product-price s {
    color: #888;
    margin-right: 5px;
}
.featured-title {
    font-size: 32px;
    color: silver;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 8px #fff;
    transition: text-shadow 0.3s, color 0.3s;
    cursor: default;
}

.featured-title:hover {
    color: #fff; /* optional: brightens text */
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #a0c4ff,
        0 0 50px #a0c4ff,
}
/* Fix glow-button size on phones */
@media (max-width: 600px) {
  .glow-button {
      width: auto !important;
      max-width: 200px;
      padding: 10px 14px;
      font-size: 16px;
      display: block;
      margin: 0 auto;
  }
}