
/* Umumiy sozlamalar */
body {
    
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
}

header {
    position: sticky;
    top: 0;
    background-color: #1f1f1f;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

header h1 {
    
    font-size: 1.8em;
    color: #fd0f0f;
    margin: 0;
    padding-bottom: 5px;
    text-align: center;
}


.nav-next{
    margin-bottom: 8px;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 8px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-around;
    gap: 3px;
}

nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    padding: 8px 5px;
    border-radius: 4px;
    transition:  color 0.3s ease;
    border: 1px solid #fd0f0f;
    margin: 3px;
    font-size: 13px;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #fd0f0f;
    color: #1f1f1f;
}

main {
    padding: 5px;
}

section {
    margin-bottom: 30px;
}

section h2 {
    text-align: center;
    color: #fd0f0f;
    margin-bottom: 20px;
}

/* Mahsulotlar */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.item {
    background-color: #1e1e1e;
    border-radius: 10px;
    border: 4px solid transparent;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
    padding: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover faqat kompyuterda ishlaydi */
@media (hover: hover) and (pointer: fine) {
    .item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.7);
        border-color: #fd0f0f;
    }
}

.item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #1f1f1f;
    color: #e0e0e0;
    margin-top: 20px;
    
}
footer a svg g:hover{
    fill: #fd0f0f;
}

/* Silliq skroll CSS */
html {
    scroll-behavior: smooth;
}

.cola{
    background: #ffffff;
}

.nav-logo{
    display: flex;
    padding: 0 20px;
    justify-content: space-around;
    margin-bottom: 30px;
}

.link{
   
    display: flex;
    justify-content: space-around;
    align-items: center;
}