/*
Bu yazılım anxcure.com'a aittir.
Tüm hakları anxcure.com tarafından saklıdır.
İzinsiz kullanım, kopyalama veya dağıtım yasaktır.
© 2025 anxcure.com. Tüm hakları saklıdır.
*/

/* ===== BLOG.COM MODERN TASARIM ÖZELLİKLERİ ===== */

/* ===== KARANLIK MOD ===== */
[data-theme="dark"] {
    --blog-primary: #4FD1C5;
    --blog-secondary: #38B2AC;
    --blog-accent: #81E6D9;
    --blog-text-primary: #E2E8F0;
    --blog-text-secondary: #A0AEC0;
    --blog-bg-primary: #1A202C;
    --blog-bg-secondary: #2D3748;
    --blog-bg-tertiary: #4A5568;
    --blog-card-bg: #2D3748;
    --blog-card-hover: #4A5568;
    --blog-border: #4A5568;
    --blog-shadow: rgba(0, 0, 0, 0.3);
    --blog-success: #48BB78;
    --blog-warning: #ED8936;
    --blog-danger: #F56565;
    --blog-info: #4299E1;
}

/* ===== GLASSMORPHISM ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.18);
}

[data-theme="dark"] .glass-effect {
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid rgba(79, 209, 197, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.18);
    transition: all 0.3s ease;
}

[data-theme="dark"] .glass-card {
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid rgba(79, 209, 197, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== MODERN GÖLGE EFECTLERİ ===== */
.modern-shadow {
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 15px rgba(0, 0, 0, 0.1),
        0 20px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-shadow:hover {
    box-shadow: 
        0 10px 15px rgba(0, 0, 0, 0.1),
        0 20px 25px rgba(0, 0, 0, 0.1),
        0 30px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

[data-theme="dark"] .modern-shadow {
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 10px 15px rgba(0, 0, 0, 0.4),
        0 20px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .modern-shadow:hover {
    box-shadow: 
        0 10px 15px rgba(0, 0, 0, 0.4),
        0 20px 25px rgba(0, 0, 0, 0.4),
        0 30px 35px rgba(0, 0, 0, 0.4);
}

/* ===== TIKLAMA GERİ BİLDİRİMİ ANİMASYONLARI ===== */
.click-feedback {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.click-feedback::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.click-feedback:active::before {
    width: 300px;
    height: 300px;
}

[data-theme="dark"] .click-feedback::before {
    background: rgba(79, 209, 197, 0.3);
}

/* ===== BREADCRUMB NAVİGASYONU ===== */
.breadcrumb-nav {
    background: var(--blog-card-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--modern-shadow);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--blog-text-secondary);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--blog-text-secondary);
}

.breadcrumb-link {
    color: var(--blog-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--blog-secondary);
}

.breadcrumb-current {
    color: var(--blog-text-primary);
    font-weight: 600;
}

/* ===== GELİŞMİŞ ARAMA FONKSİYONU ===== */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-left: 3rem;
    border: 2px solid var(--blog-border);
    border-radius: 25px;
    background: var(--blog-card-bg);
    color: var(--blog-text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--blog-primary);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blog-text-secondary);
    font-size: 1.2rem;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blog-card-bg);
    border: 1px solid var(--blog-border);
    border-radius: 12px;
    box-shadow: var(--modern-shadow);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--blog-border);
}

.search-suggestion-item:hover {
    background: var(--blog-card-hover);
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

/* ===== YÜKLEME ANİMASYONLARI ===== */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--blog-bg-secondary);
    border-top: 4px solid var(--blog-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-pulse {
    width: 20px;
    height: 20px;
    background: var(--blog-primary);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-skeleton {
    background: linear-gradient(90deg, var(--blog-bg-secondary) 25%, var(--blog-card-hover) 50%, var(--blog-bg-secondary) 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

/* ===== BLOG KARTLARI MODERN STİLLERİ ===== */
.blog-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .blog-card.glass-card {
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid rgba(79, 209, 197, 0.2);
}

/* ===== TEMA DEĞİŞTİRİCİ ===== */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--blog-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--modern-shadow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(79, 209, 197, 0.4);
}

/* ===== RESPONSIVE TASARIM ===== */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb-list {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .theme-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .breadcrumb-item {
        font-size: 0.8rem;
    }
    
    .search-input {
        padding: 0.75rem 1rem;
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }
}

/* ===== ANİMASYON PERFORMANS OPTİMİZASYONU ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== FOCUS STATES ===== */
.search-input:focus,
.blog-card:focus,
.theme-toggle:focus {
    outline: 2px solid var(--blog-primary);
    outline-offset: 2px;
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    :root {
        --blog-primary: #000000;
        --blog-text-primary: #000000;
        --blog-bg-primary: #ffffff;
        --blog-card-bg: #ffffff;
        --blog-border: #000000;
    }
} 