/* Script Market - Custom CSS */

/* Genel Stiller */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}

a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #2563eb;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #111827;
}

.backcolor1{
    background-image: url('https://st4.depositphotos.com/4413287/40923/i/450/depositphotos_409230858-stock-photo-natural-linen-material-textile-canvas.jpg');
 

.container {
    max-width: 1200px;
}

.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-outline-primary {
    color: #3b82f6;
    border-color: #3b82f6;
}

.btn-outline-primary:hover {
    background-color: #3b82f6;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-success {
    background-color: #10b981;
    border-color: #10b981;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.375rem;
}

.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

/* Header ve Navbar */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    background-color: #fff;
}

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

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

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: #4b5563;
    transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #111827;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Script Kartları */
.script-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.script-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.script-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.script-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.script-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.script-card .card-text {
    color: #6b7280;
    margin-bottom: 1rem;
    flex: 1;
}

.script-card .card-footer {
    background-color: #fff;
    padding: 1rem 1.5rem;
}

.script-card .price {
    font-weight: 700;
    color: #10b981;
}

.script-card .free {
    font-weight: 700;
    color: #3b82f6;
}

.script-card .download-count {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Script Detay Sayfası */
.script-detail .thumbnail {
    max-height: 400px;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.script-detail .price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1rem;
}

.script-detail .free-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.script-detail .download-btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.script-detail .info-list {
    list-style: none;
    padding-left: 0;
}

.script-detail .info-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.script-detail .info-list li:last-child {
    border-bottom: none;
}

.script-detail .info-list .label {
    font-weight: 600;
    color: #4b5563;
}

.script-description {
    line-height: 1.8;
}

/* Changelog Stilleri */
.changelog-list .card {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.changelog-list .card-header {
    padding: 0.75rem 1rem;
    background-color: #f9fafb;
}

.changelog-list .card-body {
    padding: 1rem;
}

/* Yorumlar */
.comment {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.comment:last-child {
    border-bottom: none;
}

.comment .author {
    font-weight: 600;
    color: #111827;
}

.comment .date {
    color: #6b7280;
    font-size: 0.875rem;
}

.comment .rating {
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.comment .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #6b7280;
}

/* Admin Panel */
.admin-sidebar {
    background-color: #1f2937;
    color: #fff;
    min-height: calc(100vh - 56px);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease-in-out;
}

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

.admin-sidebar .nav-link.active {
    color: #fff;
    background-color: #3b82f6;
}

.admin-sidebar .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.admin-content {
    padding: 1.5rem;
}

.admin-content .card {
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-content .card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

.admin-content .card-header h5 {
    margin-bottom: 0;
    font-weight: 600;
    color: #111827;
}

/* Dashboard Kartları */
.dashboard-card {
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.dashboard-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3b82f6;
}

.dashboard-card .count {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}

.dashboard-card .title {
    color: #6b7280;
    font-size: 1rem;
}

/* Form Stilleri */
.form-control {
    border-radius: 0.375rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.form-label {
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.form-select {
    border-radius: 0.375rem;
    padding: 0.625rem 2.25rem 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* Kategori Sayfası */
.category-header {
    background-color: #f3f4f6;
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-radius: 0.75rem;
}

.category-header h2 {
    margin-bottom: 0.75rem;
    font-weight: 800;
    color: #111827;
}

.category-header p {
    color: #6b7280;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Arama Sonuçları */
.search-header {
    margin-bottom: 2.5rem;
}

.search-header h2 {
    margin-bottom: 0.75rem;
    font-weight: 800;
    color: #111827;
}

.search-header p {
    color: #6b7280;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.page-link {
    color: #3b82f6;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.page-link:hover {
    color: #2563eb;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    z-index: 2;
}

.page-item.active .page-link {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

/* Etiketler */
.tag {
    display: inline-block;
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
}

.tag:hover {
    background-color: #e5e7eb;
    color: #111827;
    text-decoration: none;
}

/* Uyarı Mesajları */
.alert {
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid transparent;
}

.alert-success {
    color: #065f46;
    background-color: #d1fae5;
    border-color: #a7f3d0;
}

.alert-danger {
    color: #991b1b;
    background-color: #fee2e2;
    border-color: #fecaca;
}

.alert-warning {
    color: #92400e;
    background-color: #fef3c7;
    border-color: #fde68a;
}

.alert-info {
    color: #1e40af;
    background-color: #dbeafe;
    border-color: #bfdbfe;
}

/* Footer */
footer {
    background-color: #f9fafb;
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #111827;
}

footer .nav-link {
    color: #6b7280;
    padding: 0.5rem 0;
    transition: color 0.2s ease-in-out;
}

footer .nav-link:hover {
    color: #3b82f6;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #4b5563;
    margin-right: 0.75rem;
    transition: all 0.2s ease-in-out;
}

footer .social-links a:hover {
    background-color: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
}

footer .copyright {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* Responsive Ayarlar */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 767.98px) {
    .script-card .card-img-top {
        height: 180px;
    }
    
    .script-detail .thumbnail {
        max-height: 300px;
    }
    
    .admin-sidebar {
        min-height: auto;
        margin-bottom: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.125rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Özel Renkler */
.bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.bg-light-gray {
    background-color: #f9fafb;
}

.text-primary {
    color: #3b82f6 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-dark {
    color: #111827 !important;
}

.text-muted {
    color: #6b7280 !important;
}

