/* General Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(10, 10, 10, 0.9);
  padding: 1rem 2rem;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffd700;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffd700;
}

/* Cases and Platelights Sections */
.cases-section,
.platelights-section {
  padding: 5rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.section-description {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.cases-container,
.platelights-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.case-card,
.platelight-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 1rem;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover,
.platelight-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.case-image,
.platelight-image {
  width: 100%;
  border-radius: 10px;
}

.case-title,
.platelight-title {
  font-size: 1.5rem;
  color: #ffd700;
  margin: 1rem 0;
}

.case-description,
.platelight-description {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.case-price,
.platelight-price {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.add-to-cart {
  background-color: #ffd700;
  color: #0a0a0a;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-to-cart:hover {
  background-color: #e6b800;
}

/* Shopping Cart */
.cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.cart-icon {
  background-color: #ffd700;
  color: #0a0a0a;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: red;
  color: #fff;
  border-radius: 50%;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
}

.cart-dropdown {
  display: none;
  position: absolute;
  bottom: 45px; /* Moved further down */
  right: -10px; /* Adjust to align properly */
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 1.5rem; /* Increased padding */
  width: 350px; /* Increased width */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
}

.cart:hover .cart-dropdown,
.cart-dropdown:hover {
  display: block;
  opacity: 1;
  visibility: visible;
}

.cart-dropdown h3 {
  color: #ffd700;
  margin-bottom: 1rem;
}

.cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: #2a2a2a;
  border-radius: 5px;
}

.cart-items li span {
  font-size: 1rem;
  color: #fff;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  background-color: #ffd700;
  color: #0a0a0a;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.quantity-btn:hover {
  background-color: #e6b800;
}

.remove-item {
  background-color: red;
  color: #fff;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.remove-item:hover {
  background-color: #cc0000;
}

.checkout-btn {
  background-color: #ffd700;
  color: #0a0a0a;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.checkout-btn:hover {
  background-color: #e6b800;
}

.checkout-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Final Checkout Page */
.finalcheckout-section {
  padding: 5rem 2rem;
  text-align: center;
}

.finalcheckout-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.order-summary,
.payment-details {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 1.5rem;
  width: 48%;
}

.order-summary h3,
.payment-details h3 {
  color: #ffd700;
  margin-bottom: 1rem;
}

.totals p {
  font-size: 1.1rem;
  color: #ccc;
  margin: 0.5rem 0;
}

#payment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#payment-form label {
  font-size: 1rem;
  color: #ccc;
}

#payment-form input {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #0a0a0a;
  color: #fff;
}

/* Confirmation Page */
.confirmation-section {
  padding: 5rem 2rem;
  text-align: center;
}

.confirmation-section h2 {
  color: #ffd700;
  margin-bottom: 1rem;
}

.confirmation-section p {
  font-size: 1.2rem;
  color: #ccc;
}

.home-btn {
  background-color: #ffd700;
  color: #0a0a0a;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.home-btn:hover {
  background-color: #e6b800;
}