
/* در cofeeStyle.css */


.coffee-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(254, 178, 26, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 20px;
    border: 2px solid rgba(254, 178, 26, 0.2);
}

.coffee-type-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(254, 178, 26, 0.1) 0%, rgba(254, 178, 26, 0.05) 100%);
    border: 2px solid #FEB21A;
    color: #FEB21A;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: 'Vazir', sans-serif;
    font-size: 1rem;
    font-weight: bold;
}

    .coffee-type-btn:hover {
        background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
        color: #000;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(254, 178, 26, 0.5);
    }

    .coffee-type-btn.active {
        background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
        color: #000;
        box-shadow: 0 5px 15px rgba(254, 178, 26, 0.6);
        transform: scale(1.05);
    }

@media (max-width: 768px) {
    .coffee-type-selector {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .coffee-type-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}


.admin-panel-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
    color: #000;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Vazir', sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(254, 178, 26, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .admin-panel-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(254, 178, 26, 0.6);
    }

@media (max-width: 768px) {
    .admin-panel-btn {
        top: 10px;
        left: 10px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #000000 100%);
    min-height: 100vh;
    padding: 20px;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(254, 178, 26, 0.1) 0%, rgba(254, 178, 26, 0.05) 100%);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 178, 26, 0.3);
}

    header h1 {
        font-size: 2.8rem;
        margin-bottom: 10px;
        background: linear-gradient(135deg, #FEB21A 0%, #FFC850 50%, #FEB21A 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 30px rgba(254, 178, 26, 0.5);
    }

    header p {
        font-size: 1.2rem;
        color: #FEB21A;
    }

.admin-panel-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
    color: #000;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Vazir', sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(254, 178, 26, 0.4);
}

    .admin-panel-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(254, 178, 26, 0.6);
    }

    .admin-panel-btn.hidden {
        display: none;
    }

.categories {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding: 10px 5px;
    scrollbar-width: thin;
    scrollbar-color: #FEB21A #1a1a1a;
}

    .categories::-webkit-scrollbar {
        height: 8px;
    }

    .categories::-webkit-scrollbar-track {
        background: #1a1a1a;
        border-radius: 10px;
    }

    .categories::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #FEB21A 0%, #FFC850 100%);
        border-radius: 10px;
    }

.category-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(254, 178, 26, 0.1) 0%, rgba(254, 178, 26, 0.05) 100%);
    border: 2px solid #FEB21A;
    color: #FEB21A;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    white-space: nowrap;
    font-family: 'Vazir', sans-serif;
    font-size: 1rem;
    font-weight: bold;
}

    .category-btn:hover {
        background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
        color: #000;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(254, 178, 26, 0.5);
    }

    .category-btn.active {
        background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
        color: #000;
        box-shadow: 0 5px 15px rgba(254, 178, 26, 0.6);
    }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.menu-item {
    background: linear-gradient(135deg, rgba(254, 178, 26, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(254, 178, 26, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

    .menu-item:hover {
        transform: translateY(-3px);
        border-color: #FEB21A;
        box-shadow: 0 5px 15px rgba(254, 178, 26, 0.3);
    }

.item-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    position: relative;
}

    .item-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
        z-index: 1;
    }

    .item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.menu-item:hover .item-image img {
    transform: scale(1.1);
}

.item-info {
    padding: 20px;
}

    .item-info h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        color: #FEB21A;
    }

    .item-info p {
        color: #ddd;
        margin-bottom: 15px;
        font-size: 0.95rem;
        line-height: 1.6;
    }

.item-price {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    align-items: flex-start;
    padding-top: 50px;
}

    .modal.active {
        display: flex;
        justify-content: center;
    }

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 25px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    position: relative;
    border: 2px solid #FEB21A;
    animation: modalSlide 0.4s ease;
    box-shadow: 0 0 50px rgba(254, 178, 26, 0.5);
    margin: auto 0;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #FEB21A;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    border: 2px solid #FEB21A;
    z-index: 10;
}

    .close-btn:hover {
        background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
        color: #000;
        transform: rotate(90deg);
    }

