/* Modern Body Background Design for Online Catalog */

/* Ana Body Stili - Modern Gradient ve Animasyonlar */
body.online-catalog-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    
    /* Modern Gradient Arkaplan */
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #f5576c 75%, 
        #4facfe 100%);
    background-size: 400% 400%;
    
    /* Animasyonlu Gradient */
    animation: gradientShift 15s ease infinite;
}

/* Gradient Animasyonu */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Alternatif Modern Arkaplan - Geometric Patterns */
body.online-catalog-page.geometric {
    background: linear-gradient(45deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
}

/* Geometric Şekiller */
body.online-catalog-page.geometric::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: floatingShapes 20s ease-in-out infinite;
}

@keyframes floatingShapes {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Modern Glassmorphism Efekti */
body.online-catalog-page.glass {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Parçacık Efekti için Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Animasyonlu Parçacıklar */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0vh) scale(0);
    }
}

/* Modern Wave Efekti */
.wave-background {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: -1;
    background: linear-gradient(45deg, #667eea, #764ba2);
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
    animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% { clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); }
    50% { clip-path: polygon(0 0, 100% 20px, 100% 100%, 0 100%); }
}

/* Modern Grid Pattern */
body.online-catalog-page.grid-pattern {
    background-color: #1a1a2e;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Neon Glow Efekti */
body.online-catalog-page.neon {
    background: #0a0a0a;
    position: relative;
}

body.online-catalog-page.neon::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 25% 25%, #ff006e 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #8338ec 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #3a86ff 0%, transparent 50%);
    filter: blur(40px);
    opacity: 0.6;
    animation: neonPulse 4s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Content Container için Modern Overlay */
.modern-content-overlay {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px;
    padding: 40px;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-content-overlay {
        margin: 10px;
        padding: 20px;
        border-radius: 15px;
    }
    
    .particle {
        width: 2px;
        height: 2px;
    }
    
    .wave-background {
        height: 60px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .modern-content-overlay {
        background: rgba(30, 30, 30, 0.95);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

