/* ============================================================
   Luxe & Co. Salon — Custom styles layered on top of Tailwind CDN
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

/* Subtle fade-in for sections */
.fade-in {
  animation: fadeIn 0.6s ease-out both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Elegant hero gradient overlay */
.hero-overlay {
  background: linear-gradient(180deg, rgba(42,38,34,0.55) 0%, rgba(42,38,34,0.75) 100%);
}

/* Custom scrollbar for modals / lists */
.thin-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.thin-scroll::-webkit-scrollbar-thumb { background: #C9A962; border-radius: 999px; }
.thin-scroll::-webkit-scrollbar-track { background: transparent; }

/* Step indicator connector line */
.step-connector {
  height: 2px;
  background: #E4D9C6;
}
.step-connector.active {
  background: #C9A962;
}

/* Time slot buttons */
.slot-btn {
  transition: all 0.15s ease;
}
.slot-btn:not(:disabled):hover {
  transform: translateY(-1px);
}

/* Card hover lift */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(42,38,34,0.15);
}

/* Loading spinner */
.spinner {
  border: 3px solid #E4D9C6;
  border-top-color: #C9A962;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Calendar day cell */
.cal-day {
  min-height: 90px;
}
@media (max-width: 640px) {
  .cal-day { min-height: 60px; }
}

/* Toast notification */
.toast {
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

/* Line clamp utility (fallback if not available via Tailwind CDN) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
