/* ===================================
   Animasyonlar ve Efektler
   Arka plan animasyonları, hover efektleri
   =================================== */

/* Animated Background Bars */
.animated-bars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.3;
}

.bar {
    position: absolute;
    width: 2px;
    height: 150%;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(255, 59, 92, 0.1) 20%,
        rgba(0, 217, 255, 0.1) 50%,
        rgba(255, 59, 92, 0.1) 80%,
        transparent 100%);
    animation: moveBar 20s infinite linear;
    transform-origin: center;
}

.bar:nth-child(1) { left: 10%; animation-delay: 0s; }
.bar:nth-child(2) { left: 20%; animation-delay: 2s; }
.bar:nth-child(3) { left: 30%; animation-delay: 4s; }
.bar:nth-child(4) { left: 40%; animation-delay: 6s; }
.bar:nth-child(5) { left: 50%; animation-delay: 8s; }
.bar:nth-child(6) { left: 60%; animation-delay: 10s; }
.bar:nth-child(7) { left: 70%; animation-delay: 12s; }
.bar:nth-child(8) { left: 80%; animation-delay: 14s; }
.bar:nth-child(9) { left: 90%; animation-delay: 16s; }

@keyframes moveBar {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section Animations */
.hero-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
    background: var(--bg-gradient);
    border-radius: 0 0 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

/* Card Hover Animations */
.card-hover {
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Icon Animations */
.icon-bounce {
    display: inline-block;
    transition: var(--transition);
}

.icon-bounce:hover {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Gradient Animation */
.gradient-animate {
    background: linear-gradient(135deg, #FF3B5C 0%, #00D9FF 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide In Animation */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Loading Animation */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--color-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Progress Bar Animation */
.progress-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--bg-gradient-full);
    border-radius: var(--radius-full);
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Number Counter Animation */
.counter {
    font-size: 3rem;
    font-weight: 800;
    background: var(--bg-gradient-full);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