.modal-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    overflow: hidden;
    border: 2px solid rgba(254, 178, 26, 0.3);
}

    .modal-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.modal-details h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-details .description {
    color: #ddd;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.modal-details .price {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-details .ingredients {
    background: linear-gradient(135deg, rgba(254, 178, 26, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(254, 178, 26, 0.3);
}

    .modal-details .ingredients h4 {
        color: #FEB21A;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }

    .modal-details .ingredients ul {
        list-style: none;
        padding-right: 20px;
    }

    .modal-details .ingredients li {
        color: #ddd;
        margin-bottom: 10px;
        padding-right: 20px;
        position: relative;
        font-size: 1.05rem;
    }

        .modal-details .ingredients li:before {
            content: "◆";
            position: absolute;
            right: 0;
            color: #FEB21A;
        }

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel-btn {
        top: 10px;
        left: 10px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .modal {
        padding: 10px;
        padding-top: 60px;
        align-items: flex-start;
    }

    .modal-content {
        padding: 20px;
        padding-top: 60px;
        margin: 0;
        max-height: none;
    }

    .modal-image {
        height: 200px;
    }

    .modal-details h2 {
        font-size: 1.5rem;
    }

    .modal-details .price {
        font-size: 1.6rem;
    }

    .modal-details .description {
        font-size: 1rem;
    }

    .categories {
        justify-content: flex-start;
    }

    .close-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 15px;
        left: 15px;
        background: rgba(0, 0, 0, 0.95);
    }

    /* Pagination Styles */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 40px;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    .pagination-btn,
    .pagination-ellipsis {
        padding: 10px 14px;
        border: 2px solid #8B7355;
        background-color: #fff;
        color: #8B7355;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
    }

        .pagination-btn:hover {
            background-color: #8B7355;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
        }

        .pagination-btn.active {
            background-color: #8B7355;
            color: white;
            border-color: #8B7355;
            cursor: default;
        }

        .pagination-btn.disabled {
            background-color: #f5f5f5;
            color: #ccc;
            border-color: #ddd;
            cursor: not-allowed;
        }

            .pagination-btn.disabled:hover {
                background-color: #f5f5f5;
                color: #ccc;
                transform: none;
                box-shadow: none;
            }

    .pagination-ellipsis {
        border: none;
        cursor: default;
        padding: 10px 4px;
        color: #8B7355;
        font-weight: bold;
    }

        .pagination-ellipsis:hover {
            background-color: transparent;
            color: #8B7355;
            transform: none;
        }

    /* ریسپانسیو برای موبایل */
    @media (max-width: 768px) {
        .pagination {
            gap: 6px;
        }

        .pagination-btn,
        .pagination-ellipsis {
            padding: 8px 10px;
            font-size: 12px;
            min-width: 36px;
        }

        .pagination-btn {
            border-width: 1px;
        }
    }
}

/* Pagination Styles - با رنگ طلایی کافه */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, rgba(254, 178, 26, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 25px;
    border: 2px solid rgba(254, 178, 26, 0.2);
    backdrop-filter: blur(10px);
}

.pagination-btn,
.pagination-ellipsis {
    padding: 12px 18px;
    border: 2px solid #FEB21A;
    background: linear-gradient(135deg, rgba(254, 178, 26, 0.1) 0%, rgba(254, 178, 26, 0.05) 100%);
    color: #FEB21A;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    font-family: 'Vazir', sans-serif;
    white-space: nowrap;
}

    .pagination-btn:hover {
        background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
        color: #000;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(254, 178, 26, 0.5);
        border-color: #FFC850;
    }

    .pagination-btn.active {
        background: linear-gradient(135deg, #FEB21A 0%, #FFC850 100%);
        color: #000;
        border-color: #FFC850;
        box-shadow: 0 5px 15px rgba(254, 178, 26, 0.6);
        transform: scale(1.08);
    }

    .pagination-btn.disabled {
        background: linear-gradient(135deg, rgba(254, 178, 26, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
        color: #7a7a7a;
        border-color: rgba(254, 178, 26, 0.2);
        cursor: not-allowed;
    }

        .pagination-btn.disabled:hover {
            background: linear-gradient(135deg, rgba(254, 178, 26, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
            color: #7a7a7a;
            transform: none;
            box-shadow: none;
            border-color: rgba(254, 178, 26, 0.2);
        }

.pagination-ellipsis {
    border: none;
    cursor: default;
    padding: 12px 8px;
    color: #FEB21A;
    font-weight: bold;
    background: transparent;
}

    .pagination-ellipsis:hover {
        background-color: transparent;
        color: #FEB21A;
        transform: none;
        box-shadow: none;
        border-color: transparent;
    }

/* Responsive برای تبلت */
@media (max-width: 1024px) {
    .pagination {
        gap: 10px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .pagination-btn,
    .pagination-ellipsis {
        padding: 11px 16px;
        font-size: 0.95rem;
        min-width: 42px;
    }
}

/* Responsive برای موبایل */
@media (max-width: 768px) {
    .pagination {
        gap: 8px;
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 15px;
    }

    .pagination-btn,
    .pagination-ellipsis {
        padding: 10px 14px;
        font-size: 0.9rem;
        min-width: 38px;
        border-width: 1.5px;
    }

        .pagination-btn.active {
            transform: scale(1.05);
        }
}