﻿/* 1. HEADER TASARIMI */
.page-header-card {
    background: linear-gradient(135deg, #02aab0 0%, #00cdac 100%);
    border-radius: 20px;
    padding: 40px 50px;
    position: relative;
    overflow: hidden; /* Dairelerin taşmasını engelle */
    box-shadow: 0 10px 20px rgba(2, 170, 176, 0.2);
    color: white;
}

.card-title-text {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.card-subtitle-text {
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.breadcrumb-card {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

    .breadcrumb-card .breadcrumb-item a {
        color: rgba(255,255,255,0.8);
        text-decoration: none;
    }

    .breadcrumb-card .breadcrumb-item.active {
        color: #fff;
        font-weight: 700;
        background: rgba(255,255,255,0.2);
        padding: 2px 10px;
        border-radius: 10px;
    }

/* Dekoratif Şekiller */
.circle-1 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -50px;
    right: -20px;
    z-index: 1;
}

.circle-2 {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    bottom: -30px;
    left: 20px;
    z-index: 1;
}

/* 2. ARAMA VE FİLTRE ALANI */
.toolbar-area {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
}

    .search-box input {
        width: 100%;
        padding: 12px 20px 12px 45px;
        border-radius: 50px;
        border: 1px solid #ddd;
        outline: none;
        transition: all 0.3s;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    }

        .search-box input:focus {
            border-color: #02aab0;
            box-shadow: 0 4px 12px rgba(2, 170, 176, 0.2);
        }

    .search-box i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #aaa;
    }

/* 3. KART TASARIMI (Aynı Kalıyor) */
.custom-card {
    background: white;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .custom-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

.card-img-top-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

    .card-img-top-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.custom-card:hover .card-img-top-wrapper img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0d1b3e;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.card-body-custom {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title-custom {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-text-custom {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #adb5bd;
}

.read-more-link {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

    .read-more-link:hover {
        color: #02aab0;
    }

/* 4. SAYFALAMA (PAGINATION) */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-item .page-link {
    color: #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination .page-item.active .page-link {
    background-color: #02aab0;
    color: white;
    box-shadow: 0 4px 10px rgba(2, 170, 176, 0.4);
}

.pagination .page-item .page-link:hover:not(.active) {
    background-color: #e9ecef;
    color: #02aab0;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
}
