﻿:root {
    font-family: 'Inter', sans-serif;
    /* Ana Renkler - Daha yumuşak ve modern */
    --primary-color: #4f46e5;
    --primary-light: #eef2ff;
    --primary-dark: #3730a3;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    /* Gri Tonları */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    /* Gradient'lar */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    --gradient-success: linear-gradient(135deg, #059669 0%, #047857 100%);
    --gradient-warning: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    /* Gölgeler */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.grid-ustu-baslik {
    font-size: 25px;
    color: var(--primary-color);
}

body {
    background: url('/planliokurum/assets/genel/childbook-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: var(--gray-900);
    line-height: 1.6;
    font-weight: 400;
}

/* Navbar Stilleri */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    transition: all 0.2s ease;
    border-radius: var(--border-radius);
    margin: 0 0.25rem;
    padding: 0.75rem 1rem !important;
}

    .nav-link:hover {
        background-color: var(--primary-light);
        color: var(--primary-color) !important;
    }

    .nav-link.active {
        background-color: var(--primary-color);
        color: white !important;
    }

/* Karşılama Bölümü */
.welcome-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-xl);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

    .welcome-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
        pointer-events: none;
    }

.welcome-stats {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Kart Stilleri */
.card {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    background: white;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

    .card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-1px);
    }

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.card-body {
    padding: 1.5rem;
}

/* İstatistik Kartları */
.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius-xl);
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    border: 1px solid var(--gray-100);
}

    .stat-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-color);
    }

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-change {
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 600;
}

/* Hızlı Eylemler */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-action {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

    .quick-action:hover {
        border-color: var(--primary-color);
        background: var(--primary-light);
        color: var(--primary-color);
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: var(--shadow);
    }

    .quick-action i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .quick-action h6 {
        font-size: 0.875rem;
        font-weight: 600;
        margin: 0;
    }

/* Kitap Kartları */
.sliding-cards {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
}

    .sliding-cards::-webkit-scrollbar {
        height: 4px;
    }

    .sliding-cards::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 2px;
    }

    .sliding-cards::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }

.sliding-card {
    flex: 0 0 260px;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    border: 1px solid var(--gray-100);
}

    .sliding-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
        border-color: var(--primary-color);
    }

/* Grid Kitap Kartları */
.grid-book-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    border: 1px solid var(--gray-100);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .grid-book-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
        border-color: var(--primary-color);
    }

/* Grid Kitap Kapağı */
.grid-book-cover {
    width: 100%;
    height: 210px;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    position: relative;
    background: var(--gray-200);
}

    .grid-book-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: var(--border-radius);
        transition: transform 0.2s ease;
    }

        .grid-book-cover img:hover {
            transform: scale(1.03);
        }

/* Yeni Ürün Badge'i */
.grid-new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #0033CC, #059669);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    z-index: 2;
    animation: newBadgePulse 2s infinite;
}

    .grid-new-badge i {
        font-size: 1.2rem;
        margin-right: 10px;
    }

    .grid-new-badge span {
        line-height: 1;
    }

/* İndirim Badge'i */
.grid-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    z-index: 2;
    animation: discountBadgePulse 2s infinite;
}

    .grid-discount-badge i {
        font-size: 1.2rem;
        margin-right: 10px;
    }

/* İndirim badge animasyonu */
@keyframes discountBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(245, 158, 11, 0.4);
    }
}

/* Yeni ürün animasyonu */
@keyframes newBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
    }
}

