@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

.container {
    font-family: 'Open Sans', sans-serif;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

/* Başlık Stili */
.container h1 {
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    margin-bottom: 3rem;
    transform-style: preserve-3d;
    perspective: 500px;
    animation: slideDown 0.8s ease forwards;
}

.container h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: translateX(-50%);
    border-radius: 2px;
    animation: gradientFlow 3s infinite linear;
}

/* Tablo Container Stili */
.table-responsive {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.3s forwards;
    position: relative;
    overflow: hidden;
}




/* Tablo Stili */
.table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.table thead th {
    border: none;
    background: rgba(0, 0, 0, 0.03);
    color: #333;
    font-weight: 600;
    padding: 1.2rem 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.table thead th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
}

/* Tablo Satır Stili */
.table tbody tr {
    transition: all 0.3s ease;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: relative;
    transform: scale(1);
}

.table tbody tr:hover {
    transform: scale(1.01) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.table tbody td {
    border: none;
    padding: 1.5rem 1rem;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
}

/* Muhtarlık Adı Stili */
.table tbody td:first-child {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

/* Telefon Numarası Stili */
.table tbody td:last-child {
    color: #333;
    font-weight: 500;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.5px;
}

/* Açıklama Stili */
.table tbody td:nth-child(2) {
    color: #555;
    line-height: 1.6;
    max-width: 400px;
}

/* Animasyonlar */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }

    .container h1 {
        font-size: 2rem;
    }

    .table-responsive {
        padding: 1rem;
        margin: 0 -1rem;
        border-radius: 0;
    }

    .table thead th {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
    }

    .table tbody td {
        padding: 1rem 0.8rem;
    }

    .table tbody td:first-child {
        font-size: 1rem;
    }
}

/* Tablo Yükleme Animasyonu */
.table-loading {
    position: relative;
}

.table-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Özel Scrollbar */
.table-responsive::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a237e80, #3949ab80);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1a237e, #3949ab);
} 