/* Cenaze öğesindeki fotoğraf */
.cenaze-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    max-width: 5%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Fotoğrafın bulunduğu öğe hover durumunda */
.cenaze-item:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Sadece Cenaze Sayfası başlıkları */
.cenaze-sayfasi h2 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

/* Genel Ayarlar */
.cenaze-sayfasi {
    font-family: 'Arial', sans-serif;
    color: #333;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 30px auto;
}

/* Başlık */
.cenaze-sayfasi h1 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}
.cenaze-sayfasi h2 {
    font-size: 24px;
    color: #555;
    margin-bottom: 10px;
}

/* Harf Filtreleme Alanı */
.cenaze-alphabet-filter {
    text-align: center;
    margin-bottom: 20px;
}
.cenaze-alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}
.cenaze-alphabet-filter a {
    display: inline-block;
    padding: 6px 10px;
    background: #f3f3f3;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 4px;
    transition: background 0.2s;
}
.cenaze-alphabet-filter a:hover,
.cenaze-alphabet-filter a[style*="font-weight:bold"] {
    background: #0073aa;
    color: #fff;
}
@media (max-width: 600px) {
    .cenaze-alphabet-filter a {
        padding: 4px 7px;
        font-size: 15px;
    }
}

/* Liste Alanı – SABİT 3 KART */
.cenaze-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.cenaze-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.cenaze-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.cenaze-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}
.cenaze-item p {
    font-size: 14px;
    color: #666;
}
.cenaze-form-container {
    margin-top: 20px;
}
.cenaze-form label {
    color: #000 !important;
    font-weight: 600;
}

/* Sayfalama */
.cenaze-pagination {
    text-align: center;
    margin-top: 30px;
}
.cenaze-pagination a {
    text-decoration: none;
    font-size: 16px;
    color: #007bff;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 4px;
    background-color: #f1f1f1;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.cenaze-pagination a:hover {
    background-color: #007bff;
    color: #fff;
}
.cenaze-pagination-prev {
    background-color: #e0e0e0;
}
.cenaze-pagination-next {
    background-color: #e0e0e0;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .cenaze-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .cenaze-sayfasi {
        padding: 15px;
    }
    .cenaze-item {
        padding: 12px;
    }
}
@media (max-width: 600px) {
    .cenaze-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .cenaze-sayfasi {
        padding: 10px;
    }
    .cenaze-item {
        padding: 10px;
    }
    .cenaze-grid {
        grid-template-columns: 1fr;
    }
    .cenaze-alphabet-filter p {
        font-size: 14px;
    }
    .cenaze-alphabet-filter a {
        font-size: 16px;
    }
    .cenaze-item h3 {
        font-size: 18px;
    }
    .cenaze-item p {
        font-size: 12px;
    }
}

/* VEFAT BİLGİSİ GÖNDER BUTONU + SUBMİT BUTON */
.cenaze-form-toggle,
.cenaze-form input[type="submit"] {
    background-color: #4682B4 !important;
    color: white !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin: 10px 0 !important;
    width: auto !important;
}

.cenaze-form-toggle:hover,
.cenaze-form input[type="submit"]:hover {
    background-color: #1E3A8A !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

/* Form Stil – sadece cenaze formu */
.cenaze-form-container form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 600px;
}

.cenaze-form-container form p {
    font-size: 17px;
    margin-bottom: 15px;
}

.cenaze-form-container form input[type="text"],
.cenaze-form-container form input[type="date"],
.cenaze-form-container form input[type="file"] {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 6px;
    box-sizing: border-box;
}