/* Demo Template Enhancements - Professional Polish */

/* Improved card layouts and grid */
.studio-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.studio-service-list-item {
  margin-bottom: 1.25rem;
}

/* Better typography */
.service-card .card-title {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: #212529;
}

.service-card .card-text {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Price styling */
.service-card .service-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--studio-primary, #4285f4);
}

/* Improved spacing */
.service-card .card-body {
  padding: 1.25rem;
}

/* Better button styling */
.btn-time-slot {
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-time-slot:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Catalog template enhancements */
body.template-catalog .service-card {
  border-radius: 0.75rem;
  overflow: hidden;
}

body.template-catalog .studio-service-card-image {
  height: 14rem;
}

/* Storefront template enhancements */
body.template-storefront .service-card {
  border-radius: 0.65rem;
}

body.template-storefront .studio-service-card-image {
  height: 13rem;
}

/* Guided template enhancements */
body.template-guided .service-card {
  border-radius: 0.6rem;
}

/* Improved hover states for all templates */
.service-card {
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover::before {
  opacity: 1;
}

/* Better image aspect ratios */
.studio-service-card-image {
  object-position: center;
  background: #f8f9fa;
}

/* Improved form inputs */
#booking-content input[type="text"],
#booking-content input[type="email"],
#booking-content input[type="tel"],
#booking-content textarea,
#booking-content select {
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#booking-content input:focus,
#booking-content textarea:focus,
#booking-content select:focus {
  border-color: var(--studio-primary, #4285f4);
  box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.15);
}

/* Section spacing */
#booking-content section {
  margin-bottom: 2rem;
}

#booking-content section:last-child {
  margin-bottom: 0;
}

/* Better card shadows */
#booking-content .card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

#booking-content .card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Responsive improvements */
@media (max-width: 768px) {
  .studio-service-card-image {
    height: 11rem;
  }
  
  .service-card .card-body {
    padding: 1rem;
  }
  
  .studio-service-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium feel for pricing */
.service-duration {
  font-size: 0.85rem;
  color: #868e96;
  font-weight: 500;
}

/* Better promotion badges */
.promotion-badge {
  background: linear-gradient(135deg, #fbbc05 0%, #f9a825 100%);
  color: #212529;
  padding: 0.35rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(251, 188, 5, 0.3);
}

/* Loading states */
.service-card.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success states */
.booking-success {
  animation: successPulse 0.5s ease-out;
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Demo brand marks — cleaner crop, softer frame */
.landing-demo-page .studio-brand-mark {
  border-width: 2px;
  box-shadow:
    0 0.4rem 1.25rem rgba(32, 33, 36, 0.18),
    0 0 0 1px rgba(32, 33, 36, 0.05);
}

/* Demo hero title + supporting copy */
.landing-demo-page #business-name {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}
.landing-demo-page .storefront-location,
.landing-demo-page .catalog-address,
.landing-demo-page #business-type,
.landing-demo-page .studio-hero-meta {
  font-weight: 500;
  letter-spacing: 0.01em;
}
.landing-demo-page.template-storefront .storefront-tags {
  margin-top: 0.15rem;
}
.landing-demo-page.template-storefront .storefront-tag {
  background: color-mix(in srgb, var(--studio-primary, #4285f4) 10%, #f8fafc);
  color: color-mix(in srgb, var(--studio-primary, #4285f4) 72%, #334155);
}
