/* Ana site CSS stilleri */
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6;
}

/* Admin panel styles */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #343a40 0%, #495057 100%);
}

.sidebar .list-group-item {
    border-radius: 0 !important;
    transition: all 0.3s ease;
}

.sidebar .list-group-item:hover {
    background-color: #495057 !important;
    padding-left: 1.5rem;
}

.content-wrapper {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Frontend styles */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.category-section {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.allergens .badge {
    font-size: 0.8rem;
}

/* Kartlar */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-img-top, .img-fluid {
    max-width: 100%;
    height: auto;
}

/* Form improvements */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    border-radius: 0.375rem;
}

.badge {
    font-size: 0.75em;
}

.table th {
    border-top: none;
    background-color: #f8f9fa;
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .container, .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section {
        min-height: 300px;
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    h1, h2, h3, h4, h5 {
        font-size: 1.2em;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .content-wrapper {
        margin-left: 0 !important;
    }
}