/* Grid Kitap Bilgileri */
.grid-book-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
    line-height: 1.3;
    height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.grid-book-author {
    color: var(--gray-600);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    height: 1rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.grid-book-price {
    color: var(--success-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Grid Responsive Ayarları */
@media (max-width: 1200px) {
    .grid-book-cover {
        height: 140px;
    }

    .grid-book-title {
        font-size: 0.8rem;
        height: 2.4rem;
    }
}

@media (max-width: 768px) {
    .grid-book-cover {
        height: 120px;
    }

    .grid-book-title {
        font-size: 0.75rem;
        height: 2.25rem;
    }

    .grid-book-author {
        font-size: 0.7rem;
    }

    .grid-book-card {
        padding: 0.75rem;
    }

    .grid-new-badge,
    .grid-discount-badge {
        top: 6px;
        padding: 3px 6px;
        font-size: 1rem;
    }

    .grid-new-badge {
        left: 6px;
    }

    .grid-discount-badge {
        right: 6px;
    }

        .grid-new-badge i,
        .grid-discount-badge i {
            font-size: 1rem;
            margin-right: 8px;
        }
}

@media (max-width: 576px) {
    .grid-book-cover {
        height: 100px;
    }

    .grid-book-card {
        padding: 0.5rem;
    }

    .grid-new-badge,
    .grid-discount-badge {
        top: 4px;
        padding: 2px 5px;
        font-size: 0.6rem;
    }

    .grid-new-badge {
        left: 4px;
    }

    .grid-discount-badge {
        right: 4px;
    }

        .grid-new-badge i,
        .grid-discount-badge i {
            font-size: 0.9rem;
            margin-right: 6px;
        }
}

/* Grid Resim yükleme hatası durumunda */
.grid-book-cover img[src=""],
.grid-book-cover img:not([src]) {
    background: var(--gray-200);
}

.grid-book-cover img::after {
    content: "📖";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--gray-500);
}

/* Sliding Cards için Kitap Kapağı */
.book-cover {
    width: 100%;
    height: 210px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    background: var(--gray-200);
}

    .book-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: var(--border-radius);
        transition: transform 0.2s ease;
    }

        .book-cover img:hover {
            transform: scale(1.05);
        }

        /* Resim yüklenene kadar placeholder */
        .book-cover img[src=""],
        .book-cover img:not([src]) {
            background: var(--gray-200);
        }

        /* Resim yükleme hatası durumunda */
        .book-cover img:after {
            content: "📖";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2rem;
            color: var(--gray-500);
        }

.book-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
    line-height: 1.3;
}

.book-author {
    color: var(--gray-600);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

/* İlerleme Çubukları */
.progress {
    height: 6px;
    border-radius: 3px;
    background-color: var(--gray-200);
    margin-bottom: 0.5rem;
}

.progress-bar {
    border-radius: 3px;
}

.book-progress {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* Okuma Serisi */
.streak-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.streak-day {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

    .streak-day.active {
        background: var(--primary-color);
        color: white;
        box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
    }

    .streak-day.inactive {
        background: var(--gray-200);
        color: var(--gray-500);
    }

    .streak-day.today {
        background: var(--success-color);
        color: white;
        box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Başarım Kartları */
.achievement-item {
    background: linear-gradient(135deg, var(--primary-light), rgba(79, 70, 229, 0.05));
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.2s ease;
}

    .achievement-item:hover {
        background: linear-gradient(135deg, var(--primary-light), rgba(79, 70, 229, 0.1));
        transform: translateX(2px);
    }

.achievement-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
    font-size: 0.9rem;
}

.achievement-desc {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.achievement-date {
    font-size: 0.7rem;
    color: var(--gray-500);
}

/* Butonlar */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    }

.btn-success {
    background: var(--success-color);
    color: white;
}

    .btn-success:hover {
        background: #047857;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    }

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-1px);
    }

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-700);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

    .btn-light:hover {
        background: white;
        color: var(--gray-900);
        transform: translateY(-1px);
    }

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

    .btn-outline-light:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: white;
        color: white;
    }

.btn-outline-secondary {
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    background: white;
}

    .btn-outline-secondary:hover {
        background: var(--gray-100);
        border-color: var(--gray-400);
        color: var(--gray-700);
    }

/* Bildirim Badge */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

/* Floating Butonlar */
.whatsapp-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.2s ease;
    z-index: 1000;
    text-decoration: none;
}

    .whatsapp-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 20px -5px rgba(37, 211, 102, 0.4);
        color: white;
    }

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

    .scroll-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 12px 20px -5px rgba(79, 70, 229, 0.4);
    }

/* Utility Classes */
.text-muted {
    color: var(--gray-600) !important;
}

.fw-semibold {
    font-weight: 600;
}

.small {
    font-size: 0.875rem;
}

.toast-loading {
    font-size: 16px !important;
    font-weight: bold;
    padding: 15px 20px !important;
    border-radius: 8px !important;
}

/* SLAYT MODAL - YUMUŞAK GEÇİŞLERLE DÜZELTİLMİŞ */
.slayt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.6s ease-in-out;
    visibility: hidden;
}

    .slayt-modal.show {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }

.slayt-container {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.slayt-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: #F44336;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

    .slayt-close:hover {
        background: #D32F2F;
        transform: scale(1.1) rotate(90deg);
    }

.slayt-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: white;
}

.slayt-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 1s ease-in-out;
    background: white;
    border-radius: 15px;
}

