/* Explore Scene Cards */
#exploreSceneCards {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 60px 20px;
  color: #333;
  z-index: 1;
  overflow: hidden; /* Ensures ::before stays within bounds */
}

#exploreSceneCards::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/images/splash-light-rays.png') no-repeat center center/cover;
  filter: blur(2px);
  transform: scale(1.05); /* Prevents edge clipping */
  z-index: -1;
  opacity: 0.7;
}
#exploreSceneCard {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 60px 20px;
  color: #333;
  z-index: 1;
  overflow: hidden; /* Ensures ::before stays within bounds */
}

#exploreSceneCard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: blur(2px);
  transform: scale(1.05); /* Prevents edge clipping */
  z-index: -1;
  opacity: 0.7;
}
.modal-project-cards {
  width: 300px;
  border-radius: 16px;
  overflow: hidden;
  
  /* Frosted glass blur */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  /* Translucent white background for glass */
  background: rgba(255, 255, 255, 0.1);
  
  /* Semi-transparent border for glass edge */
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  
  /* Subtle shadow for depth */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  
  /* Smooth transition */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  position: relative;
  
  /* Optional: add a subtle animated highlight to mimic liquid reflection */
}

.modal-project-cards::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 60%,
    rgba(255, 255, 255, 0.15) 100%
  );
  transform: rotate(25deg);
  animation: shimmer 7s infinite;
  pointer-events: none;
  border-radius: 16px;
  mix-blend-mode: screen;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

.project-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  width: 300px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 3s ease, box-shadow 3s ease;
  position: relative;
}

/* Free = Green glow */
.project-card.free {
  box-shadow: 5px 3px 17px rgba(0, 255, 0, 0.69), 12px -2px 17px rgba(0, 0, 0, 0.2);
}

/* Paid = Gold glow */
.project-card.paid {
  box-shadow: 10px 4px 21px rgba(255, 215, 0, 0.99), 4px 12px 16px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.card-btn {
  background-color: rgb(223 234 252 / 45%);
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.card-btn:hover {
  background-color: rgba(37, 99, 235, 0.95);
}
.card-content .remove-item {
  align-self: flex-start;
  margin-top: auto;
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.card-content .remove-item:hover {
  background-color: #c0392b;
}
/* Style container for total + button */
.cart-summary {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  border-top: 2px solid #ddd;
}

/* Total styling */
#cart-total {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e7c103;
}

/* Stylish checkout button */
#checkoutBtn {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#checkoutBtn:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
}
/* Base layout for cart items (flex row) */
.card-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
}

/* Responsive: Switch to column layout on smaller screens */
@media (max-width: 768px) {
  .card-grid {
    flex-direction: column;
    align-items: center;
  }
}

