body {
    background-color: #f2f2f2;
}

.menu-layout {
    display: flex;
    gap: 30px;
    padding: 40px;
    min-height: calc(100vh - 100px);
}

/* Left side - Menu Categories & Items */
.menu {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.menu-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.menu-category {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.menu-category:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-category:hover img {
    opacity: 1;
}

.menu-category.active {
    border: none;
    background-color: var(--primary-color);
}

.menu-category.active .menu-category-title {
    color: #ffffff;
}

.menu-category.active .text-gray {
    color: #ffebcc;
}

.menu-category.active img {
    opacity: 1;
}

.menu-category img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.menu-category-info {
    flex: 1;
}

.menu-category-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #000;
}

/* Lunch Menu Items */
.lunch-menu {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lunch-menu-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
}

.lunch-menu-description {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-bottom: 30px;
}

.lunch-menu-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.lunch-menu-item {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lunch-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12);
}

.lunch-menu-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.lunch-menu-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.pizza-description {
    font-size: 12px;
    color: #999;
    margin: 4px 0 0 0;
}

.lunch-menu-item .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.add-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-btn:hover {
    background-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0px 4px 10px rgba(255, 136, 0, 0.3);
}

/* Right side - Invoice */
.invoice {
    flex: 1;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 120px;
    height: fit-content;
    max-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
}

.invoice-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    text-align: center;
}

.invoice-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 200px;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.invoice-item-content {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.invoice-item-content img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.invoice-item-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0 0 8px 0;
}

.invoice-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 4px 8px;
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    padding: 0 4px;
}

.qty-btn:hover {
    color: var(--primary-color);
}

.invoice-item-quantity span {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.invoice-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.invoice-summary {
    border-top: 2px solid #f0f0f0;
    padding-top: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.summary-row.total-row {
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    font-weight: 700;
    color: #000;
    font-size: 16px;
}

.summary-row .amount {
    font-weight: 700;
    color: #000;
}

.summary-row.total-row .amount {
    color: var(--primary-color);
    font-size: 18px;
}

.invoice-checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invoice-checkout-btn:hover {
    background-color: var(--main-color);
    box-shadow: 0px 4px 12px rgba(255, 136, 0, 0.4);
    transform: translateY(-2px);
}

/* payment modal */
.modal {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 540px;
    max-width: 90%;
    }
    
.modal-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.payment-form {
   
    margin-top: 20px;
    
}
.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;   
}

.form-group input {
    padding: 10px;
    border: 1px solid #acacac;
    border-radius: 5px;
    font-size: 18px;

}

.payment-note {
    font-size: 14px;
    color: #acacac;
    margin-top: 15px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.submit-btn:hover {
    background-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(255, 136, 0, 0.4);
}

/* success message */
.success-modal {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.success-modal .modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    
}

.checkmark {
    font-size: 40px;
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    /* Animation setup */
    animation: pop 0.6s ease forwards;
  }

  @keyframes pop {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    50% {
      transform: scale(1.2);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
/* ===== RESPONSIVE - Rezervimet (max-width: 768px) ===== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
        min-height: initial;
    }

    .navbar-menu {
        gap: 15px;
    }

    .container {
        margin: 15px 10px;
        padding: 20px 15px;
    }

    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .rezervim-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .fshi-btn {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .navbar-logo a {
        font-size: 1.4rem;
    }

    .navbar-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .container {
        margin: 10px 5px;
        padding: 15px 10px;
    }

    input, button {
        font-size: 14px;
    }

    button {
        padding: 10px;
    }
}