/**
 * =====================================================
 * PROFLİFT - Custom CSS Styles & Animations
 * =====================================================
 */

/* =====================================================
   Mobil Taşma / Kayma Düzeltmesi (Responsive Overflow Fix)
   Sayfanın viewport genişliğini aşıp yatay kaymasını
   ve mobilde küçülüp taşmasını engeller.
   ===================================================== */
html {
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Flex/Grid içindeki elemanların içerik yüzünden
   konteynerini taşmasını engeller (varsayılan min-width:auto sorunu) */
* {
  min-width: 0;
}

img, svg, video, iframe, table, canvas {
  max-width: 100%;
  height: auto;
}

/* Custom Animations */
@keyframes loaderAnim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.animate-loader {
  animation: loaderAnim 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 106, 26, 0.4); }
  50% { box-shadow: 0 0 30px rgba(255, 106, 26, 0.8); }
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: rgba(10, 26, 48, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0A1A30;
}
::-webkit-scrollbar-thumb {
  background: #1B3F73;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6A1A;
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
  transform: translateY(-6px);
}

/* Accordion Custom Transitions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Active Nav State */
.active-nav {
  position: relative;
  color: #FF6A1A !important;
}
.active-nav::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #FF6A1A;
  border-radius: 2px;
}
