﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #f8f8f8;
    padding: 30px 20px;
    border-bottom: 1px solid #e0e0e0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-name {
    font-size: 26px;
    font-weight: 600;
    color: #000;
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.info-section {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-weight: 600;
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #666;
}

/* Navigation */
nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 0px;
    background-color: #ffffff;
    z-index: 90;
}

    nav::-webkit-scrollbar {
        height: 4px;
    }

    nav::-webkit-scrollbar-thumb {
        background-color: #ddd;
        border-radius: 2px;
    }

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    justify-content: center;
    min-width: min-content;
    padding: 0 10px;
}

.nav-item {
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

    .nav-item:hover {
        color: #000;
    }

    .nav-item.active {
        color: #000;
        border-bottom-color: #000;
    }

/* Main Container */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Kateqoriya başlıqlarının sticky stilləri */
.category-section {
    margin-bottom: 60px;
}

.category-header {
    font-size: 28px;
    font-weight: 500;
    padding: 20px 0;
    margin: 40px 0 30px 0;
    color: #000;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 2px solid #f0f0f0;
    letter-spacing: -0.5px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    animation: fadeIn 0.4s ease;
    margin-bottom: 50px;
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 8px;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.product-description {
    font-size: 14px;
    color: #888;
    white-space: pre-line;
    line-height: 1.6;
}
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

/* Responsive tasarım için media queries */

/* Tablet (768px - 1024px) */
@@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
    }

    .header-content {
        gap: 15px;
    }

    .info-section {
        gap: 20px;
    }

    main {
        padding: 30px 15px;
    }
    /* Sticky başlıq mobil responsive */
    .category-header {
        font-size: 24px;
        padding: 15px 0;
        margin: 30px 0 20px 0;
    }
}

/* Kiçik telefonlar (480px - 768px) */
@@media (max-width: 768px) {
    header {
        padding: 20px 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .logo-section {
        width: 100%;
    }

    .restaurant-name {
        font-size: 18px;
    }

    .info-section {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        font-size: 13px;
    }

    .info-item {
        flex-direction: row;
        gap: 8px;
    }

    .info-label {
        min-width: 60px;
        font-size: 11px;
    }

    nav {
        padding: 15px 10px;
        margin: 0;
    }

    .nav-list {
        gap: 15px;
        padding: 0 5px;
    }

    .nav-item {
        font-size: 14px;
        padding: 6px 0;
    }

    main {
        padding: 25px 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    /* Sticky başlıq tablet */
    .category-header {
        font-size: 20px;
        padding: 12px 0;
        margin: 25px 0 15px 0;
    }
}

/* Çox kiçik telefonlar (< 480px) */
@@media (max-width: 480px) {
    header {
        padding: 15px 12px;
    }

    .header-content {
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .restaurant-name {
        font-size: 16px;
    }

    .info-section {
        flex-direction: column;
        gap: 8px;
        font-size: 12px;
    }

    .info-label {
        font-size: 10px;
    }

    nav {
        padding: 12px 5px;
    }

    .nav-list {
        gap: 12px;
        padding: 0 3px;
    }

    .nav-item {
        font-size: 13px;
        padding: 5px 0;
        border-bottom-width: 2px;
    }

    main {
        padding: 20px 12px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Sticky başlıq kiçik telefonlar */
    .category-header {
        font-size: 18px;
        padding: 10px 0;
        margin: 20px 0 12px 0;
    }
}