/* Big Force Handyman & Remodeling - Modern Custom Styles */
:root {
  --bf-navy: #0D2C54;
  --bf-navy-dark: #071930;
  --bf-blue: #1E88E5;
  --bf-blue-light: #64B5F6;
  --bf-amber: #F59E0B;
  --bf-slate: #1F2937;
  --bf-slate-dark: #111827;
  --bf-smoke: #F9FAFB;
}

/* Custom smooth scroll */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #374151;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

/* 1. BULLETPROOF BEFORE & AFTER SLIDER (using CSS clip-path) */
.ba-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  user-select: none;
  cursor: ew-resize;
  background-color: #071930;
  touch-action: none;
}

.ba-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* The before image layer is clipped cleanly according to --ba-percent */
.ba-before-clipped {
  clip-path: polygon(0 0, var(--ba-percent, 50%) 0, var(--ba-percent, 50%) 100%, 0 100%);
  z-index: 2;
  transition: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-percent, 50%);
  width: 4px;
  background-color: #FFFFFF;
  z-index: 10;
  pointer-events: none;
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.8), 0 0 4px rgba(255, 255, 255, 0.8);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: #FFFFFF;
  border: 3px solid var(--bf-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  color: var(--bf-navy);
}

.ba-badge {
  position: absolute;
  top: 18px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.ba-badge-before {
  left: 18px;
  background: rgba(17, 24, 39, 0.88);
  color: #F87171;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.ba-badge-after {
  right: 18px;
  background: rgba(17, 24, 39, 0.88);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

/* 2. SERVICE CARDS & PROFESSIONAL ICON STYLING */
.service-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: #FFFFFF;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #BFDBFE;
  box-shadow: 0 20px 25px -5px rgba(30, 136, 229, 0.12), 0 10px 10px -5px rgba(30, 136, 229, 0.04);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .icon-badge {
  transform: scale(1.08) rotate(-2deg);
}

/* 3. TRUST BRAND LOGO BAR */
.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.brand-item:hover {
  border-color: var(--bf-blue);
  box-shadow: 0 4px 6px -1px rgba(30, 136, 229, 0.1);
  transform: translateY(-2px);
}

/* 4. FLOATING MOBILE BAR */
.floating-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(13, 44, 84, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
}

/* 5. NEIGHBORHOOD CARD */
.area-pill {
  transition: all 0.2s ease;
}
.area-pill:hover {
  border-color: var(--bf-blue);
  background: #F0F9FF;
  transform: translateX(3px);
}