.slayt-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #4285F4;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2001;
}

    .slayt-nav:hover {
        background: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }

    .slayt-nav:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: translateY(-50%) scale(0.9);
    }

.slayt-prev {
    left: -100px;
}

.slayt-next {
    right: -100px;
}

.slayt-indicators {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2001;
}

.slayt-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

    .slayt-indicator.active {
        background: #4285F4;
        border-color: white;
        transform: scale(1.2);
    }

    .slayt-indicator:hover:not(.active) {
        background: rgba(255, 255, 255, 0.8);
        transform: scale(1.1);
    }

.slayt-counter {
    position: absolute;
    top: -50px;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.slayt-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    z-index: 2002;
}

.slayt-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: slayt-spin 2s ease-in-out infinite;
    margin: 0 auto 1rem;
}

@keyframes slayt-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Touch/Swipe desteği */
.slayt-content.dragging {
    cursor: grabbing;
}

    .slayt-content.dragging .slayt-image {
        pointer-events: none;
    }

/* Yumuşak animasyonlar - Fade geçişleri */
.slayt-fade-in {
    animation: slaytSoftFadeIn 1.2s ease-in-out;
}

.slayt-fade-out {
    animation: slaytSoftFadeOut 1.2s ease-in-out;
}

@keyframes slaytSoftFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    30% {
        opacity: 0.3;
        transform: scale(0.97);
    }

    70% {
        opacity: 0.7;
        transform: scale(0.99);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slaytSoftFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    30% {
        opacity: 0.7;
        transform: scale(0.99);
    }

    70% {
        opacity: 0.3;
        transform: scale(0.97);
    }

    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Slide geçişleri - çok yumuşak */
.slayt-slide-left {
    animation: slaytSoftSlideLeft 1s ease-in-out;
}

.slayt-slide-right {
    animation: slaytSoftSlideRight 1s ease-in-out;
}

@keyframes slaytSoftSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.98);
    }

    50% {
        opacity: 0.5;
        transform: translateX(25px) scale(0.99);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slaytSoftSlideRight {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.98);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-25px) scale(0.99);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Çok yumuşak crossfade geçişi için yeni animasyon */
.slayt-crossfade {
    animation: slaytCrossfade 1.5s ease-in-out;
}

@keyframes slaytCrossfade {
    0% {
        opacity: 0;
        filter: blur(2px);
        transform: scale(0.98);
    }

    25% {
        opacity: 0.25;
        filter: blur(1px);
        transform: scale(0.99);
    }

    50% {
        opacity: 0.5;
        filter: blur(0.5px);
        transform: scale(0.995);
    }

    75% {
        opacity: 0.75;
        filter: blur(0.2px);
        transform: scale(0.998);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .sliding-card {
        flex: 0 0 220px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .book-cover {
        height: 120px;
        font-size: 2rem;
    }

    .welcome-card .display-1 {
        font-size: 2.5rem;
    }

    .whatsapp-btn,
    .scroll-top {
        right: 20px;
    }

    .whatsapp-btn {
        bottom: 80px;
        width: 52px;
        height: 52px;
    }

    .scroll-top {
        bottom: 20px;
        width: 44px;
        height: 44px;
    }

    /* Slayt responsive */
    .slayt-container {
        width: 95%;
        height: 85%;
    }

    .slayt-close {
        top: -40px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slayt-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slayt-prev {
        left: -70px;
    }

    .slayt-next {
        right: -70px;
    }

    .slayt-indicators {
        bottom: -50px;
        gap: 8px;
    }

    .slayt-indicator {
        width: 10px;
        height: 10px;
    }

    .slayt-counter {
        top: -40px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .card-header,
    .card-body {
        padding: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .welcome-card .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .slayt-modal {
        padding: 10px;
    }

    .slayt-container {
        width: 100%;
        height: 80%;
    }

    .slayt-close {
        top: 10px;
        right: 10px;
        position: fixed;
    }

    .slayt-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .slayt-prev {
        left: 10px;
    }

    .slayt-next {
        right: 10px;
    }

    .slayt-indicators {
        bottom: 20px;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
    }
    .projeAnaImage {
        width: 100%;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    .slayt-counter {
        top: 10px;
        left: 10px;
        position: fixed;
    }

    .slayt-content {
        border-radius: 0;
    }

    .slayt-image {
        border-radius: 0;
    }
}

/* Dark Mode için hazırlık (gelecekte eklenebilir) */
@media (prefers-color-scheme: dark) {
    /* Dark mode stilleri buraya eklenebilir */
}