/* ============================================
   PREMIUM SEARCH BAR (POOJA SEARCH)
   ============================================ */

.pooja-search-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 50px auto;
  max-width: 600px;
  width: 100%;
  padding: 0 20px;
}

.pooja-search-container {
  position: relative;
  width: 100%;
  background: rgba(74, 14, 14, 0.6); /* Dark Maroon Glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 160, 23, 0.3); /* Subtle Golden Border */
  border-radius: 50px;
  padding: 6px;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(212, 160, 23, 0.05);
}

.pooja-search-container:hover {
  border-color: rgba(212, 160, 23, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 160, 23, 0.15);
  transform: translateY(-2px);
}

.pooja-search-container:focus-within {
  border-color: var(--gold);
  background: rgba(74, 14, 14, 0.8);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 160, 23, 0.3);
  transform: translateY(-2px);
}

.pooja-search-container .search-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-left: 20px;
  opacity: 0.8;
  filter: drop-shadow(0 0 5px rgba(212, 160, 23, 0.4));
}

.pooja-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  padding: 14px 20px;
  letter-spacing: 0.5px;
}

.pooja-search-input::placeholder {
  color: rgba(255, 236, 179, 0.5); /* Muted gold/light text */
  font-family: var(--font-english-heading);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* Clear Button */
.search-clear-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  margin-right: 15px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.search-clear-btn.visible {
  opacity: 0.8;
  visibility: visible;
}

.search-clear-btn:hover {
  opacity: 1;
  background: rgba(212, 160, 23, 0.15);
}

/* No Results Message */
.no-results-message {
  text-align: center;
  padding: 40px 20px;
  background: rgba(74, 14, 14, 0.3);
  border: 1px solid rgba(212, 160, 23, 0.1);
  border-radius: 20px;
  margin: 0 auto 50px auto;
  max-width: 500px;
  animation: fadeIn 0.5s ease forwards;
}

.no-results-message .no-results-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
  opacity: 0.8;
  filter: drop-shadow(0 0 10px rgba(212, 160, 23, 0.3));
}

.no-results-message .no-results-text {
  font-family: var(--font-hindi);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.no-results-message .no-results-english {
  font-family: var(--font-english-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Filtering Animations for Service Cards */
.service-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              opacity 0.4s ease, 
              box-shadow 0.4s ease, 
              border-color 0.4s ease;
}

.service-card.search-hidden {
  display: none !important;
}

.service-card.search-fade-out {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.service-card.search-fade-in {
  animation: searchScaleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes searchScaleIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pooja-search-wrapper {
    margin-bottom: 40px;
    padding: 0 15px;
  }
  .pooja-search-input {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .pooja-search-container .search-icon {
    font-size: 1.1rem;
    margin-left: 15px;
  }
}
