/* 1. GENEL SIFIRLAMA VE TEMEL AYARLAR */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }

body { 
    display: flex; 
    min-height: 100vh; 
    background-color: #f0f7ff; 
}

/* 2. MASAÜSTÜ SIDEBAR (Sol Sabit Panel) */
.sidebar {
    width: 260px;
    background: #010b17;
    color: #fff;

    display: flex;
    flex-direction: column;
    position: fixed; /* Masaüstünde solda çakılı kalır */
    height: 100vh;
    z-index: 1000;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.logo img { width: 100%;  }

/* Masaüstünde Hamburger Gizli */
.menu-toggle { display: none; }

.nav-menu {
    display: flex;
    flex-direction: column;
}

.nav-menu a {
    display: block;
    color: #4b89b8;
    text-decoration: none;
    padding: 15px 10px;
    font-weight: bold;
    border-bottom: 1px solid #0a213d;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
}

/* 3. İÇERİK ALANI (Sidebar Genişliği Kadar Boşluk Bırakır) */
.content {
    margin-left: 260px; /* Sidebar'ın üzerine binmesini engeller */
    flex: 1;
    padding: 40px;
    min-width: 0;
}


/* 5. DETAY SAYFASI ÖZEL */
.detail-container {
    background: white; padding: 40px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.main-image { width: 100%; border-radius: 12px; cursor: pointer; margin-bottom: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.project-desc { line-height: 1.8; color: #444; font-size: 1.1rem; margin-bottom: 40px; white-space: pre-line; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.gallery-item img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.gallery-item img:hover { transform: translateY(-5px); }

/* Lightbox */
#customLightbox {
    display: none; position: fixed; z-index: 99999; left: 0; top: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.95);
    align-items: center; justify-content: center; cursor: pointer;
}
#customLightbox img { max-width: 90%; max-height: 85%; border-radius: 8px; }

/* 6. MOBİL TASARIM (992px ALTI) */
@media (max-width: 992px) {
    body { flex-direction: column; }

    .sidebar {
        width: 100% !important;
        height: 100px !important; /* Mobil bar yüksekliği */
        position: fixed !important;
        top: 0; left: 0;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
    }

    .logo { margin-bottom: 0; }
    .logo img { max-width: 120px; }

    .menu-toggle { float:right;
        display: block !important; 
        background: transparent; 
        color: white; 
        border: 1px solid #ffffff33; 
        padding: 5px 12px; 
        border-radius: 4px; 
        font-size: 20px;
    }

    .nav-menu {
        display: none !important; /* JS ile açılana kadar gizli */
        position: absolute;
        top: 100px; left: 0px;
        width: 100%;
        background: #020d1d;
        flex-direction: column;
        z-index: 9999;
    }

    /* Menü açıldığında JS bu sınıflardan birini ekleyecek */
    .nav-menu.active, .nav-menu.show { display: flex !important; }

    .nav-menu a { text-align: center; border-bottom: 1px solid #ffffff11; padding: 15px; }

    .content { margin-left: 0 !important; padding: 90px 20px 20px 20px !important; }
}

/* 7. ADMİN VE İSTATİSTİK KARTLARI */
.stats-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
.stat-card { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-left: 5px solid transparent; transition: 0.3s; }
.stat-card.blue { border-left-color: #3498db; }
.stat-card.green { border-left-color: #27ae60; }
.stat-card.orange { border-left-color: #f39c12; }

/* Butonlar (Zorunlu görünürlük için !important ekledim) */
.btn-edit { background-color: #3498db !important; color: white !important; padding: 6px 12px; border-radius: 4px; text-decoration: none; font-weight: bold; }
.btn-delete { background-color: #e74c3c !important; color: white !important; padding: 6px 12px; border-radius: 4px; text-decoration: none; margin-left: 5px; }

/* --- İLETİŞİM SAYFASI DÜZENLEME --- */
.contact-container {
    display: flex;
    flex-wrap: wrap; /* Mobilde alt alta gelmesi için */
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form { 
    flex: 2; 
    min-width: 300px; 
}

.contact-info { 
    flex: 1; 
    min-width: 250px;
    padding-left: 30px;
    border-left: 1px dashed #ddd;
    color: #555;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #020d1d; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #f8f9fa;
    transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #0072ff;
    outline: none;
    background: #fff;
}

.btn-send {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    width: 100%; /* Mobilde kolay tıklama */
}

/* --- HAKKIMDA SAYFASI DÜZENLEME --- */
.about-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    border: 6px solid #f0f7ff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-shrink: 0;
}

.profile-img img { width: 100%; height: 100%; object-fit: cover; }

.about-text-content { flex: 1; }
.about-text-content h1 { font-size: 32px; color: #020d1d; margin-bottom: 10px; }
.about-text-content p { line-height: 1.8; color: #444; font-size: 16px; margin-bottom: 15px; }

/* MOBİL UYUMLULUK (Hakkımda ve İletişim İçin Özel) */
@media (max-width: 768px) {
    .contact-container, .about-header { 
        flex-direction: column; 
        text-align: center; 
        padding: 20px;
    }
    
    .contact-info { 
        border-left: none; 
        border-top: 1px dashed #ddd; 
        padding: 20px 0 0 0; 
        margin-top: 20px;
    }

    .profile-img { margin: 0 auto 20px auto; }
}

/* --- ADMIN REFERANS LISTESI TEMIZ CSS --- */

.admin-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.btn-add-new {
    background: #27ae60;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.admin-hr { margin-bottom: 20px; border: 0; border-top: 1px solid #eee; }

.alert-success { color: green; font-weight: bold; margin-bottom: 10px; }
.alert-danger { color: red; font-weight: bold; margin-bottom: 10px; }

/* Tablo Tasarımı */
.admin-table-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead tr {
    background: #fcfcfc;
    border-bottom: 2px solid #eee;
}

.admin-table th {
    padding: 15px;
    text-align: left;
    color: #333;
    font-size: 14px;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* Görsel Hücresi */
.td-img img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Başlık ve Metin Hücresi */
.td-title { font-weight: bold; color: #2c3e50; }
.td-text { color: #666; font-size: 13px; }

/* İŞLEMLER SÜTUNU (EN ÖNEMLİ KISIM) */
.td-actions {
    display: flex !important;
    gap: 10px;
    align-items: center;
    min-width: 320px; /* Butonların yan yana sığması için */
}

.btn-gallery {
    background: #3498db;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

/* Mevcut butonlarını ezmemesi için daha spesifik tanımlar */
.td-actions .btn-edit {
    background: #f39c12 !important;
    color: white !important;
    padding: 8px 12px !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

.td-actions .btn-delete {
    background: #e74c3c !important;
    color: white !important;
    padding: 8px 12px !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    margin-left: 0 !important;
}

/* Hover Efektleri */
.td-actions a:hover { opacity: 0.8; transform: translateY(-1px); }

/* --- REFERANSLAR (PORTFOLYO) SAYFASI DÜZENLEME --- */

/* 1. Sayfa Başlığı Alanı */
.page-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #eef6ff;
    padding-bottom: 20px;
}

.page-header h1 {
    color: #020d1d;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 2. Referans Grid Yapısı */
.referans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
}

/* 3. Referans Kartı Tasarımı (Premium Görünüm) */
.referans-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f4f8;
    position: relative;
    display: flex;
    flex-direction: column;
}

.referans-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #0072ff33;
}

/* Kartın Resim Alanı */
.referans-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.referans-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.referans-card:hover .referans-image img {
    transform: scale(1.1);
}

/* Kartın Yazı Alanı */
.referans-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.referans-info h3 {
    color: #020d1d;
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.referans-info p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    /* Metni 2 satırda kısıtla (isteğe bağlı) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* "Detayları Gör" Butonu */
.btn-detail {
    text-decoration: none;
    color: #0072ff;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.btn-detail:after {
    content: ' →';
    transition: 0.3s;
}

.btn-detail:hover:after {
    margin-left: 8px;
}

/* 4. MOBİL AYARLAR */
@media (max-width: 768px) {
    .referans-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        gap: 20px;
    }

    .page-header h1 {
        font-size: 1.8rem;
        text-align: center;
    }
}

.stat-link{
	float:left;
	position:relative;margin-top:8px !important;
    background: #e74c3c !important;
    color: white !important;
    padding: 8px 12px !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    margin-left: 0 !important;
}
.stat-link:hover{
   background: #f39c12 !important;
}

.copy{ position: relative;
display: flex;
  bottom: 0;
  left: 0;

}

@media (max-width: 768px) {
    .copy {
   display:none;
    }
	}
	
	
/* --- MOBİL TABLO DÜZELTME (KART GÖRÜNÜMÜ) --- */
@media (max-width: 768px) {
    /* Tablo başlıklarını (thead) gizle */
    .admin-table thead {
        display: none;
    }

    /* Tabloyu blok haline getir */
    .admin-table, .admin-table tbody, .admin-table tr, .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table tr {
        margin-bottom: 20px;
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 10px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    }

    .admin-table td {
        text-align: right; /* Veriyi sağa yasla */
        padding: 10px 5px;
        position: relative;
        border-bottom: 1px solid #f9f9f9;
        display: flex;
        justify-content: space-between; /* Başlık solda, veri sağda */
        align-items: center;
    }

    .admin-table td:last-child {
        border-bottom: none;
        flex-direction: column; /* Butonları mobilde alt alta diz */
        gap: 10px;
        min-width: auto !important; /* Masaüstündeki genişliği sıfırla */
    }

    /* Mobilde her satırın başına başlık ekleyelim (CSS ile) */
    .admin-table td::before {
        content: attr(data-label); /* HTML'deki data-label değerini okur */
        font-weight: bold;
        color: #2c3e50;
        text-align: left;
    }

    /* Görseli mobilde ortala veya sağa al */
    .td-img img {
        width: 100px;
        height: 60px;
    }

    /* Butonlar mobilde tam genişlik olsun */
    .td-actions a, .btn-gallery, .btn-edit, .btn-delete {
        width: 100% !important;
        text-align: center;
        justify-content: center;
    }
}
@media (max-width: 992px) {
    /* Menü normalde gizli */
    .nav-menu {
        display: none !important; 
        flex-direction: column;
        width: 100%;
        background: #020d1d;
    }

    /* JavaScript 'active' sınıfını eklediğinde görünür yap */
    .nav-menu.active {
        display: flex !important;
    }
}

/* --- ADMİN TABLO ANA YAPISI --- */
.admin-table-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow-x: auto; /* Taşan kısımları kaydırır */
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.admin-table th {
    background: #f8faff;
    color: #333;
    font-weight: 700;
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid #edf2f7;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* Sütun Genişliklerini Sabitleme */
.td-img { width: 100px; }
.td-img img { width: 80px; height: 50px; object-fit: cover; border-radius: 5px; border: 1px solid #ddd; }
.td-text { font-size: 14px; color: #555; }

/* İŞLEMLER SÜTUNU (BOZULAN KISIM) */
.td-actions {
    display: flex !important; /* Hücre içinde esnek yapı */
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
    min-width: 320px; /* Butonların sığacağı alan */
}

/* Buton Standartları */
.td-actions a {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    color: #fff !important;
    transition: 0.3s;
    white-space: nowrap; /* Yazıların kırılmasını önler */
}

.btn-gallery { background: #3498db; }
.btn-edit { background: #f39c12; }
.btn-delete { background: #e74c3c; }

.td-actions a:hover { transform: translateY(-2px); opacity: 0.9; }

/* MOBİL GÖRÜNÜM (KART SİSTEMİ) */
@media (max-width: 992px) {
    .admin-table thead { display: none; } /* Başlıkları gizle */
    
    .admin-table tr { 
        display: block; 
        margin-bottom: 20px; 
        border: 1px solid #ddd; 
        border-radius: 10px;
        padding: 10px;
    }

    .admin-table td { 
        display: flex; 
        justify-content: space-between; 
        align-items: center;
        border-bottom: 1px solid #f1f1f1;
        text-align: right;
        padding: 10px;
    }

    .admin-table td::before {
        content: attr(data-label);
        font-weight: bold;
        float: left;
        color: #333;
    }

    .td-actions { 
        flex-direction: column; /* Mobilde butonlar alt alta */
        min-width: auto !important; 
    }
    
    .td-actions a { width: 100%; text-align: center; }
}

/* 1. TEMEL SIFIRLAMA */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }

body { 
    display: flex; 
    min-height: 100vh; 
    background-color: #f0f7ff; 
}

/* 2. SIDEBAR (MASAÜSTÜ) */
.sidebar {
    width: 260px;
    background: #010b17;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.logo { padding: 20px; text-align: center; }
.logo img { max-width: 100%; height: auto; }

.menu-toggle { display: none; } /* Masaüstünde gizli */

.nav-menu { display: flex; flex-direction: column; }
.nav-menu a {
    color: #4b89b8;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: bold;
    border-bottom: 1px solid #0a213d;
    text-transform: uppercase;
    font-size: 13px;
    transition: 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
}

.copy { 
    margin-top: auto; 
    padding: 20px; 
    font-size: 12px; 
    color: #4b89b8; 
    text-align: center;
}

/* 3. İÇERİK ALANI */
.content {
    margin-left: 260px;
    flex: 1;
    padding: 40px;
    min-width: 0; /* Flexbox taşmasını önler */
}

/* 4. ADMİN TABLO YAPISI (MASAÜSTÜ) */
.admin-table-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow-x: auto;
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { 
    background: #f8faff; 
    padding: 15px; 
    text-align: left; 
    border-bottom: 2px solid #edf2f7; 
    font-size: 14px;
}

.admin-table td { padding: 15px; border-bottom: 1px solid #eee; vertical-align: middle; }

/* Görsel, Metin ve Buton Düzenleri */
.td-img img { width: 80px; height: 50px; object-fit: cover; border-radius: 5px; border: 1px solid #ddd; }
.td-title { font-weight: bold; color: #2c3e50; }
.td-text { font-size: 13px; color: #666; }

.td-actions {
    display: flex !important;
    gap: 8px;
    min-width: 310px; /* Butonların yan yana sığmasını garanti eder */
}

.td-actions a {
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: #fff !important;
    white-space: nowrap;
    transition: 0.3s;
}

.btn-gallery { background: #3498db; }
.btn-edit { background: #f39c12 !important; }
.btn-delete { background: #e74c3c !important; }
.td-actions a:hover { opacity: 0.8; transform: translateY(-1px); }

/* 5. MOBİL TASARIM (992px ALTI) */
@media (max-width: 992px) {
    body { flex-direction: column; }
    
    .sidebar {
        width: 100% !important;
        height: 80px !important;
        position: fixed !important;
        top: 0; left: 0;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
    }

    .logo { padding: 0; margin: 0; }
    .logo img { max-width: 100px; }
    
    .menu-toggle { display: block !important; cursor: pointer; }

    .nav-menu {
        display: none !important;
        position: absolute;
        top: 80px; left: 0;
        width: 100%;
        background: #020d1d;
        flex-direction: column;
        z-index: 9999;
    }

    .nav-menu.active { display: flex !important; }
    .content { margin-left: 0 !important; padding: 100px 15px 20px 15px !important; }
    .copy { display: none; }

    /* TABLO MOBİL (KART GÖRÜNÜMÜ) */
    .admin-table thead { display: none; }
    .admin-table tr { 
        display: block; 
        margin-bottom: 20px; 
        border: 1px solid #ddd; 
        border-radius: 10px; 
        background: #fff; 
        padding: 10px;
    }
    .admin-table td { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 12px 5px; 
        border-bottom: 1px solid #f1f1f1; 
    }
    .admin-table td:last-child { border-bottom: none; flex-direction: column; gap: 10px; }
    .admin-table td::before { content: attr(data-label); font-weight: bold; color: #333; }
    
    .td-actions { min-width: 100% !important; }
    .td-actions a { width: 100%; text-align: center; }
}

/* 6. DİĞER BİLEŞENLER (STAT KARTLARI VS) */
.admin-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.btn-add-new { background: #27ae60; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; }
.admin-hr { margin: 20px 0; border: 0; border-top: 1px solid #ddd; }

/* --- ADMIN TABLO TASARIMI --- */
.admin-table-container {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-size: 14px;
    color: #333;
    border-bottom: 2px solid #eee;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

/* Hücre İçerikleri */
.td-img img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.td-title { font-weight: 600; color: #2c3e50; }
.td-text { color: #7f8c8d; font-size: 13px; }

/* İŞLEMLER BUTONLARI (Flex Düzeni) */
.td-actions {
    display: flex !important;
    gap: 8px;
    min-width: 300px;
}

.td-actions a {
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: white !important;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-gallery { background: #3498db; }
.btn-edit { background: #f39c12; }
.btn-delete { background: #e74c3c; }

.td-actions a:hover { transform: translateY(-2px); opacity: 0.9; }

/* MOBİL UYUM (768px Altı) */
@media (max-width: 768px) {
    .admin-table thead { display: none; }
    
    .admin-table tr {
        display: block;
        border: 1px solid #eee;
        margin-bottom: 15px;
        border-radius: 10px;
        padding: 10px;
    }

    .admin-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f9f9f9;
        text-align: right;
        padding: 10px 5px;
    }

    .admin-table td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
    }

    .td-actions {
        flex-direction: column;
        min-width: 100% !important;
    }

    .td-actions a { width: 100%; justify-content: center; }
}

        /* Modern Vitrin Düzenlemeleri */
        .hero-section { padding: 60px 0; border-bottom: 1px solid #eee; margin-bottom: 40px; }
        .hero-section h1 { font-size: 3rem; color: #1a1a1a; margin-bottom: 15px; }
        .hero-section p { font-size: 1.2rem; color: #666; max-width: 700px; line-height: 1.6; }
        
        .home-vitrin { margin: 50px 0; }
        .vitrin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; }
        .vitrin-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #f0f0f0; }
        .vitrin-card:hover { transform: translateY(-5-px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
        .vitrin-card img { width: 100%; height: 180px; object-fit: cover; }
        .vitrin-card-info { padding: 15px; }
        .vitrin-card-info h4 { margin-bottom: 10px; color: #333; }
        .view-btn { color: #4b89b8; text-decoration: none; font-weight: bold; font-size: 14px; }
        .section-divider { height: 1px; background: #eee; margin: 60px 0; }
		
		/* --- Giriş Animasyonları --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Başlangıçta gizli */
}

/* Gecikmeli gelmeler (Sırayla açılma hissi için) */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }


/* Referans Kart Yapısı */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.portfolio-item   {  background: #fff;
    border: 8px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    height: 220px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    transition: all 0.4s ease;

}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Resmin kutuyu tam doldurmasını sağlar */
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: #fff;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    bottom: 0;
}

/* Mobil İyileştirme */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        padding: 10px;
    }
    .portfolio-info {
        position: relative;
        bottom: 0;
        background: #fff;
        color: #333;
    }
}


/* 4. PORTFOLYO GRİD VE KARTLAR */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}



.portfolio-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 13, 29, 0.8);
    color: white; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s; font-weight: bold;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }