/* ===== PROJECT IMAGE PLACEHOLDERS ===== */

/* Genel placeholder stilleri */
.project-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.project-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.1) 10px,
            rgba(255,255,255,0.1) 20px
        );
}

.project-placeholder-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.7);
    z-index: 2;
    position: relative;
}

/* E-ticaret Platformu - Project 1 */
.project-1-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Finansal API - Project 2 */
.project-2-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Mobil Uygulama - Project 3 */
.project-3-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Hero section görseli için özel placeholder */
.hero-image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-code-animation {
    padding: 2rem;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.code-line-placeholder {
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin: 1rem 0;
    opacity: 0;
    animation: codeTyping 2s ease-in-out infinite;
}

.code-line-placeholder:nth-child(1) { 
    width: 80%; 
    animation-delay: 0s; 
}

.code-line-placeholder:nth-child(2) { 
    width: 60%; 
    animation-delay: 0.5s; 
}

.code-line-placeholder:nth-child(3) { 
    width: 90%; 
    animation-delay: 1s; 
}

.code-line-placeholder:nth-child(4) { 
    width: 70%; 
    animation-delay: 1.5s; 
}

/* Avatar placeholder */
.avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
}

.avatar-placeholder::before {
    content: '👨‍💻';
    font-size: 4rem;
    position: relative;
    z-index: 2;
}

.avatar-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Logo placeholder */
.logo-placeholder {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.logo-placeholder::before {
    content: '</>';
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Favicon placeholder */
.favicon-placeholder {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
    position: relative;
}

.favicon-placeholder::before {
    content: 'GL';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
}

/* Service icon placeholders */
.service-icon-web {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-icon-api {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-icon-mobile {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Dark theme için skeleton */
[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}

/* Pattern placeholders */
.pattern-placeholder {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
}

/* Çeşitli boyutlarda placeholder'lar */
.placeholder-sm {
    width: 100px;
    height: 100px;
}

.placeholder-md {
    width: 200px;
    height: 150px;
}

.placeholder-lg {
    width: 300px;
    height: 200px;
}

.placeholder-xl {
    width: 400px;
    height: 300px;
}

/* Responsive placeholder'lar */
@media (max-width: 768px) {
    .hero-image-placeholder {
        width: 300px;
        height: 200px;
    }
    
    .project-placeholder {
        height: 150px;
    }
    
    .avatar-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .avatar-placeholder::before {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-image-placeholder {
        width: 250px;
        height: 150px;
    }
    
    .project-placeholder {
        height: 120px;
    }
    
    .avatar-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .avatar-placeholder::before {
        font-size: 2.5rem;
    }
} 