/* cursor-effects.css - Minimalist modern cursor efekti */

/* Ana cursor konteyner */
.cursor-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

/* Ana cursor */
.cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Cursor dış halka */
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease-out;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
}

/* Aktif durum (etkileşim anında) */
.cursor.active {
  width: 0;
  height: 0;
  opacity: 0;
}

.cursor-ring.active {
  width: 60px;
  height: 60px;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: invert(0.2);
  -webkit-backdrop-filter: invert(0.2);
}

/* Tıklama durumu */
.cursor.clicked {
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.cursor-ring.clicked {
  transform: translate(-50%, -50%) scale(0.9);
  border-width: 3px;
  border-color: rgba(255, 255, 255, 0.8);
}

/* Vurgu efekti - hover durumunda */
.cursor-highlight {
  position: fixed;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 9996;
  opacity: 0;
}

.cursor-highlight.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Renk temalarına göre stil değişimleri */
body[data-color="#A71623"] .cursor-ring {
  border-color: rgba(255, 255, 255, 0.3);
}

body[data-color="#A71623"] .cursor-ring.active {
  background: radial-gradient(circle, rgba(167, 22, 35, 0.15) 0%, rgba(167, 22, 35, 0) 70%);
}

body[data-color="#0061EF"] .cursor-ring.active {
  background: radial-gradient(circle, rgba(0, 97, 239, 0.15) 0%, rgba(0, 97, 239, 0) 70%);
}

body[data-color="#FFA1CC"] .cursor-ring.active {
  background: radial-gradient(circle, rgba(255, 161, 204, 0.15) 0%, rgba(255, 161, 204, 0) 70%);
}

body[data-color="#FFCE00"] .cursor-ring.active {
  background: radial-gradient(circle, rgba(255, 206, 0, 0.15) 0%, rgba(255, 206, 0, 0) 70%);
}

body[data-color="#3B197F"] .cursor-ring.active {
  background: radial-gradient(circle, rgba(59, 25, 127, 0.15) 0%, rgba(59, 25, 127, 0) 70%);
}

body[data-color="#02873E"] .cursor-ring.active {
  background: radial-gradient(circle, rgba(2, 135, 62, 0.15) 0%, rgba(2, 135, 62, 0) 70%);
}

/* Cursor görünürlük kontrolü */
.no-cursor {
  cursor: none;
}

@media (max-width: 768px) {
  .cursor-container {
    display: none;
  }
}