/* Custom styles for AS Temizlik Premium Web Application */

:root {
  --color-primary: #0B5ED7;
  --color-secondary: #00BCD4;
  --color-accent: #18C3D6;
  --font-main: 'Inter', sans-serif;
}

body {
  font-family: var(--font-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
  color: #1F2937;
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Before / After Slider Styles */
.twentytwenty-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.twentytwenty-before,
.twentytwenty-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.twentytwenty-after {
  clip-path: inset(0 0 0 50%);
}

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

.twentytwenty-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border: 4px solid #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.twentytwenty-handle-arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  display: flex;
  gap: 12px;
  pointer-events: none;
  color: #FFFFFF;
}

/* Scroll Animations & Transitions */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F3F4F6;
}
::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
}

/* Star Ratings Pulse Effect */
.star-pulse {
  animation: starPulse 2.5s infinite ease-in-out;
}

@keyframes starPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(250, 204, 21, 0));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.6));
  }
}
