/* ==========================================================================
   PRATEEK JEWELLERS - CONCIERGE SERVICE CARDS
   Faithful implementation of 21st.dev / shadcn ServiceCard component
   ========================================================================== */

.concierge-services-section {
  position: relative;
  width: 100%;
  padding: 5.5rem 1.5rem 6.5rem;
  background: radial-gradient(circle at 50% 15%, rgba(20, 24, 30, 0.96) 0%, rgba(7, 9, 12, 1) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  overflow: hidden;
  z-index: 20;
}

/* Ambient luxury background glow */
.concierge-services-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.concierge-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Section Header */
.concierge-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.concierge-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Cinzel', serif, Georgia;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 0.85rem;
}

.concierge-pretitle-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37);
}
.concierge-pretitle-line.right {
  background: linear-gradient(90deg, #d4af37, transparent);
}

.concierge-title {
  font-family: 'Cinzel', serif, Georgia;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f7f5ed;
  margin: 0 0 0.8rem;
  line-height: 1.25;
}

.concierge-subtitle {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  color: #9aa4b2;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Layout */
.concierge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

/* Base Service Card (Following provided CVA + Framer Motion specification) */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 260px;
  padding: 2.25rem 2rem;
  overflow: hidden;
  border-radius: 1.25rem;
  text-decoration: none;
  background-clip: padding-box;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Card Hover Scale */
.service-card:hover {
  transform: scale(1.025) translateY(-4px);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.2);
}

/* Spotlight Follow Layer */
.service-card-spotlight {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  mix-blend-mode: screen;
}

/* Content Container */
.service-card-body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 65%;
}

.service-card-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.95);
  margin-bottom: 0.6rem;
}

.service-card-title {
  font-family: 'Cinzel', serif, Georgia;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0 0 0.8rem;
}

.service-card-desc {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  color: #b8c2cc;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

/* CTA & Animated Arrow */
.service-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e6ca65;
  transition: color 0.25s ease;
}

.service-card:hover .service-card-cta {
  color: #ffffff;
}

.service-card-arrow-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-arrow-wrap {
  transform: translateX(6px);
  animation: serviceArrowPulse 1.2s infinite ease-in-out alternate;
}

@keyframes serviceArrowPulse {
  0% { transform: translateX(5px); }
  100% { transform: translateX(9px); }
}

/* 3D Decorative Image (Following motion.img: absolute -right-8 -bottom-8 w-40 h-40) */
.service-card-art {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  width: 12rem;
  height: 12rem;
  object-fit: contain;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
  transform: scale(1) rotate(0deg) translate(0, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              filter 0.35s ease;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
  z-index: 5;
}

/* Hover Animation on 3D Art: scale 1.1, rotate 3deg, x 10px */
.service-card:hover .service-card-art {
  transform: scale(1.12) rotate(3deg) translate(8px, -4px);
  opacity: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85));
}

/* Staff member art customization */
.service-card-art--staff {
  width: 13.25rem;
  height: 13.25rem;
  right: -0.5rem;
  bottom: -0.25rem;
  object-position: center top;
}
.service-card:hover .service-card-art--staff {
  transform: scale(1.08) rotate(1.5deg) translate(4px, -4px);
}

/* --------------------------------------------------------------------------
   THEME VARIANTS (Tailored for Prateek Jewellers High Jewellery Collection)
   -------------------------------------------------------------------------- */

/* Variant 1: Imperial Emerald (VISIT OUR STORE) */
.service-card--emerald {
  background: linear-gradient(145deg, rgba(7, 34, 25, 0.95) 0%, rgba(13, 20, 18, 0.98) 100%);
  border-color: rgba(46, 139, 87, 0.35);
}
.service-card--emerald:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(46, 139, 87, 0.3);
}
.service-card--emerald::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  background: radial-gradient(circle at 100% 100%, rgba(46, 139, 87, 0.15), transparent 70%);
  pointer-events: none;
}

/* Variant 2: Bordeaux Velvet / Royal Ruby (BOOK AN APPOINTMENT) */
.service-card--wine {
  background: linear-gradient(145deg, rgba(46, 12, 24, 0.95) 0%, rgba(20, 10, 16, 0.98) 100%);
  border-color: rgba(186, 45, 85, 0.35);
}
.service-card--wine:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(186, 45, 85, 0.3);
}
.service-card--wine::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  background: radial-gradient(circle at 100% 100%, rgba(186, 45, 85, 0.15), transparent 70%);
  pointer-events: none;
}

/* Variant 3: Sovereign 24K Gold & Obsidian (TALK TO AN EXPERT) */
.service-card--gold {
  background: linear-gradient(145deg, rgba(34, 28, 18, 0.95) 0%, rgba(16, 16, 20, 0.98) 100%);
  border-color: rgba(212, 175, 55, 0.35);
}
.service-card--gold:hover {
  border-color: rgba(230, 202, 101, 0.7);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.3);
}
.service-card--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  background: radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.15), transparent 70%);
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .concierge-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  .service-card-body {
    max-width: 65%;
  }
}

@media (max-width: 768px) {
  .concierge-services-section {
    padding: 3.5rem 1rem 4.5rem;
  }
  .concierge-header {
    margin-bottom: 2.5rem;
  }
  .concierge-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .service-card {
    min-height: 220px;
    padding: 1.75rem 1.5rem;
  }
  .service-card-art {
    width: 9.5rem;
    height: 9.5rem;
    right: -1rem;
    bottom: -1rem;
  }
  .service-card-body {
    max-width: 60%;
  }
}
