/**
 * Professional Styles for 3DHubTR
 * Production-ready CSS enhancements
 */

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 24px;
    margin-right: 8px;
}

.logo-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, var(--gray), var(--gray-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gray), var(--gray-light));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(146, 141, 171, 0.4);
}

.badge-icon {
    margin-right: 6px;
    font-size: 16px;
}

/* Button Enhancements */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-light);
    margin-bottom: 4px;
}

.hero-stat .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 15px; /* Reduced from 40px */
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Model Card Enhancements */
.model-card {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.model-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* :contains() CSS'de desteklenmiyor - JavaScript ile uygulanmalı
.model-badge.featured {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.model-badge.new {
    background: linear-gradient(135deg, #10b981, #059669);
}
*/

.author-avatar {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #e5e7eb;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    margin-right: 6px;
}

.model-stats {
    display: flex;
    gap: 12px;
    margin: 12px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.stat-icon {
    font-size: 14px;
}

.stat-value {
    font-weight: 600;
    color: var(--text-primary);
}

.model-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Stats Section */
.stats-header {
    text-align: center;
    margin-bottom: 50px;
}

.stats-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.stats-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--bg-tertiary);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(146, 141, 171, 0.3);
    border-color: var(--accent-color);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-light);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.stat-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Footer Enhancements */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    font-size: 28px;
    margin-right: 10px;
}

.footer-logo .logo-text {
    font-size: 16px;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #3b82f6;
}

.social-icon {
    font-size: 18px;
}

.social-text {
    font-size: 14px;
    font-weight: 500;
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-light) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat .stat-number {
        font-size: 20px;
    }
    
    .stats-title {
        font-size: 28px;
    }
    
    .stats-subtitle {
        font-size: 16px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .model-stats {
        gap: 8px;
    }
    
    .stat-item {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stat {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-stat .stat-number {
        font-size: 18px;
        margin-bottom: 0;
    }
    
    .hero-stat .stat-label {
        font-size: 13px;
        margin-bottom: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .btn::before,
    .model-card,
    .stat-item {
        transition: none;
    }
    
    .loading-skeleton {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: more) {
    .model-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .hero-badge,
    .model-badge {
        display: none;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .model-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}


