/* ==========================================================================
   MARE BİLİŞİM - Interactive Animations & Visual Effects
   ========================================================================== */

/* Floating Hero Pills */
.hero-pill-1 {
  animation: floatPill1 8s ease-in-out infinite alternate;
}
.hero-pill-2 {
  animation: floatPill2 10s ease-in-out infinite alternate;
}
.hero-pill-3 {
  animation: floatPill3 7s ease-in-out infinite alternate;
}
.hero-pill-4 {
  animation: floatPill4 9s ease-in-out infinite alternate;
}
.hero-pill-5 {
  animation: floatPill5 6s ease-in-out infinite alternate;
}

@keyframes floatPill1 {
  0% { transform: translateY(0px) rotate(-3deg); }
  100% { transform: translateY(-25px) rotate(-1deg); }
}

@keyframes floatPill2 {
  0% { transform: translateY(0px) rotate(-30deg); }
  100% { transform: translateY(-30px) rotate(-26deg); }
}

@keyframes floatPill3 {
  0% { transform: translateY(0px) rotate(-23deg); }
  100% { transform: translateY(-20px) rotate(-20deg); }
}

@keyframes floatPill4 {
  0% { transform: translateY(0px) rotate(5deg); }
  100% { transform: translateY(-18px) rotate(8deg); }
}

@keyframes floatPill5 {
  0% { transform: translateY(0px) rotate(-40deg); }
  100% { transform: translateY(-12px) rotate(-35deg); }
}

/* Scroll Reveal Elements */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger delay classes */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Accordion Smooth Expand & Collapse */
.accordion-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  will-change: max-height, opacity;
}

.accordion-item.open > .accordion-content,
.accordion-item[data-state="open"] > .accordion-content {
  opacity: 1;
}

.accordion-item.open .accordion-trigger svg,
.accordion-trigger[data-state="open"] svg {
  transform: rotate(180deg);
}

.accordion-trigger svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card hover glow and lift */
.service-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Shiny button hover */
.btn-gradient {
  position: relative;
  overflow: hidden;
}

.btn-gradient::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn-gradient:hover::after {
  opacity: 1;
}

/* Header styling */
header.site-header {
  transform: translateY(0);
  transition: transform 0.4s ease, background-color 0.3s ease, border-color 0.3s ease;
}
