/**
 * Özel CSS Stilleri
 */

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

.loading-overlay[style*="flex"] {
    display: flex !important;
}

/* Navbar */
.navbar-custom {
    background-color: #343a40;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
}

.navbar-custom .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s;
    border-radius: 0.25rem;
    margin: 0 0.25rem;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-custom .navbar-nav .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Tablet Optimizasyonu */
.tablet-optimized .btn,
.tablet-optimized button {
    min-height: 48px;
    font-size: 16px;
    padding: 0.75rem 1.5rem;
}

.tablet-optimized .form-control,
.tablet-optimized .form-select,
.tablet-optimized input,
.tablet-optimized select,
.tablet-optimized textarea {
    min-height: 48px;
    font-size: 16px;
    padding: 0.75rem 1rem;
}

.tablet-optimized .form-label {
    font-size: 16px;
    margin-bottom: 0.5rem;
}

/* Kategori Kartları */
.category-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #dee2e6;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.category-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.category-card.filled {
    border-color: #0d6efd;
    background-color: #f0f7ff;
}

.category-card-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.category-card.filled .category-card-icon {
    color: #0d6efd;
}

.category-card-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #212529;
    margin: 0;
}

.category-check-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
    color: #0d6efd;
}

/* Sidebar (eski - geriye uyumluluk için) */
.sidebar {
    min-height: 100vh;
    background-color: #343a40;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.75rem 1rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Table */
.table-responsive {
    max-height: 600px;
    overflow-y: auto;
}

/* Form */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Card */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

/* Badge */
.badge {
    font-size: 0.875rem;
    padding: 0.35em 0.65em;
}

/* Button */
.btn {
    font-weight: 500;
}

/* Image Preview */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin: 0.5rem;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.25rem;
}

/* Ekspertiz Ana Kartı */
.expertise-main-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.expertise-main-card .card {
    min-height: 300px;
    aspect-ratio: 1 / 1;
    max-width: 500px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
}

.expertise-main-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.expertise-main-icon {
    font-size: 5rem;
    color: #0d6efd;
    transition: all 0.3s ease;
}

.expertise-main-card:hover .expertise-main-icon {
    transform: scale(1.1);
    color: #0a58ca;
}

.expertise-main-card .card-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #212529;
    transition: color 0.3s ease;
}

.expertise-main-card:hover .card-title {
    color: #0d6efd;
}

/* Tablet ve Mobil Optimizasyonu */
@media (max-width: 768px) {
    .expertise-main-card .card {
        min-height: 250px;
        aspect-ratio: 1 / 1;
    }
    
    .expertise-main-icon {
        font-size: 4rem;
    }
    
    .expertise-main-card .card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .expertise-main-card .card {
        min-height: 200px;
    }
    
    .expertise-main-icon {
        font-size: 3.5rem;
    }
    
    .expertise-main-card .card-title {
        font-size: 1.25rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
}

