@font-face {
    font-family: 'Bziba';
    src: url('../fonts/Bziba.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fbffd4;
    color: #fbffd4;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
 font-family: 'Bziba', Tahoma, sans-serif;
    
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
background-color: #fbffd4;    
}

/* Ł‡ŲÆŲ± */
.main-header {
    background-color: #cccccc;
    padding: 1rem 0;
    border-bottom: 2px solid #a1c180;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(157, 219, 160, 0.7);
    background-color: #fbffd4;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #85c643;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
font-family: 'Bziba', Tahoma, sans-serif;
    
}

.logo i {
    font-size: 2rem;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #757575;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #a1c180;
    color: #cccccc;
}

.cart-icon-container {
    position: relative;
}

.cart-toggle-btn {
    background: #a1c180;
    color: #cccccc;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.cart-toggle-btn:hover {
    background: #85c643;
}

#cart-count {
    background: #cccccc;
    color: #85c643;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Ł‡ŪŲ±Ł */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 0;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: #85c643;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #a1c180;
}

.hero-image img {
    width: 75%;
    border-radius: 10px;
}

/* ŲÆŚ©Ł…Ł‡ā€Ł‡Ų§ */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: #a1c180;
    color: #cccccc;
}

.btn-primary:hover {
    background-color: #85c643;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #a1c180;
    color: #85c643;
}

.btn-outline:hover {
    background-color: #a1c180;
    color: #cccccc;
}

.btn-danger {
    background-color: #f44336;
    color: #cccccc;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

.btn-warning {
    background-color: #ff9800;
    color: #cccccc;
}

.btn-warning:hover {
    background-color: #f57c00;
}

.btn-success {
    background-color: #4caf50;
    color: #cccccc;
}

.btn-success:hover {
    background-color: #388e3c;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.9rem;
}

/* ŁŪŚŚÆŪā€Ł‡Ų§ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.feature-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #a1c180;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(157, 219, 160, 0.7);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #85c643;
    box-shadow: 0 5px 20px rgba(96, 161, 88, 0.753);
}

.feature-card i {
    font-size: 3rem;
    color: #85c643;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #85c643;
    margin-bottom: 10px;
}

/* ŲØŲ®Ų´ Ł…Ł†Ł */
.menu-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    color: #85c643;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-subtitle {
    color: #a1c180;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    background: #fbff8d;
    border: 2px solid #ffbf1c;
    color: #85c643;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tab:hover,
.category-tab.active {
    background: #a1c180;
    color: #cccccc;
    border-color: #a1c180;
}

/* Ų¢ŪŲŖŁ…ā€Ł‡Ų§Ū Ł…Ł†Ł */
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background: #cccccc;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #a1c180;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(157, 219, 160, 0.7);
}

.menu-item:hover {
    transform: translateY(-5px);
    border-color: #85c643;
    box-shadow: 0 10px 20px rgba(96, 161, 88, 0.753);
}

.menu-item-image {
    height: 200px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image i {
    font-size: 4rem;
    color: #bdbdbd;
}

.menu-item-info {
    padding: 20px;
    background-color: #fbff8d;
}

.menu-item-info h3 {
    color: #85c643;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.item-category {
    color: #a1c180;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.item-price {
    color: #757575;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;

}

.item-actions {
    display: flex;
    gap: 10px;
}

/* Ų³ŲØŲÆ Ų®Ų±ŪŲÆ */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 380px;
    height: 100vh;
    background: #cccccc;
    border-right: 2px solid #a1c180;
    z-index: 1000;
    transition: left 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.cart-sidebar.open {
    left: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.cart-overlay.show {
    display: block;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: #85c643;
}

.cart-close-btn {
    background: none;
    border: none;
    color: #757575;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close-btn:hover {
    color: #85c643;
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cart-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cart-item-name {
    font-weight: bold;
    color: #85c643;
}

.cart-item-price {
    color: #757575;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: #cccccc;
    border: 1px solid #a1c180;
    color: #85c643;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #a1c180;
    color: #cccccc;
}

.cart-item-remove {
    background: #f44336;
    border: none;
    color: #cccccc;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-item-remove:hover {
    background: #d32f2f;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #85c643;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #85c643;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #a1c180;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #85c643;
}

.form-hint {
    display: block;
    color: #bdbdbd;
    font-size: 0.85rem;
    margin-top: 5px;
    color:#000000;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

/* Ł¾Ł†Ł„ Ų§ŲÆŁ…ŪŁ† */
.admin-panel {
    padding: 40px 0;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #a1c180;
    padding-bottom: 10px;
}

.tab-btn {
    background: #cccccc;
    border: none;
    color: #757575;
    padding: 12px 24px;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    border-bottom: none;
}

.tab-btn:hover,
.tab-btn.active {
    background: #a1c180;
    color: #cccccc;
    border-color: #a1c180;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.admin-section {
    background: #cccccc;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 2px solid #a1c180;
    box-shadow: 0 2px 10px rgba(157, 219, 160, 0.7);
}

.admin-section h3 {
    color: #85c643;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #85c643;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #f5f5f5;
    border: 1px solid #a1c180;
    border-radius: 4px;
    color: #757575;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #85c643;
}

.category-item {
    background: #a1c180;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #a1c180;
}

.menu-item-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #a1c180;
}

.item-info h4 {
    color: #85c643;
    margin-bottom: 5px;
}

.item-info p {
    color: #757575;
    margin-bottom: 5px;
}

.item-info .price {
    color: #85c643;
    font-weight: bold;
    font-size: 1.1rem;
}

.item-actions {
    display: flex;
    gap: 10px;
}

/* Ł…ŁŲÆŲ§Ł„ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #cccccc;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    border: 2px solid #a1c180;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2rem;
    color: #757575;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #85c643;
}

/* ŲµŁŲ­Ł‡ Ł„Ų§ŚÆŪŁ† */
.login-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background: #cccccc;
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    border: 2px solid #a1c180;
    box-shadow: 0 5px 20px rgba(96, 161, 88, 0.753);
}

.login-box h2 {
    color: #85c643;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-info {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #a1c180;
}

.login-info p {
    margin-bottom: 10px;
    color: #757575;
}

.login-info code {
    background: #cccccc;
    padding: 2px 6px;
    border-radius: 3px;
    color: #85c643;
    border: 1px solid #a1c180;
}

/* Ų¢Ł„ŲØŁŁ… */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #f44336;
    color: #cccccc;
    border: 1px solid #d32f2f;
}

.alert-success {
    background: #a1c180;
    color: #cccccc;
    border: 1px solid #85c643;
}

.alert-info {
    background: #ff9800;
    color: #cccccc;
    border: 1px solid #f57c00;
}

.loading-text {
    text-align: center;
    padding: 40px;
    color: #a1c180;
    font-style: italic;
}

/* Ų¬ŲÆŁŁ„ Ų³ŁŲ§Ų±Ų´ā€Ł‡Ų§ */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

.orders-table th,
.orders-table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #a1c180;
}

.orders-table th {
    background: #a1c180;
    color: #cccccc;
    font-weight: bold;
}

.orders-table tr:hover {
    background: #cccccc;
}

.order-items-list {
    list-style: none;
    padding: 0;
}

.order-items-list li {
    padding: 5px 0;
    border-bottom: 1px dashed #a1c180;
}

.order-items-list li:last-child {
    border-bottom: none;
}

/* ŁŁŲŖŲ± */
.main-footer {
    background: #cccccc;
    padding: 40px 0;
    margin-top: auto;
    border-top: 2px solid #a1c180;
    background-color: #fbffd4
}

.main-footer .container {
    text-align: center;
}

.main-footer p {
    margin-bottom: 10px;
    color: #757575;
}

/* Ų±Ų³Ł¾Ų§Ł†Ų³ŪŁ */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .cart-sidebar {
        width: 100%;
        left: -100%;
    }
    
    .menu-items-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-radius: 4px;
        border: 1px solid #a1c180;
        margin-bottom: 5px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .cart-actions {
        flex-direction: column;
    }
}

.matn{
color: #a1c180;


}