/* styles.css - Custom Styles & Animations for PrimeElite */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@600;700;800&display=swap');

html {
  scroll-behavior: smooth;
}

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

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

/* Animations */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px -5px rgba(242, 104, 0, 0.3); /* Conversion Orange Glow */
}

.glow-btn {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(242, 104, 0, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(242, 104, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 104, 0, 0); }
}

/* Before / After Slider Component */
.ba-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  user-select: none;
}

.ba-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.ba-slider .before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Initial state */
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.ba-slider .before-image img {
  width: 200%; /* Important to maintain ratio */
  max-width: none;
}

.ba-slider .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #F26800; /* Conversion Orange */
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #F26800;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  color: white;
}

/* Floating Buttons */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 50;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background-color: #25D366;
}

.float-call {
  background-color: #306BE2; /* Electric Blue */
}
