/* Custom Styles & Utilities for Optimum Kleaning Solution */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-blue: #007BFF;
  --primary-blue-dark: #0056b3;
  --accent-green: #28A745;
  --accent-green-hover: #218838;
  --dark-text: #0f172a;
  --light-bg: #f8fafc;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark-text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #007BFF;
}

/* Shimmer & Badge Animations */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 20px 8px rgba(40, 167, 69, 0);
  }
}

.pulse-badge {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Custom Gradients */
.bg-hero-gradient {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
}

.bg-primary-gradient {
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
}

.bg-green-gradient {
  background: linear-gradient(135deg, #28A745 0%, #1e7e34 100%);
}

.text-gradient-blue {
  background: linear-gradient(135deg, #007BFF 0%, #004085 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #28A745 0%, #155724 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Before & After Interactive Slider */
.img-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  user-select: none;
  touch-action: pan-y;
}

.img-slider-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.img-slider-after img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.img-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #ffffff;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.img-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #007BFF;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,123,255,0.4);
}

/* Toast notifications */
.toast-notification {
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
