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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Before/After Custom Styles */
.ba-container {
  touch-action: pan-y;
}

.ba-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #F97316; /* Brand Orange */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
}

.ba-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F97316;
  z-index: 21;
  pointer-events: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ba-container:hover .ba-slider-button {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.4);
}

/* Course Card Hover Effects */
.course-card {
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

.course-img {
    transition: transform 0.5s ease;
}
