/**
 * BookingPro - Commercial Service Booking Stylesheet
 * Responsive, Modern UI with Bootstrap 5 & Custom Micro-interactions
 */

:root {
  --bk-primary: #0284c7;
  --bk-primary-dark: #0369a1;
  --bk-primary-light: #e0f2fe;
  --bk-secondary: #0f172a;
  --bk-accent: #10b981;
  --bk-accent-light: #d1fae5;
  --bk-bg-subtle: #f8fafc;
  --bk-text: #1e293b;
  --bk-text-muted: #64748b;
  --bk-border: #e2e8f0;
  --bk-card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --bk-card-shadow-hover: 0 12px 30px -4px rgba(15, 23, 42, 0.14);
  --bk-radius: 14px;
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--bk-text);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ================== NAVBAR ================== */
.bk-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bk-border);
  transition: all 0.3s ease;
  padding: 0.85rem 0;
}

.bk-brand-logo {
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--bk-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bk-brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bk-primary), #38bdf8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.bk-brand-logo span strong {
  color: var(--bk-primary);
}

.bk-nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bk-text);
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.bk-nav-link:hover, .bk-nav-link.active {
  color: var(--bk-primary) !important;
  background: var(--bk-primary-light);
}

.bk-btn-book {
  background: linear-gradient(135deg, var(--bk-primary), #0ea5e9);
  color: #fff !important;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.bk-btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  color: #fff;
}

/* ================== HERO BANNER ================== */
.bk-hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--bk-border);
  overflow: hidden;
}

.bk-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(2, 132, 199, 0.12);
  color: var(--bk-primary-dark);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.bk-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--bk-secondary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.bk-hero-title span.highlight {
  background: linear-gradient(135deg, #0284c7, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bk-hero-desc {
  font-size: 1.15rem;
  color: var(--bk-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

.bk-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.bk-hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bk-text);
}

.bk-hero-feature-item i {
  color: var(--bk-accent);
}

/* ================== FAST BOOKING WIDGET (ON HERO) ================== */
.bk-quick-card {
  background: #ffffff;
  border-radius: var(--bk-radius);
  padding: 2rem;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--bk-border);
  position: relative;
}

.bk-quick-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bk-secondary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ================== SECTION HEADER ================== */
.bk-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.bk-section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bk-primary);
  margin-bottom: 0.5rem;
}

.bk-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--bk-secondary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.bk-section-desc {
  font-size: 1rem;
  color: var(--bk-text-muted);
  line-height: 1.55;
}

/* ================== SERVICE CARDS ================== */
.bk-service-card {
  background: #fff;
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius);
  overflow: hidden;
  box-shadow: var(--bk-card-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bk-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bk-card-shadow-hover);
  border-color: rgba(2, 132, 199, 0.35);
}

.bk-service-thumb-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e2e8f0;
}

.bk-service-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bk-service-card:hover .bk-service-thumb {
  transform: scale(1.05);
}

.bk-service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.bk-service-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--bk-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.bk-service-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bk-service-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.bk-service-title a {
  color: var(--bk-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.bk-service-title a:hover {
  color: var(--bk-primary);
}

.bk-service-desc {
  font-size: 0.88rem;
  color: var(--bk-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bk-service-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--bk-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bk-service-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bk-primary);
}

.bk-service-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bk-text-muted);
  display: block;
}

/* ================== PROCESS STEPS ================== */
.bk-process-card {
  background: var(--bk-bg-subtle);
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.bk-process-card:hover {
  background: #fff;
  box-shadow: var(--bk-card-shadow);
  transform: translateY(-4px);
}

.bk-process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bk-primary-light);
  color: var(--bk-primary);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.bk-process-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--bk-secondary);
}

.bk-process-desc {
  font-size: 0.88rem;
  color: var(--bk-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ================== STAFF CARDS ================== */
.bk-staff-card {
  background: #fff;
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--bk-card-shadow);
  transition: all 0.3s;
}

.bk-staff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bk-card-shadow-hover);
}

.bk-staff-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--bk-primary-light);
}

.bk-staff-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bk-secondary);
  margin-bottom: 0.25rem;
}

.bk-staff-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bk-primary);
  margin-bottom: 0.75rem;
}

/* ================== TIME SLOTS GRID ================== */
.bk-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.bk-slot-btn {
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--bk-border);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--bk-text);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  width: 100%;
}

.bk-slot-btn:hover:not(:disabled) {
  border-color: var(--bk-primary);
  background: var(--bk-primary-light);
  color: var(--bk-primary-dark);
}

.bk-slot-btn.selected {
  background: var(--bk-primary) !important;
  color: #fff !important;
  border-color: var(--bk-primary) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.bk-slot-btn:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.65;
}

/* ================== FOOTER ================== */
.bk-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid #1e293b;
}

.bk-footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.bk-footer-link {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.bk-footer-link:hover {
  color: #fff;
}

.bk-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 991px) {
  .bk-hero-title {
    font-size: 2.25rem;
  }
  .bk-hero-section {
    padding: 3rem 0;
  }
}
