/* Genel Stiller */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

main {
    flex: 1;
    padding-bottom: 2rem;
}

/* Navbar özelleştirmeleri */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand i {
    margin-right: 0.5rem;
}

/* Kart stilleri */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Buton stilleri */
.btn {
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Form stilleri */
.form-control {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Alert mesajları */
.alert {
    border-radius: 0.375rem;
    padding: 1rem;
}

/* Tablo stilleri */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-radius: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

footer h5 {
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.ad-container {
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.ad-container ins {
    margin: 0 auto;
}


.group-theme-bg {
    --bs-bg-opacity: 0.08; /* Hafif transparanlık */
    background-color: rgba(var(--group-primary-rgb), var(--bs-bg-opacity)) !important;
}

.group-theme-header {
    background-color: rgba(var(--group-primary-rgb), 0.9) !important;
}

.group-theme-text {
    color: inherit !important; /* Orijinal metin rengini koru */
}

/* Header metinlerini beyaz yapmak için */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .navbar-brand {
    color: #fff !important;
}


/* Responsive ayarlar */
@media (max-width: 768px) {
	
	
	 .ad-container {
		 padding: 5px; }
		 
		 
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    footer .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

/* Admin paneli özel stilleri */
.sidebar {
    min-height: calc(100vh - 56px);
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #495057;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #e9ecef;
    color: #0d6efd;
}

/* Lightbox overlay */
.lb-overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Yükleme animasyonu */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Özel scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.group-theme-bg {
    --bs-bg-opacity: 0.08; /* Hafif transparanlık */
    background-color: rgba(var(--group-primary-rgb), var(--bs-bg-opacity)) !important;
}

.group-theme-header {
    background-color: rgba(var(--group-primary-rgb), 0.9) !important;
}

.group-theme-text {
    color: inherit !important; /* Orijinal metin rengini koru */
}

/* Header metinlerini beyaz yapmak için */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .navbar-brand {
    color: #fff !important;
}